Refresh HiveGrid Cloud reference snapshot

This commit is contained in:
david committed 2026-08-03 15:31:14 +02:00
1 parent 5e99e14772
commit 7f88026f79
5955 files changed
+1177325 -188362

No files matched your search

@@ -48,7 +48,7 @@ export default function ProfileButton({ user, layout, items }: Props) {
onClick={() => setOpened(!opened)}
data-ui-id={UI_ACTION_IDS.profile}
className={clsx(
"bg-background text-muted-foreground hover:bg-secondary border-border relative inline-flex items-center rounded-full border font-medium shadow-inner focus-visible:z-10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
"bg-background text-muted-foreground hover:bg-secondary border-border focus-visible:ring-ring relative inline-flex items-center rounded-full border font-medium shadow-inner focus-visible:z-10 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",
!user?.avatar && "p-2",
user?.avatar && "p-1"
)}
@@ -58,7 +58,9 @@ export default function ProfileButton({ user, layout, items }: Props) {
>
{(() => {
if (user?.avatar) {
return <img className="inline-flex h-8 w-8 items-center justify-center rounded-full bg-slate-800" src={user.avatar} alt={t("models.user.avatarAlt")} />;
return (
<img className="inline-flex h-8 w-8 items-center justify-center rounded-full bg-slate-800" src={user.avatar} alt={t("models.user.avatarAlt")} />
);
} else {
return (
<span className="inline-block h-5 w-5 overflow-hidden rounded-full">
@@ -81,7 +83,7 @@ export default function ProfileButton({ user, layout, items }: Props) {
leaveTo="transform opacity-0 scale-95"
>
<div className="divide-border border-border absolute right-0 z-40 mt-2 w-64 origin-top-right divide-y overflow-hidden rounded-sm border shadow-lg focus:outline-hidden">
<div className="shadow-2xs bg-background rounded-sm py-1" role="menu" aria-orientation="vertical" aria-labelledby="user-menu">
<div className="bg-background rounded-sm py-1 shadow-2xs" role="menu" aria-orientation="vertical" aria-labelledby="user-menu">
<div className="text-muted-foreground group flex items-center truncate px-4 py-2 text-sm transition duration-150 ease-in-out" role="menuitem">
<div className="flex flex-col space-y-1 truncate">
<div className="font-medium">{UserDisplayUtils.profileName(user)}</div>
@@ -106,7 +108,7 @@ export default function ProfileButton({ user, layout, items }: Props) {
className="hover:bg-secondary block px-4 py-2 text-sm transition duration-150 ease-in-out"
role="menuitem"
onClick={closeDropdownUser}
to={tenantPath("settings/members")}
to={tenantPath("settings/team")}
>
{t("app.navbar.members")}
</Link>
@@ -117,7 +119,7 @@ export default function ProfileButton({ user, layout, items }: Props) {
className="hover:bg-secondary block px-4 py-2 text-sm transition duration-150 ease-in-out"
role="menuitem"
onClick={closeDropdownUser}
to={tenantPath("settings/subscription")}
to={tenantPath("settings/billing")}
>
{t("app.navbar.subscription")}
</Link>
@@ -125,10 +127,11 @@ export default function ProfileButton({ user, layout, items }: Props) {
{getUserHasPermission(appOrAdminData, "app.settings.account.view") && (
<Link
className="hover:bg-secondary block px-4 py-2 text-sm transition duration-150 ease-in-out"
className="hover:bg-secondary block px-4 py-3 text-sm transition duration-150 ease-in-out"
data-ui-id="ui.profile.menu.tenant"
role="menuitem"
onClick={closeDropdownUser}
to={tenantPath("settings/account")}
to={tenantPath("settings/workspace")}
>
{t("app.navbar.tenant")}
</Link>
@@ -139,7 +142,7 @@ export default function ProfileButton({ user, layout, items }: Props) {
className="block px-4 py-2 text-sm transition duration-150 ease-in-out hover:bg-secondary"
role="menuitem"
onClick={closeDropdownUser}
to={tenantPath("settings/roles-and-permissions")}
to={tenantPath("settings/team/roles")}
>
{t("models.role.plural")}
</Link>
@@ -149,7 +152,7 @@ export default function ProfileButton({ user, layout, items }: Props) {
className="block px-4 py-2 text-sm transition duration-150 ease-in-out hover:bg-secondary"
role="menuitem"
onClick={closeDropdownUser}
to={tenantPath("settings/groups")}
to={tenantPath("settings/team/groups")}
>
{t("models.group.plural")}
</Link> */}
@@ -159,7 +162,7 @@ export default function ProfileButton({ user, layout, items }: Props) {
className="hover:bg-secondary block px-4 py-2 text-sm transition duration-150 ease-in-out"
role="menuitem"
onClick={closeDropdownUser}
to={tenantPath("settings/api")}
to={tenantPath("api")}
>
{t("models.apiKey.plural")}
</Link>
@@ -170,7 +173,7 @@ export default function ProfileButton({ user, layout, items }: Props) {
className="hover:bg-secondary block px-4 py-2 text-sm transition duration-150 ease-in-out"
role="menuitem"
onClick={closeDropdownUser}
to={tenantPath("settings/logs")}
to={tenantPath("settings/compliance")}
>
{t("models.log.plural")}
</Link>
@@ -209,12 +212,12 @@ export default function ProfileButton({ user, layout, items }: Props) {
{t("app.navbar.profile")}
</Link>
)}
{defaultTenantPath("settings/subscription") && (
{defaultTenantPath("settings/billing") && (
<Link
className="hover:bg-secondary block px-4 py-2 text-sm transition duration-150 ease-in-out"
role="menuitem"
onClick={closeDropdownUser}
to={defaultTenantPath("settings/subscription")!}
to={defaultTenantPath("settings/billing")!}
>
{t("app.navbar.subscription")}
</Link>