Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+1
-14
@@ -10,7 +10,6 @@ import { getDocCommands } from "~/utils/services/docsService";
|
||||
import { appPath } from "~/utils/app/CanonicalUrlUtils";
|
||||
import { absoluteAdminPath, absoluteAppRootPath, isAbsoluteHttpUrl, type PublicDomainRoutingConfig } from "~/utils/app/CrossHostUrls";
|
||||
import { filterCommandActions } from "~/services/search/commandSearch";
|
||||
import { translateLabel } from "~/utils/i18n/translateLabel";
|
||||
|
||||
// Registry marker: services/command-registry paths are app-relative for package verification.
|
||||
export type CommandRegistryLayout = "app" | "admin" | "docs";
|
||||
@@ -70,7 +69,7 @@ function getUnfilteredCommandRegistryActions(context: CommandRegistryContext): S
|
||||
return getDocsCommandActions(context);
|
||||
}
|
||||
|
||||
function getAppCommandActions({ t, i18n, navigate, submitLogout, appData, rootData }: CommandRegistryContext): ScopedCommandAction[] {
|
||||
function getAppCommandActions({ t, navigate, submitLogout, appData, rootData }: CommandRegistryContext): ScopedCommandAction[] {
|
||||
if (!appData || !rootData) {
|
||||
return [];
|
||||
}
|
||||
@@ -89,18 +88,6 @@ function getAppCommandActions({ t, i18n, navigate, submitLogout, appData, rootDa
|
||||
},
|
||||
];
|
||||
|
||||
appData.entities
|
||||
.filter((entity) => entity.showInSidebar)
|
||||
.forEach((entity) => {
|
||||
const permission = typeof entity.name === "string" && entity.name.trim() ? `entity.${entity.name}.view` : undefined;
|
||||
actions.push({
|
||||
id: "entity-" + entity.name,
|
||||
name: translateLabel(t, i18n, entity.titlePlural),
|
||||
scope: tenantScope({ permission }),
|
||||
perform: () => navigate(tenantPath(entity.slug)),
|
||||
});
|
||||
});
|
||||
|
||||
actions.push({
|
||||
id: "profile",
|
||||
shortcut: [],
|
||||
|
||||
Reference in new issue
Block a user