diff --git a/messages/en-US.json b/messages/en-US.json index d58ad0146..09c440c2e 100644 --- a/messages/en-US.json +++ b/messages/en-US.json @@ -522,8 +522,8 @@ "pendingSitesBannerDescription": "Sites that connect using a provisioning key appear here for review.", "pendingSitesBannerButtonText": "Learn More", "apiKeysSettings": "{apiKeyName} Settings", - "userTitle": "Manage All Users", - "userDescription": "View and manage all users in the system", + "userTitle": "Manage Users", + "userDescription": "View and manage all users in this instance", "userAbount": "About User Management", "userAbountDescription": "This table displays all base user objects in the system. Each user may belong to multiple organizations. Removing a user from an organization does not delete their base user object. They will remain in the system. To completely remove a user from the system, you must delete their base user object using the delete action in this table.", "userServer": "Server Users", @@ -1216,7 +1216,7 @@ "orgPoliciesEdit": "Edit Organization Policy", "org": "Organization", "orgSelect": "Select organization", - "orgSearch": "Search org", + "orgSearch": "Search organizations...", "orgNotFound": "No org found.", "roleMappingPathOptional": "Role Mapping Path (Optional)", "orgMappingPathOptional": "Organization Mapping Path (Optional)", @@ -2100,7 +2100,7 @@ "sidebarOrgs": "Organizations", "sidebarProvisioning": "Provisioning", "sidebarSettings": "Settings", - "sidebarAllUsers": "All Users", + "sidebarAllUsers": "Users", "sidebarIdentityProviders": "Identity Providers", "sidebarLicense": "License", "sidebarClients": "Clients", diff --git a/src/app/globals.css b/src/app/globals.css index 07355700a..be446c147 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -65,7 +65,7 @@ --chart-3: oklch(0.769 0.188 70.08); --chart-4: oklch(0.627 0.265 303.9); --chart-5: oklch(0.645 0.246 16.439); - --sidebar: #0C0C0D; + --sidebar: #0c0c0d; --sidebar-foreground: oklch(0.985 0 0); --sidebar-primary: oklch(0.646 0.222 41.116); --sidebar-primary-foreground: oklch(0.98 0.016 73.684); diff --git a/src/app/navigation.tsx b/src/app/navigation.tsx index a2636de5c..ad11fd9b3 100644 --- a/src/app/navigation.tsx +++ b/src/app/navigation.tsx @@ -377,16 +377,16 @@ export const adminNavSections = (env?: Env): SidebarNavSection[] => [ href: "/admin/users", icon: }, - { - title: "sidebarApiKeys", - href: "/admin/api-keys", - icon: - }, { title: "sidebarOrgs", href: "/admin/organizations", icon: }, + { + title: "sidebarApiKeys", + href: "/admin/api-keys", + icon: + }, ...(build === "oss" || env?.app.identityProviderMode === "global" || env?.app.identityProviderMode === undefined diff --git a/src/components/LocaleSwitcherSelect.tsx b/src/components/LocaleSwitcherSelect.tsx index 6fa76783c..d4fb4880e 100644 --- a/src/components/LocaleSwitcherSelect.tsx +++ b/src/components/LocaleSwitcherSelect.tsx @@ -60,10 +60,10 @@ export default function LocaleSwitcherSelect({ onClick={() => onChange(item.value)} className="flex items-center gap-2" > - {item.value === defaultValue && ( - - )} {item.label} + {item.value === defaultValue && ( + + )} ))} diff --git a/src/components/OrgsTable.tsx b/src/components/OrgsTable.tsx index 1553aeb00..512d3f5b9 100644 --- a/src/components/OrgsTable.tsx +++ b/src/components/OrgsTable.tsx @@ -26,6 +26,7 @@ import { useRouter } from "next/navigation"; import { useMemo, useState, useTransition } from "react"; import { useDebouncedCallback } from "use-debounce"; import ConfirmDeleteDialog from "./ConfirmDeleteDialog"; +import CopyToClipboard from "./CopyToClipboard"; type OrgTableProps = { orgs: AdminOrgRow[]; @@ -106,7 +107,10 @@ export default function OrgsTable({ { accessorKey: "orgId", friendlyName: t("orgId"), - header: () => {t("orgId")} + header: () => {t("orgId")}, + cell: ({ row }) => ( + + ) }, { accessorKey: "createdAt", diff --git a/src/components/ProfileIcon.tsx b/src/components/ProfileIcon.tsx index cf1d845d8..bc19058c6 100644 --- a/src/components/ProfileIcon.tsx +++ b/src/components/ProfileIcon.tsx @@ -182,12 +182,12 @@ export default function ProfileIcon() { } className="flex items-center gap-2" > - {userTheme === themeOption && ( - - )} {t(themeOption)} + {userTheme === themeOption && ( + + )} ) )} diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 7753b43c0..bb70543e9 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -81,15 +81,15 @@ const Button = React.forwardRef( diff --git a/src/components/ui/data-table-empty-state.tsx b/src/components/ui/data-table-empty-state.tsx index b510029a6..61afdcb29 100644 --- a/src/components/ui/data-table-empty-state.tsx +++ b/src/components/ui/data-table-empty-state.tsx @@ -24,7 +24,7 @@ export function DataTableEmptyState({ const placeholderRows = compact ? COMPACT_PLACEHOLDER_ROW_COUNT : PLACEHOLDER_ROW_COUNT; - const minHeightClass = compact ? "min-h-[4.5rem]" : "min-h-[11rem]"; + const minHeightClass = compact ? "min-h-20" : "min-h-[12.5rem]"; return ( @@ -33,18 +33,23 @@ export function DataTableEmptyState({ className={`relative w-full overflow-hidden ${minHeightClass}`} > {Array.from({ length: placeholderRows }).map((_, i) => ( - + + + ))}