feat(ui,judgement,system): unify nav, surface built-in guards, readiness and decision reasoning
This commit is contained in:
34 files changed
+548
-103
No files matched your search
@@ -34,17 +34,17 @@ import type { OrgEvent } from "./org";
|
||||
*/
|
||||
const allAreas = [
|
||||
{ title: "Execution identities", to: "/org/agents" },
|
||||
{ title: "Connections", to: "/org/connections" },
|
||||
{ title: "Extensions", to: "/settings/extensions" },
|
||||
{ title: "Workspaces", to: "/org/workspaces" },
|
||||
{ title: "Models", to: "/org/models" },
|
||||
{ title: "Schedules and playbooks", to: "/org/schedules" },
|
||||
{ title: "Models", to: "/settings/models" },
|
||||
{ title: "Triggers", to: "/events?tab=triggers" },
|
||||
{ title: "Members and access", to: "/org/members" },
|
||||
];
|
||||
const orgStore = useOrgStore();
|
||||
const session = useSessionStore();
|
||||
const areas = computed(() => {
|
||||
const hidden = hiddenPaths(session.sections);
|
||||
return allAreas.filter((area) => !hidden.includes(area.to));
|
||||
return allAreas.filter((area) => !hidden.includes(area.to.split("?")[0]!));
|
||||
});
|
||||
const org = computed(() => orgStore.org);
|
||||
// The single binary reports a revision with every org and serves the rename
|
||||
|
||||
@@ -20,7 +20,7 @@ const error = ref("");
|
||||
|
||||
// Policies and models act on the caller's own org server-side, so an instance
|
||||
// admin looking at another org is sent back rather than editing the wrong one.
|
||||
const OWN_ORG_ONLY = ["/org/audit", "/org/policies", "/org/models", "/org/connections", "/org/repositories", "/org/usage"];
|
||||
const OWN_ORG_ONLY = ["/org/audit", "/org/policies", "/org/repositories", "/org/usage"];
|
||||
const away = computed(() => !!org.value && org.value.id !== homeOrg.value);
|
||||
const route = useRoute();
|
||||
const router = useRouter();
|
||||
|
||||
Reference in new issue
Block a user