Enhance navigation structure by adding new notification sections and corresponding routes; create placeholder components for dashboard, delivery, log audit, preferences, queue scheduler, templates, and triggers & rules.

This commit is contained in:
Haqeem Solehan 2025-05-30 10:44:44 +08:00
parent 545f5c6c93
commit b181f99237
8 changed files with 184 additions and 80 deletions

View File

@ -1,100 +1,155 @@
export default [ export default [
{ {
"header": "Utama", header: "Utama",
"description": "", description: "",
"child": [ child: [
{ {
"title": "Dashboard", title: "Dashboard",
"path": "/dashboard", path: "/dashboard",
"icon": "ic:outline-dashboard", icon: "ic:outline-dashboard",
"child": [], child: [],
"meta": {} meta: {},
}, },
{ {
"title": "Notes", title: "Notes",
"path": "/notes", path: "/notes",
"icon": "", icon: "",
"child": [] child: [],
}, },
{ {
"title": "Metabase", title: "Metabase",
"path": "/metabase", path: "/metabase",
"icon": "", icon: "",
"child": [] child: [],
} },
], ],
"meta": {} meta: {},
}, },
{ {
"header": "Pentadbiran", header: "Notification",
"description": "Urus aplikasi anda", description: "",
"child": [ child: [
{ {
"title": "Konfigurasi", title: "Dashboard",
"icon": "ic:outline-settings", path: "/notification/dashboard",
"child": [ icon: "ic:outline-dashboard",
{ child: [],
"title": "Persekitaran", meta: {},
"path": "/devtool/config/environment"
},
{
"title": "Site Settings",
"path": "/devtool/config/site-settings"
}
]
}, },
{ {
"title": "Penyunting Menu", title: "Templates",
"icon": "ci:menu-alt-03", path: "/notification/templates",
"path": "/devtool/menu-editor", icon: "ic:outline-email",
"child": [] child: [],
meta: {},
}, },
{ {
"title": "Urus Pengguna", title: "Triggers & Rules",
"path": "/devtool/user-management", path: "/notification/triggers-rule",
"icon": "ph:user-circle-gear", icon: "ic:outline-rule",
"child": [ child: [],
{ meta: {},
"title": "Senarai Pengguna",
"path": "/devtool/user-management/user",
"icon": "",
"child": []
},
{
"title": "Senarai Peranan",
"path": "/devtool/user-management/role",
"icon": "",
"child": []
}
]
}, },
{ {
"title": "Kandungan", title: "Queue & Scheduler",
"icon": "mdi:pencil-ruler", path: "/notification/queue-scheduler",
"child": [ icon: "ic:outline-queue",
{ child: [],
"title": "Penyunting", meta: {},
"path": "/devtool/content-editor"
},
{
"title": "Templat",
"path": "/devtool/content-editor/template"
}
]
}, },
{ {
"title": "Penyunting API", title: "Delivery Engine",
"path": "/devtool/api-editor", path: "/notification/delivery",
"icon": "material-symbols:api-rounded", icon: "ic:outline-mail",
"child": [] child: [],
} meta: {},
},
{
title: "User Preferences",
path: "/notification/preferences",
icon: "ic:outline-settings",
child: [],
meta: {},
},
{
title: "Log & Audit Trail",
path: "/notification/log-audit",
icon: "ic:outline-history",
child: [],
meta: {},
},
], ],
"meta": { meta: {},
"auth": { },
"role": [ {
"Developer" header: "Pentadbiran",
] description: "Urus aplikasi anda",
} child: [
} {
} title: "Konfigurasi",
] icon: "ic:outline-settings",
child: [
{
title: "Persekitaran",
path: "/devtool/config/environment",
},
{
title: "Site Settings",
path: "/devtool/config/site-settings",
},
],
},
{
title: "Penyunting Menu",
icon: "ci:menu-alt-03",
path: "/devtool/menu-editor",
child: [],
},
{
title: "Urus Pengguna",
path: "/devtool/user-management",
icon: "ph:user-circle-gear",
child: [
{
title: "Senarai Pengguna",
path: "/devtool/user-management/user",
icon: "",
child: [],
},
{
title: "Senarai Peranan",
path: "/devtool/user-management/role",
icon: "",
child: [],
},
],
},
{
title: "Kandungan",
icon: "mdi:pencil-ruler",
child: [
{
title: "Penyunting",
path: "/devtool/content-editor",
},
{
title: "Templat",
path: "/devtool/content-editor/template",
},
],
},
{
title: "Penyunting API",
path: "/devtool/api-editor",
icon: "material-symbols:api-rounded",
child: [],
},
],
meta: {
auth: {
role: ["Developer"],
},
},
},
];

View File

@ -0,0 +1,7 @@
<template>
<div></div>
</template>
<script setup></script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,7 @@
<template>
<div></div>
</template>
<script setup></script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,7 @@
<template>
<div></div>
</template>
<script setup></script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,7 @@
<template>
<div></div>
</template>
<script setup></script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,7 @@
<template>
<div></div>
</template>
<script setup></script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,7 @@
<template>
<div></div>
</template>
<script setup></script>
<style lang="scss" scoped></style>

View File

@ -0,0 +1,7 @@
<template>
<div></div>
</template>
<script setup></script>
<style lang="scss" scoped></style>