add categories customization

This commit is contained in:
Simon Vieille
2025-04-13 15:17:56 +02:00
parent 63b32ea40f
commit 89ca510897
5 changed files with 354 additions and 216 deletions
+19
View File
@@ -196,6 +196,24 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</TableValue>
</TableRow>
<TableRow>
<TableLabel
label="Customize application categories"
:top="true"
>
</TableLabel>
<TableValue>
<FormAppCategory
:langs="config['langs']"
:categories-custom="config['categories-custom']"
:apps-categories-custom="config['apps-categories-custom']"
@update:categories-custom="(value) => (config['categories-custom'] = value)"
@update:apps-categories-custom="(value) => (config['apps-categories-custom'] = value)"
/>
</TableValue>
</TableRow>
<TableRow>
<TableLabel
label="Customize sorting"
@@ -565,6 +583,7 @@ import FormAppPicker from '../components/settings/form/FormAppPicker'
import FormAppSort from '../components/settings/form/FormAppSort'
import FormCatSort from '../components/settings/form/FormCatSort'
import FormDisplayPicker from '../components/settings/form/FormDisplayPicker'
import FormAppCategory from '../components/settings/form/FormAppCategory'
const menu = [
{ label: 'Global', section: 'global' },