This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-gateway.git
The following commit(s) were added to refs/heads/master by this push:
new aa1d6ab refactor(nav): reorder the sidebar rail
aa1d6ab is described below
commit aa1d6ab4e21d31d594b527296ae7077d5ce407c1
Author: Yang Luo <[email protected]>
AuthorDate: Fri Sep 4 11:58:48 2026 +0800
refactor(nav): reorder the sidebar rail
---
web/src/nav.ts | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/web/src/nav.ts b/web/src/nav.ts
index 7a9837c..c13fed3 100644
--- a/web/src/nav.ts
+++ b/web/src/nav.ts
@@ -57,10 +57,13 @@ export interface NavGroup {
* not need the tree rebuilt.
*/
export const navGroups: NavGroup[] = [
+ // The setup pages come first — agents, the models behind them, and the gates
+ // they pass through — then what agents ran and what it cost, settings last.
{key: "/", label: "agent:Agents", icon: Bot, path: "/"},
// The table of installations is the home screen's own advanced view, linked
// from it rather than competing with it in the rail.
{key: "/agents", label: "agent:Advanced view", icon: Table2, path:
"/agents", adminOnly: true, hidden: true},
+ {key: "/providers", label: "provider:Providers", icon: Plug, path:
"/providers"},
{
key: "/agent-configs",
label: "agentConfig:Skills, MCP & Prompts",
@@ -68,6 +71,8 @@ export const navGroups: NavGroup[] = [
path: "/agent-configs",
adminOnly: true,
},
+ {key: "/authenticity", label: "audit:Authenticity", icon: ShieldCheck, path:
"/authenticity", adminOnly: true},
+ {key: "/permissions", label: "agent:Permissions", icon: ShieldHalf, path:
"/permissions", adminOnly: true},
{
key: "/agent-sessions",
label: "agent:Agent Sessions",
@@ -76,9 +81,6 @@ export const navGroups: NavGroup[] = [
adminOnly: true,
},
{key: "/agent-records", label: "agent:Agent Records", icon: FileSearch,
path: "/agent-records", adminOnly: true},
- {key: "/permissions", label: "agent:Permissions", icon: ShieldHalf, path:
"/permissions", adminOnly: true},
- {key: "/providers", label: "provider:Providers", icon: Plug, path:
"/providers"},
- {key: "/authenticity", label: "audit:Authenticity", icon: ShieldCheck, path:
"/authenticity", adminOnly: true},
{key: "/llm-records", label: "llm:LLM Records", icon: Logs, path:
"/llm-records", adminOnly: true},
{key: "/usage", label: "usage:Usage", icon: ChartColumn, path: "/usage",
adminOnly: true},
{key: "/pricing", label: "usage:Model pricing", icon: CircleDollarSign,
path: "/pricing", adminOnly: true},
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]