Many Changes in Navigation, Shortcuts, Search and Data Pulling directly from Supabase
This commit is contained in:
@@ -20,6 +20,13 @@ defineShortcuts({
|
||||
})
|
||||
|
||||
const actions = [
|
||||
|
||||
{
|
||||
id: 'new-task',
|
||||
label: 'Aufgabe hinzufügen',
|
||||
icon: 'i-heroicons-rectangle-stack',
|
||||
to: "/tasks/create" ,
|
||||
},
|
||||
{
|
||||
id: 'new-customer',
|
||||
label: 'Kunde hinzufügen',
|
||||
@@ -39,12 +46,11 @@ const actions = [
|
||||
to: "/contacts/create" ,
|
||||
},
|
||||
{
|
||||
id: 'new-task',
|
||||
label: 'Aufgabe hinzufügen',
|
||||
icon: 'i-heroicons-rectangle-stack',
|
||||
to: "/tasks/create" ,
|
||||
},
|
||||
{
|
||||
id: 'new-project',
|
||||
label: 'Projekt hinzufügen',
|
||||
icon: 'i-heroicons-clipboard-document-check',
|
||||
to: "/projects/create" ,
|
||||
},{
|
||||
id: 'new-plant',
|
||||
label: 'Objekt hinzufügen',
|
||||
icon: 'i-heroicons-clipboard-document',
|
||||
@@ -87,6 +93,10 @@ const groups = computed(() =>
|
||||
key: "plants",
|
||||
label: "Objekte",
|
||||
commands: dataStore.plants.map(item => { return {id: item.id, label: item.name, to: `/plants/show/${item.id}`}})
|
||||
},{
|
||||
key: "projects",
|
||||
label: "Projekte",
|
||||
commands: dataStore.projects.map(item => { return {id: item.id, label: item.name, to: `/projects/show/${item.id}`}})
|
||||
}
|
||||
].filter(Boolean))
|
||||
|
||||
|
||||
@@ -46,10 +46,21 @@ const categories = computed(() => [{
|
||||
title: 'Navigation',
|
||||
items: [
|
||||
{ shortcuts: ['G', 'H'], name: 'Gehe zu Dashboard' },
|
||||
{ shortcuts: ['G', 'A'], name: 'Gehe zu Aufgaben' },/*
|
||||
{ shortcuts: ['G', 'A'], name: 'Gehe zu Aufgaben' },
|
||||
{ shortcuts: ['G', 'D'], name: 'Gehe zu Dokumente' },
|
||||
{ shortcuts: ['G', 'K'], name: 'Gehe zu Kunden' },
|
||||
{ shortcuts: ['G', 'L'], name: 'Gehe zu Lieferanten' },
|
||||
{ shortcuts: ['G', 'P'], name: 'Gehe zu Projekte' },
|
||||
{ shortcuts: ['G', 'V'], name: 'Gehe zu Verträge' },
|
||||
{ shortcuts: ['G', 'O'], name: 'Gehe zu Objekte' },/*
|
||||
{ shortcuts: ['G', 'I'], name: 'Go to Inbox' },
|
||||
{ shortcuts: ['G', 'U'], name: 'Go to Users' },*/
|
||||
{ shortcuts: ['G', 'S'], name: 'Gehe zu Einstellungen' }
|
||||
{ shortcuts: ['G', 'S'], name: 'Gehe zu Einstellungen' },
|
||||
{ shortcuts: ['↑'], name: 'Vorheriger Eintrag' },
|
||||
{ shortcuts: ['↓'], name: 'Nächster Eintrag' },
|
||||
{ shortcuts: ['↵'], name: 'Eintrag Öffnen' },
|
||||
{ shortcuts: ['←'], name: 'Tab nach links wechseln' },
|
||||
{ shortcuts: ['→'], name: 'Tab nach rechts wechseln' },
|
||||
]
|
||||
}, /*{
|
||||
title: 'Inbox',
|
||||
|
||||
Reference in New Issue
Block a user