mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
chore: rm some FIXME
This commit is contained in:
parent
d549d3fafc
commit
75925a203b
10 changed files with 0 additions and 12 deletions
|
@ -12,7 +12,6 @@ defineSlots<{
|
|||
<template>
|
||||
<div class="y-skeleton-wrapper">
|
||||
<div class="visually-hidden">
|
||||
<!-- FIXME add `loading` translation -->
|
||||
{{ $t('loading') }}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -106,7 +106,6 @@ const modalComponent = computed(() => {
|
|||
class="ms-auto"
|
||||
>
|
||||
<template #button-content>
|
||||
<!-- FIXME i18n `quick_add` -->
|
||||
<YIcon iname="plus" /> {{ t('quick_add') }}
|
||||
</template>
|
||||
<template v-for="(item, i) in quickAddItems" :key="i">
|
||||
|
|
|
@ -20,7 +20,6 @@ const request = reactive<{
|
|||
subStatus?: 'expired' | 'failed'
|
||||
}>({
|
||||
status: 'pending',
|
||||
// FIXME translate
|
||||
humanRoute: 'reconnecting',
|
||||
})
|
||||
|
||||
|
|
|
@ -234,7 +234,6 @@ export function formatOptions<MV extends Obj>(
|
|||
fields: FormFieldDict<MV>
|
||||
form: Ref<MV>
|
||||
} {
|
||||
// FIXME handle optional for app install ? or is already handled in core bookworm?
|
||||
const form = ref(
|
||||
Object.fromEntries(
|
||||
options
|
||||
|
@ -332,7 +331,6 @@ function useExpression(
|
|||
// FIXME normalize expression in core? ('', 'false', 'true') and rm next 2 lines
|
||||
if (!expression || expression === 'true') return true
|
||||
if (expression === 'false') return false
|
||||
// FIXME remove asUnreffed and manage ref type?
|
||||
return useEvaluation(expression, form)
|
||||
}
|
||||
return true
|
||||
|
|
|
@ -27,7 +27,6 @@ type BaseDisplayItemProps = {
|
|||
}
|
||||
|
||||
export type ButtonItemProps = BaseDisplayItemProps & {
|
||||
// FIXME compute enabled JSExpression
|
||||
id: string
|
||||
enabled?: boolean | ComputedRef<boolean>
|
||||
icon?: string
|
||||
|
|
|
@ -42,7 +42,6 @@ const form = ref({
|
|||
confirmation: '',
|
||||
})
|
||||
const fields = {
|
||||
// FIXME satisfies FormFieldDict but not for CardForm?
|
||||
alert: {
|
||||
component: 'ReadOnlyAlertItem',
|
||||
cProps: { label: t('postinstall.user.first_user_help'), type: 'info' },
|
||||
|
@ -119,7 +118,6 @@ async function performPostInstall(force = false) {
|
|||
{ removeEmpty: true },
|
||||
)
|
||||
|
||||
// FIXME does the api will throw an error for bad passwords ?
|
||||
api
|
||||
.post({
|
||||
uri: 'postinstall' + (force ? '?force_diskspace' : ''),
|
||||
|
|
|
@ -86,7 +86,6 @@ const CheckboxList = createReusableTemplate<{
|
|||
:key="partName"
|
||||
class="d-flex justify-content-between align-items-center pe-0"
|
||||
>
|
||||
<!-- FIXME use FormField or BFormGroup to get labels? -->
|
||||
<div class="me-2">
|
||||
<h5 v-if="'id' in item">
|
||||
<span class="fw-bold me-1">{{ item.name }}</span>
|
||||
|
|
|
@ -33,7 +33,6 @@ const [search, filteredTree] = useSearch(domainsTree, (s, node) =>
|
|||
:toggle-text="$t('domain.toggle_subdomains')"
|
||||
class="mb-5"
|
||||
>
|
||||
<!-- FIXME slot typing not appearing? -->
|
||||
<template #default="{ data, parent }">
|
||||
<div class="w-100 d-flex justify-content-between align-items-center">
|
||||
<h5 class="me-3">
|
||||
|
|
|
@ -143,7 +143,6 @@ async function deleteGroup(name: string) {
|
|||
humanKey: { key: 'groups.delete', name },
|
||||
})
|
||||
.then(() => {
|
||||
// FIXME primaryGroups as ref to override it ?
|
||||
primaryGroups.value = primaryGroups.value.filter(
|
||||
(group) => group.name !== name,
|
||||
)
|
||||
|
|
|
@ -26,7 +26,6 @@ const menu = [
|
|||
]
|
||||
</script>
|
||||
|
||||
<!-- FIXME make a component shared with HomeView.vue ? -->
|
||||
<template>
|
||||
<BListGroup class="menu-list">
|
||||
<BListGroupItem
|
||||
|
|
Loading…
Add table
Reference in a new issue