Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
improvement(ui): make page header spacing plug and play (#8424)
Andrew Huang11c4388b0d6f
diff --git a/DESIGN.md b/DESIGN.mdindex ce8e1e0da4..38eb96dfcf 100644--- a/DESIGN.md+++ b/DESIGN.md@@ -296,6 +296,7 @@ host component; don't override unless necessary.- **Page container** — `max-w-8xl` (88rem) centered, `bg-page`.- **Page header** — v3 `PageHeader` with scope/product icon + underlined `h1` + description. Import it from `@app/components/v3` and set `scope` to `org`, `namespace`, `instance`, or the applicable `ProjectType`. See [`PageHeader.tsx`](frontend/src/components/v3/platform/PageHeader/PageHeader.tsx).+- **Header boundary** — `PageHeader` owns the normal 40px bottom margin (`mb-10`). Do not repeat that margin at ordinary callers or add a parent row gap between the header and body. Keep independent card/section spacing in the body layout. Use `className` for genuine compact/responsive cases, such as `mb-6 md:mb-10` for Overview; see the header's spacing stories.- **Section** — one `Card` per logical section. Title + optional `DocumentationLinkBadge` in `CardHeader`; primary action in `CardAction` (top-right).- **Tables inside Cards** — filters and search sit in the `CardHeader` above the table; pagination sits in the `CardFooter` or bottom of `CardContent`. **Empty state** — when the table has no rows (and isn't loading), hide the `Table` entirely and render `Empty` in its place; never leave a column header floating above a blank body. Add `className="border"` to `Empty` whenever it's nested in a `Card`, `Sheet`, or `Dialog` so the dashed frame is visible against the parent surface (the component ships dashed-but-borderless on purpose for page-level use).- **Forms inside Sheets/Dialog** — create / edit flows open in a Sheet or Dialog, never inline, never as a full-page route. **Pick by form size:** small forms (1–2 fields, e.g. "Add domain", "Rename") go in a centered `Dialog`; large or multi-step forms (multiple fields, scrollable detail, file uploads, wizard steps) go in a right-side `Sheet`. When in doubt, default to Dialog — Sheet is for cases where Dialog feels cramped.diff --git a/frontend/src/components/COMPONENT_LIFECYCLE.md b/frontend/src/components/COMPONENT_LIFECYCLE.mdindex 77dfa6cb55..f9b6ef5dda 100644--- a/frontend/src/components/COMPONENT_LIFECYCLE.md+++ b/frontend/src/components/COMPONENT_LIFECYCLE.md@@ -24,6 +24,7 @@ The 2026-10-04 source audit found no external consumers of `Blur`, `CreatableSel| Components | Status | Direction || ------------------------------ | ---------- | --------------------------------------------------------------------- |+| `PageHeader` | Supported | Owns the normal 40px bottom boundary (`mb-10`). Remove header-boundary parent gaps and redundant caller margins when adopting it; preserve independent body/card spacing in body containers. `className` supports intentional compact/responsive boundaries. See its spacing stories. || `ReactSelect/FilterableSelect` | Deprecated | Use `Combobox`; keep compatibility available while consumers migrate. || `ReactSelect/CreatableSelect` | Deprecated | Use `Combobox` with inline `creation` for values needing no metadata, or dialog `creation` for caller-owned forms and persistence. Keep compatibility for react-select-specific component overrides; migrate consumers separately. |diff --git a/frontend/src/components/V3_MIGRATION.md b/frontend/src/components/V3_MIGRATION.mdindex fd3cd6b6ca..9d4c4f9c22 100644--- a/frontend/src/components/V3_MIGRATION.md+++ b/frontend/src/components/V3_MIGRATION.md@@ -60,7 +60,7 @@ In the table, E is the number of external consumer files and I is the number of| `Modal/Modal.tsx` | 55 / 2 | V3 Dialog/Sheet chosen by form size; verify nested overlays, portal lifetime, close/discard, mutation errors, and focus. | `frontend/src/pages/organization/AccessManagementPage/components/UpgradePrivilegeSystemModal/UpgradePrivilegeSystemModal.tsx:65` || `NoticeBanner/NoticeBanner.tsx` | 0 / 0 | Deleted in first wave; no consumer. | Only its own/root barrels exported it. || `NoticeBannerV2/NoticeBannerV2.tsx` | 2 / 0 | V3 Alert composition; preserve warnings and associated actions. | `frontend/src/components/secret-rotations-v2/ViewSecretRotationV2GeneratedCredentials/ViewSecretRotationV2GeneratedCredentials.tsx:273` |-| `PageHeader/PageHeader.tsx` | 32 / 0 | V3 PageHeader; preserve action slots, scope icons, responsive behavior, and caller spacing. | `frontend/src/pages/organization/ProjectsPage/ProjectsPage.tsx:53` |+| `PageHeader/PageHeader.tsx` | 32 / 0 | V3 PageHeader owns the normal 40px bottom boundary; remove only header-boundary compensation and preserve body spacing, actions, scopes and responsive intent. | `frontend/src/pages/organization/ProjectsPage/ProjectsPage.tsx:53` || `Pagination/Pagination.tsx` | 12 / 0 | V3 Pagination; preserve page origin, size change, counts, and filtering/reset behavior. | `frontend/src/pages/organization/GroupDetailsByIDPage/components/AddGroupProjectModal.tsx:163` || `PasswordGenerator/PasswordGenerator.tsx` | 0 / 0 | Deleted in first wave; V3 generator remains independent. | No external consumer; its private Slider also deleted. || `Popover/Popover.tsx` | 0 / 0 | Deleted in first wave; no consumer. | No incoming module edge or external symbol reference. |@@ -125,6 +125,14 @@ All source anchors in this surface table are relative to `frontend/src/`. Refres## Execution sequence and ownership+### PageHeader compatibility boundary++V3 `PageHeader` supplies the legacy normal bottom boundary through `mb-10`, so ordinary consumers need no repeated spacing prop. Existing marginless V3 pages must remove their header-boundary parent gap in the same change as the shared default. Their normal next-region spacing deliberately increases from 32px to 40px; this is harmonization, not pixel-identical parity. Keep card-to-card gaps in existing body containers, and group body regions only when multiple sections previously shared the page's gap.++Compact/responsive layouts remain explicit: Overview uses 24px below `md` and 40px above; Insights uses 16px below `dashboard` and 40px above. A narrow Insights stats strip remains its own region before the cards. General Secret Manager/KMS Settings remove only the body's header-boundary top padding, preserving bottom/horizontal padding and independent card spacing. Keep PAM's block flow so adjacent margins retain their collapsing behavior. Tabs and conditional notices are real next regions, not empty spacing to remove.++This contract does not certify source removal on merged main or workflow acceptance. The final five header-only consumers and legacy source/export deletion remain a separate dependent layer until verified and explicitly authorized to merge.+One owner controls each implementation family or domain unit. Domain writes run on isolated branches and may proceed in parallel only when their consumer files and shared replacements do not overlap. Shared primitives, the root barrel, and lifecycle decisions have an explicit owner. Recheck reservations and fetch `main` before each wave.1. **Dead-source removal:** delete the proven 17-family closure and exports. Risk is low for functionality but the entry's known chunk-order coupling makes production build/boot mandatory. Do not change live defaults or dependencies.diff --git a/frontend/src/components/v3/platform/PageHeader/PageHeader.stories.tsx b/frontend/src/components/v3/platform/PageHeader/PageHeader.stories.tsxindex 6aa5f1f9de..c6426c5b14 100644--- a/frontend/src/components/v3/platform/PageHeader/PageHeader.stories.tsx+++ b/frontend/src/components/v3/platform/PageHeader/PageHeader.stories.tsx@@ -4,6 +4,7 @@ import { ChevronLeftIcon, FingerprintIcon, PlusIcon } from "lucide-react";import { ProjectType } from "@app/hooks/api/projects/types";import { Button } from "../../generic/Button";+import { Card, CardContent } from "../../generic/Card";import { PageHeader, type TPageHeaderScope } from "./PageHeader";const meta = {@@ -45,7 +46,8 @@ export const Default: Story = {parameters: {docs: {description: {- story: "Use a project-scoped header as the standard heading for project pages."+ story:+ "Use a project-scoped header as the standard heading for project pages. PageHeader owns a 40px bottom boundary (mb-10). Do not add a parent row gap or repeat mb-10 at ordinary callers; keep independent body spacing inside the body layout."}}}@@ -54,7 +56,7 @@ export const Default: Story = {export const SupportedScopes: Story = {name: "Example: Supported Scopes",render: () => (- <div className="flex flex-col gap-10">+ <div className="flex flex-col">{SCOPES.map(({ label, scope }) => (<PageHeader key={scope} scope={scope} title={label} />))}@@ -167,3 +169,51 @@ export const LongTitle: Story = {}}};++export const WithBodySections: Story = {+ name: "Example: Header and Body Spacing",+ render: (args) => (+ <div className="flex flex-col">+ <PageHeader {...args} />+ <div className="flex flex-col gap-6">+ <Card>+ <CardContent>First body section</CardContent>+ </Card>+ <Card>+ <CardContent>Second body section</CardContent>+ </Card>+ </div>+ </div>+ ),+ parameters: {+ docs: {+ description: {+ story:+ "The header supplies the 40px boundary to the next region. The body group independently owns 24px between sections. Use an existing body container when one already owns that layout; do not remove its card-to-card gaps."+ }+ }+ }+};++export const CompactResponsive: Story = {+ name: "Example: Compact Responsive Boundary",+ args: {+ className: "mb-6 md:mb-10"+ },+ render: (args) => (+ <div className="flex flex-col">+ <PageHeader {...args} />+ <Card>+ <CardContent>Overview body</CardContent>+ </Card>+ </div>+ ),+ parameters: {+ docs: {+ description: {+ story:+ "className supports genuine compact or responsive boundaries. This Overview composition uses 24px below md and the normal 40px at md and above. Use mb-0 only when an enclosing composition intentionally owns the boundary, not as a default migration workaround."+ }+ }+ }+};diff --git a/frontend/src/components/v3/platform/PageHeader/PageHeader.tsx b/frontend/src/components/v3/platform/PageHeader/PageHeader.tsxindex f2620ddb44..db69bc47cd 100644--- a/frontend/src/components/v3/platform/PageHeader/PageHeader.tsx+++ b/frontend/src/components/v3/platform/PageHeader/PageHeader.tsx@@ -87,7 +87,7 @@ export const PageHeader = ({return (<headerdata-slot="page-header"- className={cn("flex w-full flex-col gap-5", className)}+ className={cn("mb-10 flex w-full flex-col gap-5", className)}{...props}>{backLink && (diff --git a/frontend/src/pages/admin/AccessManagementPage/AccessManagementPage.tsx b/frontend/src/pages/admin/AccessManagementPage/AccessManagementPage.tsxindex 7b21e72849..9dff32a009 100644--- a/frontend/src/pages/admin/AccessManagementPage/AccessManagementPage.tsx+++ b/frontend/src/pages/admin/AccessManagementPage/AccessManagementPage.tsx@@ -14,7 +14,7 @@ export const AccessManagementPage = () => {<title>{t("common.head-title", { title: "Access Control" })}</title></Helmet><div className="mx-auto flex flex-col justify-between">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope="instance"title="Server Admin Access Control"diff --git a/frontend/src/pages/admin/AuthenticationPage/AuthenticationPage.tsx b/frontend/src/pages/admin/AuthenticationPage/AuthenticationPage.tsxindex 5d4e63a94f..a5745adede 100644--- a/frontend/src/pages/admin/AuthenticationPage/AuthenticationPage.tsx+++ b/frontend/src/pages/admin/AuthenticationPage/AuthenticationPage.tsx@@ -14,7 +14,7 @@ export const AuthenticationPage = () => {<title>{t("common.head-title", { title: "Admin" })}</title></Helmet><div className="mx-auto flex flex-col justify-between">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope="instance"title="Authentication"diff --git a/frontend/src/pages/admin/CachingPage/CachingPage.tsx b/frontend/src/pages/admin/CachingPage/CachingPage.tsxindex dd43c0a1ed..a999aa2aa3 100644--- a/frontend/src/pages/admin/CachingPage/CachingPage.tsx+++ b/frontend/src/pages/admin/CachingPage/CachingPage.tsx@@ -14,7 +14,7 @@ export const CachingPage = () => {<title>{t("common.head-title", { title: "Admin" })}</title></Helmet><div className="mx-auto flex flex-col justify-between">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope="instance"title="Caching"diff --git a/frontend/src/pages/admin/EncryptionPage/EncryptionPage.tsx b/frontend/src/pages/admin/EncryptionPage/EncryptionPage.tsxindex f058aef784..450f129f40 100644--- a/frontend/src/pages/admin/EncryptionPage/EncryptionPage.tsx+++ b/frontend/src/pages/admin/EncryptionPage/EncryptionPage.tsx@@ -14,7 +14,7 @@ export const EncryptionPage = () => {<title>{t("common.head-title", { title: "Admin" })}</title></Helmet><div className="mx-auto flex flex-col justify-between">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope="instance"title="Encryption"diff --git a/frontend/src/pages/admin/EnvironmentPage/EnvironmentPage.tsx b/frontend/src/pages/admin/EnvironmentPage/EnvironmentPage.tsxindex b29346f51e..eb4ff25a89 100644--- a/frontend/src/pages/admin/EnvironmentPage/EnvironmentPage.tsx+++ b/frontend/src/pages/admin/EnvironmentPage/EnvironmentPage.tsx@@ -14,7 +14,7 @@ export const EnvironmentPage = () => {<title>{t("common.head-title", { title: "Admin" })}</title></Helmet><div className="mx-auto flex flex-col justify-between">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope="instance"title="Environment Variables"diff --git a/frontend/src/pages/admin/GeneralPage/GeneralPage.tsx b/frontend/src/pages/admin/GeneralPage/GeneralPage.tsxindex 725c4f38c2..d6e73d8012 100644--- a/frontend/src/pages/admin/GeneralPage/GeneralPage.tsx+++ b/frontend/src/pages/admin/GeneralPage/GeneralPage.tsx@@ -16,7 +16,7 @@ export const GeneralPage = () => {<title>{t("common.head-title", { title: "Admin" })}</title></Helmet><div className="mx-auto flex flex-col justify-between">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope="instance"title="General"diff --git a/frontend/src/pages/admin/IntegrationsPage/IntegrationsPage.tsx b/frontend/src/pages/admin/IntegrationsPage/IntegrationsPage.tsxindex ef06be2faa..68c112ca80 100644--- a/frontend/src/pages/admin/IntegrationsPage/IntegrationsPage.tsx+++ b/frontend/src/pages/admin/IntegrationsPage/IntegrationsPage.tsx@@ -14,7 +14,7 @@ export const IntegrationsPage = () => {<title>{t("common.head-title", { title: "Admin" })}</title></Helmet><div className="mx-auto flex flex-col justify-between">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope="instance"title="Integrations"diff --git a/frontend/src/pages/admin/ResourceOverviewPage/ResourceOverviewPage.tsx b/frontend/src/pages/admin/ResourceOverviewPage/ResourceOverviewPage.tsxindex 9943c23f48..1670c84a01 100644--- a/frontend/src/pages/admin/ResourceOverviewPage/ResourceOverviewPage.tsx+++ b/frontend/src/pages/admin/ResourceOverviewPage/ResourceOverviewPage.tsx@@ -25,7 +25,7 @@ export const ResourceOverviewPage = () => {<title>{t("common.head-title", { title: "Resource Overview" })}</title></Helmet><div className="mx-auto flex flex-col justify-between">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope="instance"title="Resource Overview"diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessBundleDetailPage/AgentVaultAccessBundleDetailPage.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessBundleDetailPage/AgentVaultAccessBundleDetailPage.tsxindex 20daaace69..f247d48453 100644--- a/frontend/src/pages/agent-vault/AgentVaultAccessBundleDetailPage/AgentVaultAccessBundleDetailPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAccessBundleDetailPage/AgentVaultAccessBundleDetailPage.tsx@@ -80,7 +80,7 @@ export const AgentVaultAccessBundleDetailPage = () => {}return (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><Helmet><title>{t("common.head-title", { title: accessBundle.name })}</title></Helmet>@@ -126,24 +126,26 @@ export const AgentVaultAccessBundleDetailPage = () => {)}</PageHeader>- <ServicesCard- accessBundleId={accessBundle.id}- services={accessBundle.services}- canManage={isAdmin}- onAdd={() => {- setServiceToEdit(null);- setIsServiceSheetOpen(true);- }}- onEdit={(service) => {- setServiceToEdit(service);- setIsServiceSheetOpen(true);- }}- />+ <div className="flex flex-col gap-8">+ <ServicesCard+ accessBundleId={accessBundle.id}+ services={accessBundle.services}+ canManage={isAdmin}+ onAdd={() => {+ setServiceToEdit(null);+ setIsServiceSheetOpen(true);+ }}+ onEdit={(service) => {+ setServiceToEdit(service);+ setIsServiceSheetOpen(true);+ }}+ />- {/* The variables routes are admin only. */}- {isAdmin && (- <VariablesCard accessBundleId={accessBundle.id} services={accessBundle.services} />- )}+ {/* The variables routes are admin only. */}+ {isAdmin && (+ <VariablesCard accessBundleId={accessBundle.id} services={accessBundle.services} />+ )}+ </div><ManageAccessSheetaccessBundle={isManageAccessOpen ? accessBundle : null}diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessBundlesPage/AgentVaultAccessBundlesPage.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessBundlesPage/AgentVaultAccessBundlesPage.tsxindex 875574bcf8..a9d5fd010d 100644--- a/frontend/src/pages/agent-vault/AgentVaultAccessBundlesPage/AgentVaultAccessBundlesPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAccessBundlesPage/AgentVaultAccessBundlesPage.tsx@@ -144,7 +144,7 @@ export const AgentVaultAccessBundlesPage = () => {}return (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><Helmet><title>{t("common.head-title", { title: "Access Bundles" })}</title></Helmet>diff --git a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/AgentVaultAccessControlPage.tsx b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/AgentVaultAccessControlPage.tsxindex 22cdbbde27..44cf4d0b4b 100644--- a/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/AgentVaultAccessControlPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAccessControlPage/AgentVaultAccessControlPage.tsx@@ -79,7 +79,7 @@ export const AgentVaultAccessControlPage = () => {const { t } = useTranslation();return (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><Helmet><title>{t("common.head-title", { title: "Access Control" })}</title></Helmet>diff --git a/frontend/src/pages/agent-vault/AgentVaultAuditLogsPage/AgentVaultAuditLogsPage.tsx b/frontend/src/pages/agent-vault/AgentVaultAuditLogsPage/AgentVaultAuditLogsPage.tsxindex 2fad6a7d50..e7744f615b 100644--- a/frontend/src/pages/agent-vault/AgentVaultAuditLogsPage/AgentVaultAuditLogsPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultAuditLogsPage/AgentVaultAuditLogsPage.tsx@@ -12,7 +12,7 @@ export const AgentVaultAuditLogsPage = () => {const { currentProject } = useProject();return (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><Helmet><title>{t("common.head-title", { title: "Audit Logs" })}</title></Helmet>diff --git a/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx b/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsxindex 97573b057e..091a2b4633 100644--- a/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultProxiesPage/AgentVaultProxiesPage.tsx@@ -223,7 +223,7 @@ export const AgentVaultProxiesPage = () => {};return (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><Helmet><title>{t("common.head-title", { title: "Proxies" })}</title></Helmet>diff --git a/frontend/src/pages/agent-vault/AgentVaultSessionsPage/AgentVaultSessionsPage.tsx b/frontend/src/pages/agent-vault/AgentVaultSessionsPage/AgentVaultSessionsPage.tsxindex f696f4dc35..0e9a0f3a1e 100644--- a/frontend/src/pages/agent-vault/AgentVaultSessionsPage/AgentVaultSessionsPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultSessionsPage/AgentVaultSessionsPage.tsx@@ -181,7 +181,7 @@ export const AgentVaultSessionsPage = () => {}return (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><Helmet><title>{t("common.head-title", { title: "Sessions" })}</title></Helmet>@@ -192,353 +192,362 @@ export const AgentVaultSessionsPage = () => {description="Create sessions that let your agents reach the services in an access bundle."/>- {sessionLogHealth?.isStorageFull &&- sessionLogSettings &&- areAgentVaultSessionLogsOn(sessionLogSettings) && (- <Alert variant="danger">- <CircleAlertIcon />- <AlertDescription>- Session logs have reached their limit for this organization. Contact Infisical- support.- </AlertDescription>- </Alert>- )}-- {sessionLogHealth?.connectionError &&- sessionLogSettings &&- areAgentVaultSessionLogsOn(sessionLogSettings) &&- !isSessionLogPlanLapsed && (- <Alert variant="danger">- <CircleAlertIcon />- <AlertDescription>- <p>{sessionLogHealth.connectionError}</p>- <AlertAction>- <Button variant="outline" size="sm" asChild>- <Link- to="/organizations/$orgId/agent-vault/settings"- params={{ orgId: currentOrg.id }}- >- Go to Settings- </Link>- </Button>- </AlertAction>- </AlertDescription>- </Alert>- )}+ <div className="flex flex-col gap-8">+ {sessionLogHealth?.isStorageFull &&+ sessionLogSettings &&+ areAgentVaultSessionLogsOn(sessionLogSettings) && (+ <Alert variant="danger">+ <CircleAlertIcon />+ <AlertDescription>+ Session logs have reached their limit for this organization. Contact Infisical+ support.+ </AlertDescription>+ </Alert>+ )}- {isSessionLogPlanLapsed && (- <Alert variant="warning">- <TriangleAlertIcon />- <AlertDescription>- <p>Your plan no longer includes session logs, so new requests aren't recorded.</p>- <AlertAction>- <Button variant="outline" size="sm" onClick={() => setIsUpgradeOpen(true)}>- Upgrade- </Button>- </AlertAction>- </AlertDescription>- </Alert>- )}+ {sessionLogHealth?.connectionError &&+ sessionLogSettings &&+ areAgentVaultSessionLogsOn(sessionLogSettings) &&+ !isSessionLogPlanLapsed && (+ <Alert variant="danger">+ <CircleAlertIcon />+ <AlertDescription>+ <p>{sessionLogHealth.connectionError}</p>+ <AlertAction>+ <Button variant="outline" size="sm" asChild>+ <Link+ to="/organizations/$orgId/agent-vault/settings"+ params={{ orgId: currentOrg.id }}+ >+ Go to Settings+ </Link>+ </Button>+ </AlertAction>+ </AlertDescription>+ </Alert>+ )}- {sessionLogSettings &&- Boolean(sessionLogSettings.bucket) &&- !isSessionLogPlanLapsed &&- !areAgentVaultSessionLogsOn(sessionLogSettings) && (+ {isSessionLogPlanLapsed && (<Alert variant="warning"><TriangleAlertIcon /><AlertDescription><p>- Sessions aren't being logged, so there is no record of what your agents- reached.+ Your plan no longer includes session logs, so new requests aren't recorded.</p><AlertAction>- <Button variant="outline" size="sm" asChild>- <Link- to="/organizations/$orgId/agent-vault/settings"- params={{ orgId: currentOrg.id }}- >- Go to Settings- </Link>+ <Button variant="outline" size="sm" onClick={() => setIsUpgradeOpen(true)}>+ Upgrade</Button></AlertAction></AlertDescription></Alert>)}- {isAdmin && <SessionLogReadAccessAlert />}-- <Card>- <CardHeader>- <CardTitle>- Sessions- <DocumentationLinkBadge href={AgentVaultDocsUrls.sessions} />- </CardTitle>- <CardDescription>- A session names the actor who holds it, the access bundle it carries, and when it- expires.- </CardDescription>- <CardAction>- <Button- variant="av"- isDisabled={!hasReachableBundles}- onClick={() => setIsCreateDialogOpen(true)}- >- <PlusIcon />- Create Session- </Button>- </CardAction>- </CardHeader>- <CardContent className="flex items-center gap-2">- <InputGroup className="flex-1">- <InputGroupAddon>- <SearchIcon />- </InputGroupAddon>- <InputGroupInput- value={search}- onChange={(e) => {- setSearch(e.target.value);- setPage(1);- }}- placeholder="Search by identity, email, or access bundle..."- />- </InputGroup>- <DropdownMenu>- <DropdownMenuTrigger asChild>- <IconButton aria-label="Filter sessions" variant={statuses.length ? "av" : "outline"}>- <FilterIcon />- </IconButton>- </DropdownMenuTrigger>- <DropdownMenuContent align="end">- <DropdownMenuLabel>Status</DropdownMenuLabel>- {STATUS_OPTIONS.map((status) => {- const { label, icon: Icon, iconClassName } = SESSION_STATUS_PRESENTATION[status];- return (- <DropdownMenuCheckboxItem- key={status}- checked={statuses.includes(status)}- onClick={(e) => {- e.preventDefault();- setStatuses((prev) =>- prev.includes(status) ? prev.filter((s) => s !== status) : [...prev, status]- );- setPage(1);- }}- >- <Icon className={iconClassName} />- {label}- </DropdownMenuCheckboxItem>- );- })}- </DropdownMenuContent>- </DropdownMenu>- {isAdmin && (- <Tabs- value={scope}- onValueChange={(value) => {- setScope(value as AgentVaultSessionScope);- setPage(1);- setUserTablePreference(- "agentVaultSessionsTable",- PreferenceKey.SessionScope,- value- );- }}- >- <TabsList variant="filled">- <TabsTrigger value={AgentVaultSessionScope.All}>All Sessions</TabsTrigger>- <TabsTrigger value={AgentVaultSessionScope.Mine}>My Sessions</TabsTrigger>- </TabsList>- </Tabs>+ {sessionLogSettings &&+ Boolean(sessionLogSettings.bucket) &&+ !isSessionLogPlanLapsed &&+ !areAgentVaultSessionLogsOn(sessionLogSettings) && (+ <Alert variant="warning">+ <TriangleAlertIcon />+ <AlertDescription>+ <p>+ Sessions aren't being logged, so there is no record of what your agents+ reached.+ </p>+ <AlertAction>+ <Button variant="outline" size="sm" asChild>+ <Link+ to="/organizations/$orgId/agent-vault/settings"+ params={{ orgId: currentOrg.id }}+ >+ Go to Settings+ </Link>+ </Button>+ </AlertAction>+ </AlertDescription>+ </Alert>)}- </CardContent>- {!isPending && sessions.length === 0 ? (- <CardContent>- <Empty className="border">- <EmptyHeader>- <EmptyTitle>{emptyTitle}</EmptyTitle>- <EmptyDescription>{emptyDescription}</EmptyDescription>- </EmptyHeader>- {!isFiltered && !hasReachableBundles && isAdmin && (- <Button variant="av" asChild>- <Link- to="/organizations/$orgId/agent-vault/access-bundles"- params={{ orgId: currentOrg.id }}- >- Go to Access Bundles- </Link>- </Button>- )}- </Empty>+ {isAdmin && <SessionLogReadAccessAlert />}++ <Card>+ <CardHeader>+ <CardTitle>+ Sessions+ <DocumentationLinkBadge href={AgentVaultDocsUrls.sessions} />+ </CardTitle>+ <CardDescription>+ A session names the actor who holds it, the access bundle it carries, and when it+ expires.+ </CardDescription>+ <CardAction>+ <Button+ variant="av"+ isDisabled={!hasReachableBundles}+ onClick={() => setIsCreateDialogOpen(true)}+ >+ <PlusIcon />+ Create Session+ </Button>+ </CardAction>+ </CardHeader>+ <CardContent className="flex items-center gap-2">+ <InputGroup className="flex-1">+ <InputGroupAddon>+ <SearchIcon />+ </InputGroupAddon>+ <InputGroupInput+ value={search}+ onChange={(e) => {+ setSearch(e.target.value);+ setPage(1);+ }}+ placeholder="Search by identity, email, or access bundle..."+ />+ </InputGroup>+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <IconButton+ aria-label="Filter sessions"+ variant={statuses.length ? "av" : "outline"}+ >+ <FilterIcon />+ </IconButton>+ </DropdownMenuTrigger>+ <DropdownMenuContent align="end">+ <DropdownMenuLabel>Status</DropdownMenuLabel>+ {STATUS_OPTIONS.map((status) => {+ const { label, icon: Icon, iconClassName } = SESSION_STATUS_PRESENTATION[status];+ return (+ <DropdownMenuCheckboxItem+ key={status}+ checked={statuses.includes(status)}+ onClick={(e) => {+ e.preventDefault();+ setStatuses((prev) =>+ prev.includes(status)+ ? prev.filter((s) => s !== status)+ : [...prev, status]+ );+ setPage(1);+ }}+ >+ <Icon className={iconClassName} />+ {label}+ </DropdownMenuCheckboxItem>+ );+ })}+ </DropdownMenuContent>+ </DropdownMenu>+ {isAdmin && (+ <Tabs+ value={scope}+ onValueChange={(value) => {+ setScope(value as AgentVaultSessionScope);+ setPage(1);+ setUserTablePreference(+ "agentVaultSessionsTable",+ PreferenceKey.SessionScope,+ value+ );+ }}+ >+ <TabsList variant="filled">+ <TabsTrigger value={AgentVaultSessionScope.All}>All Sessions</TabsTrigger>+ <TabsTrigger value={AgentVaultSessionScope.Mine}>My Sessions</TabsTrigger>+ </TabsList>+ </Tabs>+ )}</CardContent>- ) : (- <Table>- <TableHeader>- <TableRow>- <TableHead>Identity</TableHead>- <TableHead>Access Bundle</TableHead>- <TableHead>Created</TableHead>- <TableHead>Expires</TableHead>- <TableHead>Status</TableHead>- <TableHead variant="action" />- </TableRow>- </TableHeader>- <TableBody>- {isPending &&- Array.from({ length: 5 }).map((_, index) => (- // eslint-disable-next-line react/no-array-index-key- <TableRow key={`session-skeleton-${index}`}>- {Array.from({ length: 6 }).map((__, cell) => (- // eslint-disable-next-line react/no-array-index-key- <TableCell key={`session-skeleton-${index}-${cell}`}>- <Skeleton className="h-4 w-full" />++ {!isPending && sessions.length === 0 ? (+ <CardContent>+ <Empty className="border">+ <EmptyHeader>+ <EmptyTitle>{emptyTitle}</EmptyTitle>+ <EmptyDescription>{emptyDescription}</EmptyDescription>+ </EmptyHeader>+ {!isFiltered && !hasReachableBundles && isAdmin && (+ <Button variant="av" asChild>+ <Link+ to="/organizations/$orgId/agent-vault/access-bundles"+ params={{ orgId: currentOrg.id }}+ >+ Go to Access Bundles+ </Link>+ </Button>+ )}+ </Empty>+ </CardContent>+ ) : (+ <Table>+ <TableHeader>+ <TableRow>+ <TableHead>Identity</TableHead>+ <TableHead>Access Bundle</TableHead>+ <TableHead>Created</TableHead>+ <TableHead>Expires</TableHead>+ <TableHead>Status</TableHead>+ <TableHead variant="action" />+ </TableRow>+ </TableHeader>+ <TableBody>+ {isPending &&+ Array.from({ length: 5 }).map((_, index) => (+ // eslint-disable-next-line react/no-array-index-key+ <TableRow key={`session-skeleton-${index}`}>+ {Array.from({ length: 6 }).map((__, cell) => (+ // eslint-disable-next-line react/no-array-index-key+ <TableCell key={`session-skeleton-${index}-${cell}`}>+ <Skeleton className="h-4 w-full" />+ </TableCell>+ ))}+ </TableRow>+ ))}+ {!isPending &&+ sessions.map((session) => (+ <TableRow+ key={session.id}+ onClick={() => openSheet(session.id)}+ className="cursor-pointer"+ >+ <TableCell>+ <Tooltip>+ <TooltipTrigger asChild>+ <div className="flex w-fit items-center gap-2">+ {session.actor.type === AgentVaultMemberType.MachineIdentity ? (+ <BotIcon className="size-4 text-muted" />+ ) : (+ <UserIcon className="size-4 text-muted" />+ )}+ {memberDisplayName(session.actor)}+ </div>+ </TooltipTrigger>+ <TooltipContent>+ {session.actor.type === AgentVaultMemberType.MachineIdentity+ ? `${session.actor.id ?? "Deleted"} (machine identity)`+ : memberSubtitle(session.actor)}+ </TooltipContent>+ </Tooltip>+ </TableCell>+ <TableCell>+ <div className="max-w-72">+ <OverflowBadgeList+ items={session.accessBundles}+ getKey={(bundle) => bundle.id ?? bundle.name}+ getLabel={(bundle) => bundle.name}+ icon={<PackageIcon />}+ getClassName={(bundle) => (bundle.id ? undefined : "text-muted")}+ getTooltip={(bundle) =>+ bundle.id ? bundle.name : `${bundle.name} (deleted)`+ }+ getLinkProps={(bundle) =>+ bundle.id+ ? linkOptions({+ to: "/organizations/$orgId/agent-vault/access-bundles/$accessBundleId",+ params: { orgId: currentOrg.id, accessBundleId: bundle.id }+ })+ : undefined+ }+ />+ </div></TableCell>- ))}- </TableRow>- ))}- {!isPending &&- sessions.map((session) => (- <TableRow- key={session.id}- onClick={() => openSheet(session.id)}- className="cursor-pointer"- >- <TableCell>- <Tooltip>- <TooltipTrigger asChild>- <div className="flex w-fit items-center gap-2">- {session.actor.type === AgentVaultMemberType.MachineIdentity ? (- <BotIcon className="size-4 text-muted" />- ) : (- <UserIcon className="size-4 text-muted" />- )}- {memberDisplayName(session.actor)}- </div>- </TooltipTrigger>- <TooltipContent>- {session.actor.type === AgentVaultMemberType.MachineIdentity- ? `${session.actor.id ?? "Deleted"} (machine identity)`- : memberSubtitle(session.actor)}- </TooltipContent>- </Tooltip>- </TableCell>- <TableCell>- <div className="max-w-72">- <OverflowBadgeList- items={session.accessBundles}- getKey={(bundle) => bundle.id ?? bundle.name}- getLabel={(bundle) => bundle.name}- icon={<PackageIcon />}- getClassName={(bundle) => (bundle.id ? undefined : "text-muted")}- getTooltip={(bundle) =>- bundle.id ? bundle.name : `${bundle.name} (deleted)`- }- getLinkProps={(bundle) =>- bundle.id- ? linkOptions({- to: "/organizations/$orgId/agent-vault/access-bundles/$accessBundleId",- params: { orgId: currentOrg.id, accessBundleId: bundle.id }- })- : undefined- }- />- </div>- </TableCell>- <TableCell>- <Tooltip>- <TooltipTrigger asChild>- <span className="text-sm">- {format(new Date(session.createdAt), "MMM d, yyyy")}- </span>- </TooltipTrigger>- <TooltipContent>- {format(new Date(session.createdAt), "MMM d, yyyy h:mm a")}- </TooltipContent>- </Tooltip>- </TableCell>- <TableCell>- <SessionExpiry expiresAt={session.expiresAt} />- </TableCell>- <TableCell>- <SessionStatusBadge status={session.status} />- </TableCell>- <TableCell variant="action">- <div className="flex items-center justify-end gap-1">- <SessionLogLossIndicator counts={session.recentSessionLogCounts} />+ <TableCell><Tooltip><TooltipTrigger asChild>- <IconButton- variant="ghost"- size="xs"- aria-label="View session logs"- onClick={(event) => {- event.stopPropagation();- openSheet(session.id);- }}- >- <LogsIcon />- </IconButton>+ <span className="text-sm">+ {format(new Date(session.createdAt), "MMM d, yyyy")}+ </span></TooltipTrigger>- <TooltipContent>View Session Logs</TooltipContent>+ <TooltipContent>+ {format(new Date(session.createdAt), "MMM d, yyyy h:mm a")}+ </TooltipContent></Tooltip>- <DropdownMenu>- <DropdownMenuTrigger asChild>- <IconButton- variant="ghost"- size="xs"- aria-label="Open session actions"+ </TableCell>+ <TableCell>+ <SessionExpiry expiresAt={session.expiresAt} />+ </TableCell>+ <TableCell>+ <SessionStatusBadge status={session.status} />+ </TableCell>+ <TableCell variant="action">+ <div className="flex items-center justify-end gap-1">+ <SessionLogLossIndicator counts={session.recentSessionLogCounts} />+ <Tooltip>+ <TooltipTrigger asChild>+ <IconButton+ variant="ghost"+ size="xs"+ aria-label="View session logs"+ onClick={(event) => {+ event.stopPropagation();+ openSheet(session.id);+ }}+ >+ <LogsIcon />+ </IconButton>+ </TooltipTrigger>+ <TooltipContent>View Session Logs</TooltipContent>+ </Tooltip>+ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <IconButton+ variant="ghost"+ size="xs"+ aria-label="Open session actions"+ onClick={(event) => event.stopPropagation()}+ >+ <MoreHorizontalIcon />+ </IconButton>+ </DropdownMenuTrigger>+ <DropdownMenuContent+ sideOffset={2}+ align="end"onClick={(event) => event.stopPropagation()}>- <MoreHorizontalIcon />- </IconButton>- </DropdownMenuTrigger>- <DropdownMenuContent- sideOffset={2}- align="end"- onClick={(event) => event.stopPropagation()}- >- <DropdownMenuItem onClick={() => openSheet(session.id)}>- <LogsIcon />- View Session Logs- </DropdownMenuItem>- <DropdownMenuItem- variant="danger"- isDisabled={session.status !== AgentVaultSessionStatus.Active}- onClick={() => setSessionToRevoke(session)}- >- <BanIcon />- Revoke Session- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>- </div>- </TableCell>- </TableRow>- ))}- </TableBody>- </Table>- )}+ <DropdownMenuItem onClick={() => openSheet(session.id)}>+ <LogsIcon />+ View Session Logs+ </DropdownMenuItem>+ <DropdownMenuItem+ variant="danger"+ isDisabled={session.status !== AgentVaultSessionStatus.Active}+ onClick={() => setSessionToRevoke(session)}+ >+ <BanIcon />+ Revoke Session+ </DropdownMenuItem>+ </DropdownMenuContent>+ </DropdownMenu>+ </div>+ </TableCell>+ </TableRow>+ ))}+ </TableBody>+ </Table>+ )}- {totalCount > 0 && (- <CardContent className="-mt-5 pt-0">- <Pagination- count={totalCount}- page={page}- perPage={perPage}- onChangePage={setPage}- onChangePerPage={(newPerPage) => {- setPerPage(newPerPage);- setPage(1);- setUserTablePreference(- "agentVaultSessionsTable",- PreferenceKey.PerPage,- newPerPage- );- }}- />- </CardContent>- )}- </Card>+ {totalCount > 0 && (+ <CardContent className="-mt-5 pt-0">+ <Pagination+ count={totalCount}+ page={page}+ perPage={perPage}+ onChangePage={setPage}+ onChangePerPage={(newPerPage) => {+ setPerPage(newPerPage);+ setPage(1);+ setUserTablePreference(+ "agentVaultSessionsTable",+ PreferenceKey.PerPage,+ newPerPage+ );+ }}+ />+ </CardContent>+ )}+ </Card>+ </div><CreateSessionDialogisOpen={isCreateDialogOpen}diff --git a/frontend/src/pages/agent-vault/AgentVaultSettingsPage/AgentVaultSettingsPage.tsx b/frontend/src/pages/agent-vault/AgentVaultSettingsPage/AgentVaultSettingsPage.tsxindex c236b4877c..6be7cc5a40 100644--- a/frontend/src/pages/agent-vault/AgentVaultSettingsPage/AgentVaultSettingsPage.tsx+++ b/frontend/src/pages/agent-vault/AgentVaultSettingsPage/AgentVaultSettingsPage.tsx@@ -16,7 +16,7 @@ export const AgentVaultSettingsPage = () => {const isAdmin = hasProjectRole(ProjectMembershipRole.Admin);return (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><Helmet><title>{t("common.head-title", { title: "Settings" })}</title></Helmet>@@ -28,10 +28,10 @@ export const AgentVaultSettingsPage = () => {description="Configure session logs and the connections Agent Vault uses."/>{isAdmin ? (- <>+ <div className="flex flex-col gap-8"><SessionLogAlerts /><SessionLogSection />- </>+ </div>) : (<AccessRestrictedDialog />)}diff --git a/frontend/src/pages/cert-manager/AlertingPage/AlertingPage.tsx b/frontend/src/pages/cert-manager/AlertingPage/AlertingPage.tsxindex 1e5c96565c..b866d63ce1 100644--- a/frontend/src/pages/cert-manager/AlertingPage/AlertingPage.tsx+++ b/frontend/src/pages/cert-manager/AlertingPage/AlertingPage.tsx@@ -48,7 +48,7 @@ export const AlertingPage = () => {<Helmet><title>{t("common.head-title", { title: "Alerting" })}</title></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title={diff --git a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/ApplicationDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/ApplicationDetailsByIDPage.tsxindex 07c3bdb623..cb4fba6407 100644--- a/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/ApplicationDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/ApplicationDetailsByIDPage/ApplicationDetailsByIDPage.tsx@@ -192,7 +192,7 @@ export const ApplicationDetailsByIDPage = () => {</Helmet><div className="h-full bg-page"><div className="mx-auto flex flex-col text-foreground-inverse">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={<Linkdiff --git a/frontend/src/pages/cert-manager/ApplicationsPage/ApplicationsPage.tsx b/frontend/src/pages/cert-manager/ApplicationsPage/ApplicationsPage.tsxindex 533b358ec8..6e47c7b89b 100644--- a/frontend/src/pages/cert-manager/ApplicationsPage/ApplicationsPage.tsx+++ b/frontend/src/pages/cert-manager/ApplicationsPage/ApplicationsPage.tsx@@ -180,7 +180,7 @@ export const ApplicationsPage = () => {</Helmet><div className="h-full bg-page"><div className="mx-auto flex flex-col text-foreground-inverse">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}icon={ResourceIcon}diff --git a/frontend/src/pages/cert-manager/ApprovalsPage/ApprovalsPage.tsx b/frontend/src/pages/cert-manager/ApprovalsPage/ApprovalsPage.tsxindex 49abff7942..6705347906 100644--- a/frontend/src/pages/cert-manager/ApprovalsPage/ApprovalsPage.tsx+++ b/frontend/src/pages/cert-manager/ApprovalsPage/ApprovalsPage.tsx@@ -20,7 +20,7 @@ export const ApprovalsPage = () => {<Helmet><link rel="icon" href="/infisical.ico" /></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={currentProject.type}title="Certificate Approvals"diff --git a/frontend/src/pages/cert-manager/CertAuthDetailsByIDPage/CertAuthDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/CertAuthDetailsByIDPage/CertAuthDetailsByIDPage.tsxindex 87f703d393..2e0521b4d4 100644--- a/frontend/src/pages/cert-manager/CertAuthDetailsByIDPage/CertAuthDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/CertAuthDetailsByIDPage/CertAuthDetailsByIDPage.tsx@@ -115,7 +115,7 @@ const Page = () => {>{(isAllowed) =>isAllowed ? (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={cameFromProfile && search.profileId ? (diff --git a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificateAuthoritiesPage.tsx b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificateAuthoritiesPage.tsxindex 97a97a63cd..820f9ec49c 100644--- a/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificateAuthoritiesPage.tsx+++ b/frontend/src/pages/cert-manager/CertificateAuthoritiesPage/CertificateAuthoritiesPage.tsx@@ -47,7 +47,7 @@ export const CertificateAuthoritiesPage = () => {<Helmet><title>{t("common.head-title", { title: "Certificate Authorities" })}</title></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Certificate Authorities"diff --git a/frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsxindex e25b93ba36..31c931c569 100644--- a/frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/CertificateDetailsByIDPage/CertificateDetailsByIDPage.tsx@@ -322,7 +322,7 @@ const Page = () => {);} else {pageBody = (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={certificateBackLink}scope={ProjectType.CertificateManager}diff --git a/frontend/src/pages/cert-manager/CertificatePoliciesPage/CertificatePoliciesPage.tsx b/frontend/src/pages/cert-manager/CertificatePoliciesPage/CertificatePoliciesPage.tsxindex 23ff91caa1..d5a1026199 100644--- a/frontend/src/pages/cert-manager/CertificatePoliciesPage/CertificatePoliciesPage.tsx+++ b/frontend/src/pages/cert-manager/CertificatePoliciesPage/CertificatePoliciesPage.tsx@@ -16,7 +16,7 @@ export const CertificatePoliciesPage = () => {<Helmet><title>{t("common.head-title", { title: "Certificate Policies" })}</title></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Certificate Policies"diff --git a/frontend/src/pages/cert-manager/CertificatePolicyDetailsByIDPage/CertificatePolicyDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/CertificatePolicyDetailsByIDPage/CertificatePolicyDetailsByIDPage.tsxindex c32581d5e3..60bed35faf 100644--- a/frontend/src/pages/cert-manager/CertificatePolicyDetailsByIDPage/CertificatePolicyDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/CertificatePolicyDetailsByIDPage/CertificatePolicyDetailsByIDPage.tsx@@ -114,7 +114,7 @@ const Page = () => {>{(isAllowed) =>isAllowed ? (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={cameFromProfile && search.profileId ? (diff --git a/frontend/src/pages/cert-manager/CertificateProfileDetailsByIDPage/CertificateProfileDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/CertificateProfileDetailsByIDPage/CertificateProfileDetailsByIDPage.tsxindex de054dfc68..aa88535e0a 100644--- a/frontend/src/pages/cert-manager/CertificateProfileDetailsByIDPage/CertificateProfileDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/CertificateProfileDetailsByIDPage/CertificateProfileDetailsByIDPage.tsx@@ -99,7 +99,7 @@ const Page = () => {>{(isAllowed) =>isAllowed ? (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={cameFromApplication && search.applicationName ? (diff --git a/frontend/src/pages/cert-manager/CertificateProfilesPage/CertificateProfilesPage.tsx b/frontend/src/pages/cert-manager/CertificateProfilesPage/CertificateProfilesPage.tsxindex 739fecaf0f..c6afec63e0 100644--- a/frontend/src/pages/cert-manager/CertificateProfilesPage/CertificateProfilesPage.tsx+++ b/frontend/src/pages/cert-manager/CertificateProfilesPage/CertificateProfilesPage.tsx@@ -16,7 +16,7 @@ export const CertificateProfilesPage = () => {<Helmet><title>{t("common.head-title", { title: "Certificate Profiles" })}</title></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Certificate Profiles"diff --git a/frontend/src/pages/cert-manager/CodeSigningPage/CodeSigningPage.tsx b/frontend/src/pages/cert-manager/CodeSigningPage/CodeSigningPage.tsxindex 9c87f4d077..1c5896c0d9 100644--- a/frontend/src/pages/cert-manager/CodeSigningPage/CodeSigningPage.tsx+++ b/frontend/src/pages/cert-manager/CodeSigningPage/CodeSigningPage.tsx@@ -20,7 +20,7 @@ export const CodeSigningPage = () => {<Helmet><title>{t("common.head-title", { title: "Code Signing" })}</title></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}icon={PenTool}diff --git a/frontend/src/pages/cert-manager/DashboardPage/DashboardPage.tsx b/frontend/src/pages/cert-manager/DashboardPage/DashboardPage.tsxindex cbdba5d3ed..ff3c243e05 100644--- a/frontend/src/pages/cert-manager/DashboardPage/DashboardPage.tsx+++ b/frontend/src/pages/cert-manager/DashboardPage/DashboardPage.tsx@@ -63,7 +63,7 @@ export const DashboardPage = () => {<title>{t("common.head-title", { title: "Certificate Dashboard" })}</title></Helmet><div className="mx-auto flex flex-col text-foreground-inverse">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Certificate Dashboard"diff --git a/frontend/src/pages/cert-manager/DiscoveryDetailsByIDPage/DiscoveryDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/DiscoveryDetailsByIDPage/DiscoveryDetailsByIDPage.tsxindex af8899cc53..d079b6913b 100644--- a/frontend/src/pages/cert-manager/DiscoveryDetailsByIDPage/DiscoveryDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/DiscoveryDetailsByIDPage/DiscoveryDetailsByIDPage.tsx@@ -105,7 +105,7 @@ const Page = () => {return (<div className="mx-auto flex flex-col justify-between text-foreground-inverse">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={<Linkdiff --git a/frontend/src/pages/cert-manager/DiscoveryPage/DiscoveryPage.tsx b/frontend/src/pages/cert-manager/DiscoveryPage/DiscoveryPage.tsxindex 9aa36a2bfb..824fa28019 100644--- a/frontend/src/pages/cert-manager/DiscoveryPage/DiscoveryPage.tsx+++ b/frontend/src/pages/cert-manager/DiscoveryPage/DiscoveryPage.tsx@@ -47,7 +47,7 @@ export const DiscoveryPage = () => {<Helmet><title>{t("common.head-title", { title: "Certificate Discovery" })}</title></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title={diff --git a/frontend/src/pages/cert-manager/HsmConnectorDetailsByIDPage/HsmConnectorDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/HsmConnectorDetailsByIDPage/HsmConnectorDetailsByIDPage.tsxindex d6f1bfdc76..577a792680 100644--- a/frontend/src/pages/cert-manager/HsmConnectorDetailsByIDPage/HsmConnectorDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/HsmConnectorDetailsByIDPage/HsmConnectorDetailsByIDPage.tsx@@ -80,7 +80,7 @@ const Page = () => {>{(isAllowed) =>isAllowed ? (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={<Linkdiff --git a/frontend/src/pages/cert-manager/InstallationDetailsByIDPage/InstallationDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/InstallationDetailsByIDPage/InstallationDetailsByIDPage.tsxindex 88fcd21c12..0b69eb86c7 100644--- a/frontend/src/pages/cert-manager/InstallationDetailsByIDPage/InstallationDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/InstallationDetailsByIDPage/InstallationDetailsByIDPage.tsx@@ -74,7 +74,7 @@ const Page = () => {return (<div className="mx-auto flex flex-col justify-between text-foreground-inverse">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={<Linkdiff --git a/frontend/src/pages/cert-manager/IntegrationsListPage/IntegrationsListPage.tsx b/frontend/src/pages/cert-manager/IntegrationsListPage/IntegrationsListPage.tsxindex 23ddcc9b7c..be18e27f01 100644--- a/frontend/src/pages/cert-manager/IntegrationsListPage/IntegrationsListPage.tsx+++ b/frontend/src/pages/cert-manager/IntegrationsListPage/IntegrationsListPage.tsx@@ -46,7 +46,7 @@ export const IntegrationsListPage = () => {<meta name="og:description" content="Sync and manage PKI certificates across services" /></Helmet><div className="relative mx-auto max-w-8xl pb-12 text-foreground-inverse">- <div className="mb-8 flex flex-col gap-8">+ <div className="mb-8 flex flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Project Integrations"diff --git a/frontend/src/pages/cert-manager/InventoryPage/InventoryPage.tsx b/frontend/src/pages/cert-manager/InventoryPage/InventoryPage.tsxindex d93aafdbca..6f0e30a8bc 100644--- a/frontend/src/pages/cert-manager/InventoryPage/InventoryPage.tsx+++ b/frontend/src/pages/cert-manager/InventoryPage/InventoryPage.tsx@@ -96,7 +96,7 @@ export const InventoryPage = () => {<Helmet><title>{t("common.head-title", { title: "Inventory" })}</title></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Inventory"diff --git a/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/PkiCollectionDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/PkiCollectionDetailsByIDPage.tsxindex fbae7aaf44..7a2a4f04b9 100644--- a/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/PkiCollectionDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/PkiCollectionDetailsByIDPage/PkiCollectionDetailsByIDPage.tsx@@ -74,7 +74,7 @@ export const PkiCollectionPage = () => {return (<div className="mx-auto flex flex-col justify-between bg-page text-foreground-inverse">{data && (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={<Linkdiff --git a/frontend/src/pages/cert-manager/PkiSubscriberDetailsByIDPage/PkiSubscriberDetailsByIDPage.tsx b/frontend/src/pages/cert-manager/PkiSubscriberDetailsByIDPage/PkiSubscriberDetailsByIDPage.tsxindex c8ae07a3fd..00e2e4a251 100644--- a/frontend/src/pages/cert-manager/PkiSubscriberDetailsByIDPage/PkiSubscriberDetailsByIDPage.tsx+++ b/frontend/src/pages/cert-manager/PkiSubscriberDetailsByIDPage/PkiSubscriberDetailsByIDPage.tsx@@ -77,7 +77,7 @@ const Page = () => {return (<div className="mx-auto flex flex-col justify-between bg-page text-foreground-inverse">{data && (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={<Link@@ -129,16 +129,18 @@ const Page = () => {</DropdownMenuContent></DropdownMenu></PageHeader>- <LegacyPkiDeprecationAlert resource={LegacyPkiResource.PkiSubscriber} />- <div className="flex">- <div className="mr-4 w-96">- <PkiSubscriberDetailsSection- subscriberName={data.name}- handlePopUpOpen={handlePopUpOpen}- />- </div>- <div className="w-full">- <PkiSubscriberCertificatesSection subscriberName={data.name} />+ <div className="flex flex-col gap-8">+ <LegacyPkiDeprecationAlert resource={LegacyPkiResource.PkiSubscriber} />+ <div className="flex">+ <div className="mr-4 w-96">+ <PkiSubscriberDetailsSection+ subscriberName={data.name}+ handlePopUpOpen={handlePopUpOpen}+ />+ </div>+ <div className="w-full">+ <PkiSubscriberCertificatesSection subscriberName={data.name} />+ </div></div></div></div>diff --git a/frontend/src/pages/cert-manager/PkiSubscribersPage/PkiSubscribersPage.tsx b/frontend/src/pages/cert-manager/PkiSubscribersPage/PkiSubscribersPage.tsxindex edd54d5d56..69e8d1c795 100644--- a/frontend/src/pages/cert-manager/PkiSubscribersPage/PkiSubscribersPage.tsx+++ b/frontend/src/pages/cert-manager/PkiSubscribersPage/PkiSubscribersPage.tsx@@ -17,14 +17,16 @@ export const PkiSubscribersPage = () => {</Helmet><div className="h-full bg-page"><div className="mx-auto flex flex-col justify-between text-foreground-inverse">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Subscribers"description="Manage subscribers that request and receive certificates, including user devices, servers, and services."/>- <LegacyPkiDeprecationAlert resource={LegacyPkiResource.PkiSubscriber} />- <PkiSubscriberSection />+ <div className="flex flex-col gap-8">+ <LegacyPkiDeprecationAlert resource={LegacyPkiResource.PkiSubscriber} />+ <PkiSubscriberSection />+ </div></div></div></div>diff --git a/frontend/src/pages/cert-manager/PkiTemplateListPage/PkiTemplateListPage.tsx b/frontend/src/pages/cert-manager/PkiTemplateListPage/PkiTemplateListPage.tsxindex 309f0948ae..cc3d5e2a1a 100644--- a/frontend/src/pages/cert-manager/PkiTemplateListPage/PkiTemplateListPage.tsx+++ b/frontend/src/pages/cert-manager/PkiTemplateListPage/PkiTemplateListPage.tsx@@ -106,193 +106,200 @@ export const PkiTemplateListPage = () => {</Helmet><div className="h-full bg-page"><div className="mx-auto flex flex-col justify-between text-foreground-inverse">- <div className="mx-auto flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Certificate Templates"description="Manage certificate template to request and issue dynamic certificates following a strict format."/>- <LegacyPkiDeprecationAlert resource={LegacyPkiResource.CertificateTemplate} />- <div className="container mx-auto mb-6 max-w-8xl rounded-lg border border-border-control bg-surface-base p-4">- <div className="mb-4 flex justify-between">- <p className="text-xl font-medium text-foreground">Templates</p>- <div className="flex w-full justify-end">- <ProjectPermissionCan- I={ProjectPermissionPkiTemplateActions.Create}- a={ProjectPermissionSub.CertificateTemplates}- >- {(isAllowed) => (- <Button- colorSchema="primary"- type="submit"- leftIcon={<FontAwesomeIcon icon={faPlus} />}- onClick={() => handlePopUpOpen("creationBlocked")}- isDisabled={!isAllowed}- className="ml-4"- >- Add Template- </Button>- )}- </ProjectPermissionCan>+ <div className="flex flex-col gap-8">+ <LegacyPkiDeprecationAlert resource={LegacyPkiResource.CertificateTemplate} />+ <div className="container mx-auto mb-6 max-w-8xl rounded-lg border border-border-control bg-surface-base p-4">+ <div className="mb-4 flex justify-between">+ <p className="text-xl font-medium text-foreground">Templates</p>+ <div className="flex w-full justify-end">+ <ProjectPermissionCan+ I={ProjectPermissionPkiTemplateActions.Create}+ a={ProjectPermissionSub.CertificateTemplates}+ >+ {(isAllowed) => (+ <Button+ colorSchema="primary"+ type="submit"+ leftIcon={<FontAwesomeIcon icon={faPlus} />}+ onClick={() => handlePopUpOpen("creationBlocked")}+ isDisabled={!isAllowed}+ className="ml-4"+ >+ Add Template+ </Button>+ )}+ </ProjectPermissionCan>+ </div></div>- </div>- <TableContainer>- <Table>- <THead>- <Tr>- <Th>Name</Th>- <Th>Issuing CA</Th>- <Th className="w-64">Last Updated At</Th>- <Th />- </Tr>- </THead>- <TBody>- {isPending && <TableSkeleton columns={4} innerKey="project-cert-templates" />}- {!isPending &&- data?.certificateTemplates?.map((template) => {- return (- <Tr className="h-10" key={`certificate-template-${template.id}`}>- <Td>{template.name}</Td>- <Td>- <Tag size="xs">{template.ca.name}</Tag>- </Td>- <Td>{format(new Date(template.updatedAt), "yyyy-MM-dd | HH:mm:ss")}</Td>- <Td className="text-right align-middle">- <DropdownMenu>- <DropdownMenuTrigger asChild className="rounded-lg">- <div className="hover:text-primary-400 data-[state=open]:text-primary-400">- <Tooltip content="More options">- <FontAwesomeIcon size="lg" icon={faEllipsis} />- </Tooltip>- </div>- </DropdownMenuTrigger>- <DropdownMenuContent align="start" className="p-1">- <ProjectPermissionCan- I={ProjectPermissionCertificateActions.Create}- a={ProjectPermissionSub.Certificates}- >- {(isAllowed) => (- <DropdownMenuItem- className={twMerge(- !isAllowed &&- "pointer-events-none cursor-not-allowed opacity-50"- )}- onClick={(e) => {- e.stopPropagation();- handlePopUpOpen("certificateFromTemplate", template);- }}- disabled={!isAllowed}- icon={<FontAwesomeIcon icon={faFileContract} />}- >- Issue Certificate- </DropdownMenuItem>- )}- </ProjectPermissionCan>- <ProjectPermissionCan- I={ProjectPermissionPkiTemplateActions.Edit}- a={ProjectPermissionSub.CertificateTemplates}- >- {(isAllowed) => (- <DropdownMenuItem- className={twMerge(- !isAllowed &&- "pointer-events-none cursor-not-allowed opacity-50"- )}- onClick={(e) => {- e.stopPropagation();- handlePopUpOpen("certificateTemplate", template);- }}- disabled={!isAllowed}- icon={<FontAwesomeIcon icon={faPencil} />}- >- Edit Template- </DropdownMenuItem>- )}- </ProjectPermissionCan>- <ProjectPermissionCan- I={ProjectPermissionPkiTemplateActions.Edit}- a={ProjectPermissionSub.CertificateTemplates}- >- {(isAllowed) => (- <DropdownMenuItem- className={twMerge(- !isAllowed &&- "pointer-events-none cursor-not-allowed opacity-50"- )}- onClick={(e) => {- e.stopPropagation();- if (!subscription.pkiEst) {- handlePopUpOpen("estUpgradePlan", {- isEnterpriseFeature: true- });- return;- }- handlePopUpOpen("enrollmentOptions", {- id: template.id- });- }}- disabled={!isAllowed}- icon={<FontAwesomeIcon icon={faCog} />}- >- Manage Enrollment- </DropdownMenuItem>- )}- </ProjectPermissionCan>- <ProjectPermissionCan- I={ProjectPermissionPkiTemplateActions.Delete}- a={ProjectPermissionSub.CertificateTemplates}- >- {(isAllowed) => (- <DropdownMenuItem- className={twMerge(- !isAllowed &&- "pointer-events-none cursor-not-allowed opacity-50"- )}- onClick={(e) => {- e.stopPropagation();- handlePopUpOpen("deleteTemplate", template);- }}- disabled={!isAllowed}- icon={<FontAwesomeIcon icon={faTrash} />}- >- Delete Template- </DropdownMenuItem>- )}- </ProjectPermissionCan>- </DropdownMenuContent>- </DropdownMenu>- </Td>- </Tr>- );- })}- {!isPending && !data?.certificateTemplates?.length && (+ <TableContainer>+ <Table>+ <THead><Tr>- <Td colSpan={4}>- <EmptyState title="No certificate templates found" icon={faCertificate} />- </Td>+ <Th>Name</Th>+ <Th>Issuing CA</Th>+ <Th className="w-64">Last Updated At</Th>+ <Th /></Tr>+ </THead>+ <TBody>+ {isPending && <TableSkeleton columns={4} innerKey="project-cert-templates" />}+ {!isPending &&+ data?.certificateTemplates?.map((template) => {+ return (+ <Tr className="h-10" key={`certificate-template-${template.id}`}>+ <Td>{template.name}</Td>+ <Td>+ <Tag size="xs">{template.ca.name}</Tag>+ </Td>+ <Td>+ {format(new Date(template.updatedAt), "yyyy-MM-dd | HH:mm:ss")}+ </Td>+ <Td className="text-right align-middle">+ <DropdownMenu>+ <DropdownMenuTrigger asChild className="rounded-lg">+ <div className="hover:text-primary-400 data-[state=open]:text-primary-400">+ <Tooltip content="More options">+ <FontAwesomeIcon size="lg" icon={faEllipsis} />+ </Tooltip>+ </div>+ </DropdownMenuTrigger>+ <DropdownMenuContent align="start" className="p-1">+ <ProjectPermissionCan+ I={ProjectPermissionCertificateActions.Create}+ a={ProjectPermissionSub.Certificates}+ >+ {(isAllowed) => (+ <DropdownMenuItem+ className={twMerge(+ !isAllowed &&+ "pointer-events-none cursor-not-allowed opacity-50"+ )}+ onClick={(e) => {+ e.stopPropagation();+ handlePopUpOpen("certificateFromTemplate", template);+ }}+ disabled={!isAllowed}+ icon={<FontAwesomeIcon icon={faFileContract} />}+ >+ Issue Certificate+ </DropdownMenuItem>+ )}+ </ProjectPermissionCan>+ <ProjectPermissionCan+ I={ProjectPermissionPkiTemplateActions.Edit}+ a={ProjectPermissionSub.CertificateTemplates}+ >+ {(isAllowed) => (+ <DropdownMenuItem+ className={twMerge(+ !isAllowed &&+ "pointer-events-none cursor-not-allowed opacity-50"+ )}+ onClick={(e) => {+ e.stopPropagation();+ handlePopUpOpen("certificateTemplate", template);+ }}+ disabled={!isAllowed}+ icon={<FontAwesomeIcon icon={faPencil} />}+ >+ Edit Template+ </DropdownMenuItem>+ )}+ </ProjectPermissionCan>+ <ProjectPermissionCan+ I={ProjectPermissionPkiTemplateActions.Edit}+ a={ProjectPermissionSub.CertificateTemplates}+ >+ {(isAllowed) => (+ <DropdownMenuItem+ className={twMerge(+ !isAllowed &&+ "pointer-events-none cursor-not-allowed opacity-50"+ )}+ onClick={(e) => {+ e.stopPropagation();+ if (!subscription.pkiEst) {+ handlePopUpOpen("estUpgradePlan", {+ isEnterpriseFeature: true+ });+ return;+ }+ handlePopUpOpen("enrollmentOptions", {+ id: template.id+ });+ }}+ disabled={!isAllowed}+ icon={<FontAwesomeIcon icon={faCog} />}+ >+ Manage Enrollment+ </DropdownMenuItem>+ )}+ </ProjectPermissionCan>+ <ProjectPermissionCan+ I={ProjectPermissionPkiTemplateActions.Delete}+ a={ProjectPermissionSub.CertificateTemplates}+ >+ {(isAllowed) => (+ <DropdownMenuItem+ className={twMerge(+ !isAllowed &&+ "pointer-events-none cursor-not-allowed opacity-50"+ )}+ onClick={(e) => {+ e.stopPropagation();+ handlePopUpOpen("deleteTemplate", template);+ }}+ disabled={!isAllowed}+ icon={<FontAwesomeIcon icon={faTrash} />}+ >+ Delete Template+ </DropdownMenuItem>+ )}+ </ProjectPermissionCan>+ </DropdownMenuContent>+ </DropdownMenu>+ </Td>+ </Tr>+ );+ })}+ {!isPending && !data?.certificateTemplates?.length && (+ <Tr>+ <Td colSpan={4}>+ <EmptyState+ title="No certificate templates found"+ icon={faCertificate}+ />+ </Td>+ </Tr>+ )}+ </TBody>+ </Table>+ {!isPending &&+ data?.totalCount !== undefined &&+ data.totalCount >= PER_PAGE_INIT && (+ <Pagination+ count={data.totalCount}+ page={page}+ perPage={perPage}+ onChangePage={(newPage) => setPage(newPage)}+ onChangePerPage={(newPerPage) => setPerPage(newPerPage)}+ />)}- </TBody>- </Table>- {!isPending &&- data?.totalCount !== undefined &&- data.totalCount >= PER_PAGE_INIT && (- <Pagination- count={data.totalCount}- page={page}- perPage={perPage}- onChangePage={(newPage) => setPage(newPage)}- onChangePerPage={(newPerPage) => setPerPage(newPerPage)}- />- )}- </TableContainer>- <DeleteActionModal- isOpen={popUp.deleteTemplate.isOpen}- title="Are you sure you want to remove the PKI Template?"- onChange={(isOpen) => handlePopUpToggle("deleteTemplate", isOpen)}- deleteKey="confirm"- onDeleteApproved={() => onRemovePkiSubscriberSubmit()}- />+ </TableContainer>+ <DeleteActionModal+ isOpen={popUp.deleteTemplate.isOpen}+ title="Are you sure you want to remove the PKI Template?"+ onChange={(isOpen) => handlePopUpToggle("deleteTemplate", isOpen)}+ deleteKey="confirm"+ onDeleteApproved={() => onRemovePkiSubscriberSubmit()}+ />+ </div></div></div><div className="container mx-auto max-w-8xl" />diff --git a/frontend/src/pages/cert-manager/PoliciesPage/PoliciesPage.tsx b/frontend/src/pages/cert-manager/PoliciesPage/PoliciesPage.tsxindex b294f8ef07..9243ea5f48 100644--- a/frontend/src/pages/cert-manager/PoliciesPage/PoliciesPage.tsx+++ b/frontend/src/pages/cert-manager/PoliciesPage/PoliciesPage.tsx@@ -135,7 +135,7 @@ export const PoliciesPage = () => {<Helmet><title>{t("common.head-title", { title: "Certificate Manager" })}</title></Helmet>- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Certificate Manager"diff --git a/frontend/src/pages/cert-manager/RequestsPage/RequestsPage.tsx b/frontend/src/pages/cert-manager/RequestsPage/RequestsPage.tsxindex 3d7f9763a8..8d8fa40fe8 100644--- a/frontend/src/pages/cert-manager/RequestsPage/RequestsPage.tsx+++ b/frontend/src/pages/cert-manager/RequestsPage/RequestsPage.tsx@@ -247,7 +247,7 @@ export const RequestsPage = () => {</Helmet><div className="h-full bg-page"><div className="mx-auto flex flex-col text-foreground-inverse">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Approval Requests"diff --git a/frontend/src/pages/cert-manager/SettingsPage/SettingsPage.tsx b/frontend/src/pages/cert-manager/SettingsPage/SettingsPage.tsxindex 7664442d51..f514919fb4 100644--- a/frontend/src/pages/cert-manager/SettingsPage/SettingsPage.tsx+++ b/frontend/src/pages/cert-manager/SettingsPage/SettingsPage.tsx@@ -25,7 +25,7 @@ export const SettingsPage = () => {<Helmet><title>Settings</title></Helmet>- <div className="flex w-full max-w-8xl flex-col gap-8">+ <div className="flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.CertificateManager}title="Settings"diff --git a/frontend/src/pages/cert-manager/SignerDetailPage/SignerDetailPage.tsx b/frontend/src/pages/cert-manager/SignerDetailPage/SignerDetailPage.tsxindex 00ba7150f9..2e31c7c1c7 100644--- a/frontend/src/pages/cert-manager/SignerDetailPage/SignerDetailPage.tsx+++ b/frontend/src/pages/cert-manager/SignerDetailPage/SignerDetailPage.tsx@@ -143,7 +143,7 @@ export const SignerDetailPage = () => {</Helmet><div className="h-full bg-page"><div className="mx-auto flex flex-col text-foreground-inverse">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderbackLink={<Link@@ -265,51 +265,56 @@ export const SignerDetailPage = () => {</DropdownMenu></PageHeader>- {!signer.caId && (- <div className="mb-4 rounded-md border border-warning/40 bg-warning/10 p-3 text-sm text-warning">- This signer has no Certificate Authority attached, so its certificate cannot be- auto-renewed. Once it expires, signing will stop until you create a new signer.- </div>- )}+ <div className="flex flex-col gap-8">+ {!signer.caId && (+ <div className="mb-4 rounded-md border border-warning/40 bg-warning/10 p-3 text-sm text-warning">+ This signer has no Certificate Authority attached, so its certificate cannot be+ auto-renewed. Once it expires, signing will stop until you create a new signer.+ </div>+ )}- <Tabs- value={activeTab}- onValueChange={(v) =>- navigate({- to: ROUTE_PATHS.CertManager.SignerDetailByIDPage.path,- params: { orgId: currentOrg.id, projectId: currentProject.id, signerId },- search: { selectedTab: v as Tab }- })- }- >- <TabsList variant="project" aria-label="Signer sections">- <TabsTrigger value="activity">Activity</TabsTrigger>- <TabsTrigger value="approvals">Approvals</TabsTrigger>- <TabsTrigger value="members">Members</TabsTrigger>- </TabsList>+ <Tabs+ value={activeTab}+ onValueChange={(v) =>+ navigate({+ to: ROUTE_PATHS.CertManager.SignerDetailByIDPage.path,+ params: { orgId: currentOrg.id, projectId: currentProject.id, signerId },+ search: { selectedTab: v as Tab }+ })+ }+ >+ <TabsList variant="project" aria-label="Signer sections">+ <TabsTrigger value="activity">Activity</TabsTrigger>+ <TabsTrigger value="approvals">Approvals</TabsTrigger>+ <TabsTrigger value="members">Members</TabsTrigger>+ </TabsList>- <TabsContent value="activity" className="pt-2">- <SigningOperationsTable- signer={signer}- signerId={signerId}- projectId={currentProject.id}- />- </TabsContent>- <TabsContent value="approvals" className="pt-2">- <SignerApprovalsSection- signerId={signerId}- canPreApprove={Boolean(- permission.can(SignerPermissionActions.PreApprove, SignerPermissionSub.Signer)- )}- canRequestSign={Boolean(- permission.can(SignerPermissionActions.RequestSign, SignerPermissionSub.Signer)- )}- />- </TabsContent>- <TabsContent value="members" className="pt-2">- <SignerMembersTab signerId={signerId} />- </TabsContent>- </Tabs>+ <TabsContent value="activity" className="pt-2">+ <SigningOperationsTable+ signer={signer}+ signerId={signerId}+ projectId={currentProject.id}+ />+ </TabsContent>+ <TabsContent value="approvals" className="pt-2">+ <SignerApprovalsSection+ signerId={signerId}+ canPreApprove={Boolean(+ permission.can(SignerPermissionActions.PreApprove, SignerPermissionSub.Signer)+ )}+ canRequestSign={Boolean(+ permission.can(+ SignerPermissionActions.RequestSign,+ SignerPermissionSub.Signer+ )+ )}+ />+ </TabsContent>+ <TabsContent value="members" className="pt-2">+ <SignerMembersTab signerId={signerId} />+ </TabsContent>+ </Tabs>+ </div></div></div></div>diff --git a/frontend/src/pages/kms/KmipPage/KmipPage.tsx b/frontend/src/pages/kms/KmipPage/KmipPage.tsxindex 117d802c44..78301a9381 100644--- a/frontend/src/pages/kms/KmipPage/KmipPage.tsx+++ b/frontend/src/pages/kms/KmipPage/KmipPage.tsx@@ -17,7 +17,7 @@ export const KmipPage = () => {<title>{t("common.head-title", { title: "KMS" })}</title></Helmet><div className="mx-auto flex flex-col bg-page text-foreground">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={ProjectType.KMS}title="KMIP"diff --git a/frontend/src/pages/kms/OverviewPage/OverviewPage.tsx b/frontend/src/pages/kms/OverviewPage/OverviewPage.tsxindex 268dbdeb67..30d9ed35b7 100644--- a/frontend/src/pages/kms/OverviewPage/OverviewPage.tsx+++ b/frontend/src/pages/kms/OverviewPage/OverviewPage.tsx@@ -2,7 +2,7 @@ import { Helmet } from "react-helmet";import { useTranslation } from "react-i18next";import { ProjectPermissionCan } from "@app/components/permissions";-import { PageHeader } from "@app/components/v2";+import { PageHeader } from "@app/components/v3/platform";import { ProjectPermissionActions, ProjectPermissionSub } from "@app/context";import { ProjectType } from "@app/hooks/api/projects/types";diff --git a/frontend/src/pages/kms/SettingsPage/SettingsPage.tsx b/frontend/src/pages/kms/SettingsPage/SettingsPage.tsxindex 07661ed8e3..7d7e9ca97f 100644--- a/frontend/src/pages/kms/SettingsPage/SettingsPage.tsx+++ b/frontend/src/pages/kms/SettingsPage/SettingsPage.tsx@@ -1,8 +1,9 @@import { Helmet } from "react-helmet";import { useTranslation } from "react-i18next";-import { PageHeader, TabPanel, Tabs } from "@app/components/v2";+import { TabPanel, Tabs } from "@app/components/v2";import { LookingForOrgPageLink } from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { ProjectType } from "@app/hooks/api/projects/types";import { ProjectGeneralTab } from "@app/pages/project/SettingsPage/components/ProjectGeneralTab";@@ -32,7 +33,7 @@ export const SettingsPage = () => {</PageHeader><Tabs orientation="vertical" defaultValue={tabs[0].key}>{tabs.map(({ key, Component }) => (- <TabPanel value={key} key={key}>+ <TabPanel className="pt-0" value={key} key={key}><Component /></TabPanel>))}diff --git a/frontend/src/pages/organization/AccessManagementPage/AccessManagementPage.tsx b/frontend/src/pages/organization/AccessManagementPage/AccessManagementPage.tsxindex 4dbedac0d9..a4683fbcc0 100644--- a/frontend/src/pages/organization/AccessManagementPage/AccessManagementPage.tsx+++ b/frontend/src/pages/organization/AccessManagementPage/AccessManagementPage.tsx@@ -6,7 +6,7 @@ import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";import { useNavigate, useSearch } from "@tanstack/react-router";import { OrgPermissionGuardBanner } from "@app/components/permissions/OrgPermissionCan";-import { Button, PageHeader } from "@app/components/v2";+import { Button } from "@app/components/v2";import {LookingForOrgPageLink,Tabs,@@ -14,6 +14,7 @@ import {TabsList,TabsTrigger} from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import {OrgPermissionActions,diff --git a/frontend/src/pages/organization/AuditLogsPage/AuditLogsPage.tsx b/frontend/src/pages/organization/AuditLogsPage/AuditLogsPage.tsxindex a7197e0d89..ee4f06b2af 100644--- a/frontend/src/pages/organization/AuditLogsPage/AuditLogsPage.tsx+++ b/frontend/src/pages/organization/AuditLogsPage/AuditLogsPage.tsx@@ -1,7 +1,6 @@import { Helmet } from "react-helmet";import { useNavigate, useSearch } from "@tanstack/react-router";-import { PageHeader } from "@app/components/v2";import {LookingForOrgPageLink,Tabs,@@ -9,6 +8,7 @@ import {TabsList,TabsTrigger} from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { useOrganization } from "@app/context";diff --git a/frontend/src/pages/organization/BillingPage/OfflineBillingPage.tsx b/frontend/src/pages/organization/BillingPage/OfflineBillingPage.tsxindex b701eee44c..0ca8aa1de7 100644--- a/frontend/src/pages/organization/BillingPage/OfflineBillingPage.tsx+++ b/frontend/src/pages/organization/BillingPage/OfflineBillingPage.tsx@@ -3,8 +3,8 @@ import { useTranslation } from "react-i18next";import { TriangleAlert } from "lucide-react";import { OrgPermissionCan } from "@app/components/permissions";-import { PageHeader } from "@app/components/v2";import { Alert, AlertDescription, AlertTitle } from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { OrgPermissionBillingActions, OrgPermissionSubjects } from "@app/context";// Standalone billing page for offline (air-gapped) licenses. It makes no API calls — the licensediff --git a/frontend/src/pages/organization/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx b/frontend/src/pages/organization/GroupDetailsByIDPage/GroupDetailsByIDPage.tsxindex 322b8a18b4..40d31c79c3 100644--- a/frontend/src/pages/organization/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx+++ b/frontend/src/pages/organization/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx@@ -5,7 +5,7 @@ import { ChevronLeftIcon, EllipsisIcon } from "lucide-react";import { createNotification } from "@app/components/notifications";import { OrgPermissionCan } from "@app/components/permissions";-import { DeleteActionModal, PageHeader, Spinner } from "@app/components/v2";+import { DeleteActionModal, Spinner } from "@app/components/v2";import {Button,DropdownMenu,@@ -13,6 +13,7 @@ import {DropdownMenuItem,DropdownMenuTrigger} from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { OrgPermissionGroupActions, OrgPermissionSubjects, useOrganization } from "@app/context";import { useDeleteGroup } from "@app/hooks/api";diff --git a/frontend/src/pages/organization/IntegrationsPage/IntegrationsPage.tsx b/frontend/src/pages/organization/IntegrationsPage/IntegrationsPage.tsxindex 9e20438fdc..a9127659d5 100644--- a/frontend/src/pages/organization/IntegrationsPage/IntegrationsPage.tsx+++ b/frontend/src/pages/organization/IntegrationsPage/IntegrationsPage.tsx@@ -93,7 +93,7 @@ export const IntegrationsPage = () => {<meta property="og:image" content="/images/message.png" /></Helmet><div className="flex w-full justify-center bg-page text-foreground-inverse">- <div className="flex w-full max-w-8xl flex-col gap-8">+ <div className="flex w-full max-w-8xl flex-col"><PageHeaderscope={isSubOrganization ? "namespace" : "org"}title="Integrations"diff --git a/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/KmipServerDetailsByIDPage.tsx b/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/KmipServerDetailsByIDPage.tsxindex 7a9dd77530..65782d3f5e 100644--- a/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/KmipServerDetailsByIDPage.tsx+++ b/frontend/src/pages/organization/KmipServersPage/KmipServerDetailsByIDPage/KmipServerDetailsByIDPage.tsx@@ -62,7 +62,7 @@ const Page = () => {}return (- <div className="mx-auto flex max-w-8xl flex-col gap-8">+ <div className="mx-auto flex max-w-8xl flex-col"><KmipServerPageHeaderkmipServer={kmipServer}orgId={orgId}diff --git a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayPageHeader/GatewayPageHeader.tsx b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayPageHeader/GatewayPageHeader.tsxindex 834a3537d6..21d12ca1d0 100644--- a/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayPageHeader/GatewayPageHeader.tsx+++ b/frontend/src/pages/organization/NetworkingPage/GatewayDetailsByIDPage/components/GatewayPageHeader/GatewayPageHeader.tsx@@ -10,7 +10,6 @@ import {import { createNotification } from "@app/components/notifications";import { OrgPermissionCan } from "@app/components/permissions";-import { PageHeader } from "@app/components/v2";import {Alert,AlertDescription,@@ -29,6 +28,7 @@ import {DropdownMenuItem,DropdownMenuTrigger} from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import {OrgGatewayPermissionActions,OrgPermissionSubjectsdiff --git a/frontend/src/pages/organization/NetworkingPage/NetworkingPage.tsx b/frontend/src/pages/organization/NetworkingPage/NetworkingPage.tsxindex 5057965d77..feaed94114 100644--- a/frontend/src/pages/organization/NetworkingPage/NetworkingPage.tsx+++ b/frontend/src/pages/organization/NetworkingPage/NetworkingPage.tsx@@ -15,7 +15,7 @@ export const NetworkingPage = () => {<meta property="og:image" content="/images/message.png" /></Helmet><div className="flex w-full justify-center bg-page text-foreground-inverse">- <div className="flex w-full max-w-8xl flex-col gap-8">+ <div className="flex w-full max-w-8xl flex-col"><PageHeaderscope={isSubOrganization ? "namespace" : "org"}title="Networking"diff --git a/frontend/src/pages/organization/NetworkingPage/RelayDetailsByIDPage/components/RelayPageHeader/RelayPageHeader.tsx b/frontend/src/pages/organization/NetworkingPage/RelayDetailsByIDPage/components/RelayPageHeader/RelayPageHeader.tsxindex 550714282b..228bab8c03 100644--- a/frontend/src/pages/organization/NetworkingPage/RelayDetailsByIDPage/components/RelayPageHeader/RelayPageHeader.tsx+++ b/frontend/src/pages/organization/NetworkingPage/RelayDetailsByIDPage/components/RelayPageHeader/RelayPageHeader.tsx@@ -3,7 +3,6 @@ import { BanIcon, CopyIcon, EllipsisIcon, TrashIcon } from "lucide-react";import { createNotification } from "@app/components/notifications";import { OrgPermissionCan } from "@app/components/permissions";-import { PageHeader } from "@app/components/v2";import {Alert,AlertDescription,@@ -22,6 +21,7 @@ import {DropdownMenuItem,DropdownMenuTrigger} from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import {OrgPermissionSubjects,OrgRelayPermissionActionsdiff --git a/frontend/src/pages/organization/OauthApplicationsPage/OauthApplicationsPage.tsx b/frontend/src/pages/organization/OauthApplicationsPage/OauthApplicationsPage.tsxindex 4419edc152..a1d01d4a0a 100644--- a/frontend/src/pages/organization/OauthApplicationsPage/OauthApplicationsPage.tsx+++ b/frontend/src/pages/organization/OauthApplicationsPage/OauthApplicationsPage.tsx@@ -15,7 +15,7 @@ export const OauthApplicationsPage = () => {<meta property="og:image" content="/images/message.png" /></Helmet><div className="flex w-full justify-center bg-page text-foreground-inverse">- <div className="flex w-full max-w-8xl flex-col gap-8">+ <div className="flex w-full max-w-8xl flex-col"><PageHeaderscope={isSubOrganization ? "namespace" : "org"}title="OAuth Applications"diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsxindex 6f8e6c3a61..99e8308fc3 100644--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatePage.tsx@@ -3,8 +3,9 @@ import { ChevronLeft, Pencil, Trash2 } from "lucide-react";import { createNotification } from "@app/components/notifications";import { OrgPermissionCan } from "@app/components/permissions";-import { DeleteActionModal, PageHeader } from "@app/components/v2";+import { DeleteActionModal } from "@app/components/v2";import { Button } from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { OrgPermissionActions, OrgPermissionSubjects } from "@app/context";import { getProjectTitle } from "@app/helpers/project";import { usePopUp } from "@app/hooks";diff --git a/frontend/src/pages/organization/ProjectsPage/ProjectTypePage/ProjectTypePage.tsx b/frontend/src/pages/organization/ProjectsPage/ProjectTypePage/ProjectTypePage.tsxindex 7f116b57fc..8030c268d9 100644--- a/frontend/src/pages/organization/ProjectsPage/ProjectTypePage/ProjectTypePage.tsx+++ b/frontend/src/pages/organization/ProjectsPage/ProjectTypePage/ProjectTypePage.tsx@@ -340,7 +340,7 @@ const ProjectTypeContent = ({const typeTitle = getProjectTitle(projectType);return (- <div className="mx-auto flex max-w-8xl flex-col gap-8">+ <div className="mx-auto flex max-w-8xl flex-col"><Helmet><title>{typeTitle} Projects</title><link rel="icon" href="/infisical.ico" />diff --git a/frontend/src/pages/organization/ProjectsPage/ProjectsPage.tsx b/frontend/src/pages/organization/ProjectsPage/ProjectsPage.tsxindex 9f469bf12f..7cf4db133a 100644--- a/frontend/src/pages/organization/ProjectsPage/ProjectsPage.tsx+++ b/frontend/src/pages/organization/ProjectsPage/ProjectsPage.tsx@@ -5,7 +5,7 @@ import { Outlet, useMatches } from "@tanstack/react-router";import { AnnouncementModal } from "@app/components/announcements/AnnouncementModal";import { useAnnouncementSeen } from "@app/components/announcements/useAnnouncementSeen";-import { PageHeader } from "@app/components/v2";+import { PageHeader } from "@app/components/v3/platform";import { useOrganization } from "@app/context";import { useGetRecentAnnouncements } from "@app/hooks/api/announcement";diff --git a/frontend/src/pages/organization/RoleByIDPage/RoleByIDPage.tsx b/frontend/src/pages/organization/RoleByIDPage/RoleByIDPage.tsxindex 533dd8c9c9..d5404b2996 100644--- a/frontend/src/pages/organization/RoleByIDPage/RoleByIDPage.tsx+++ b/frontend/src/pages/organization/RoleByIDPage/RoleByIDPage.tsx@@ -6,7 +6,7 @@ import { twMerge } from "tailwind-merge";import { createNotification } from "@app/components/notifications";import { OrgPermissionCan } from "@app/components/permissions";-import { DeleteActionModal, PageHeader } from "@app/components/v2";+import { DeleteActionModal } from "@app/components/v2";import {Button,DropdownMenu,@@ -14,6 +14,7 @@ import {DropdownMenuItem,DropdownMenuTrigger} from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { OrgPermissionActions, OrgPermissionSubjects, useOrganization } from "@app/context";import { useDeleteOrgRole, useGetOrgRole } from "@app/hooks/api";diff --git a/frontend/src/pages/organization/SecretSharingPage/SecretSharingPage.tsx b/frontend/src/pages/organization/SecretSharingPage/SecretSharingPage.tsxindex ea33738356..8025452ae4 100644--- a/frontend/src/pages/organization/SecretSharingPage/SecretSharingPage.tsx+++ b/frontend/src/pages/organization/SecretSharingPage/SecretSharingPage.tsx@@ -21,7 +21,7 @@ export const SecretSharingPage = () => {/></Helmet><div className="h-full">- <div className="mx-auto flex h-full w-full max-w-8xl flex-col gap-8 bg-page text-foreground-inverse">+ <div className="mx-auto flex h-full w-full max-w-8xl flex-col bg-page text-foreground-inverse"><PageHeaderscope={ProjectType.SecretManager}title="Secret Sharing"diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgTabGroup/OrgTabGroup.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgTabGroup/OrgTabGroup.tsxindex dc21ee0d15..793b6f2f82 100644--- a/frontend/src/pages/organization/SettingsPage/components/OrgTabGroup/OrgTabGroup.tsx+++ b/frontend/src/pages/organization/SettingsPage/components/OrgTabGroup/OrgTabGroup.tsx@@ -91,7 +91,7 @@ export const OrgTabGroup = () => {const pageTitle = selectedTabName ? `${selectedTabName} - ${settingsTitle}` : settingsTitle;return (- <div className="flex w-full flex-col gap-8">+ <div className="flex w-full flex-col"><Helmet><title>{t("common.head-title", { title: pageTitle })}</title></Helmet>diff --git a/frontend/src/pages/organization/SsoPage/SsoPage.tsx b/frontend/src/pages/organization/SsoPage/SsoPage.tsxindex d63fa1f547..e9eb21ca14 100644--- a/frontend/src/pages/organization/SsoPage/SsoPage.tsx+++ b/frontend/src/pages/organization/SsoPage/SsoPage.tsx@@ -39,7 +39,7 @@ export const SsoPage = () => {<meta property="og:image" content="/images/message.png" /></Helmet><div className="flex w-full justify-center bg-page text-foreground-inverse">- <div className="flex w-full max-w-8xl flex-col gap-8">+ <div className="flex w-full max-w-8xl flex-col"><PageHeaderscope={isSubOrganization ? "namespace" : "org"}title="SSO & Provisioning"diff --git a/frontend/src/pages/pam/PamAccessControlPage/PamAccessControlPage.tsx b/frontend/src/pages/pam/PamAccessControlPage/PamAccessControlPage.tsxindex b3ef9c234e..2f1903dd5e 100644--- a/frontend/src/pages/pam/PamAccessControlPage/PamAccessControlPage.tsx+++ b/frontend/src/pages/pam/PamAccessControlPage/PamAccessControlPage.tsx@@ -3,8 +3,8 @@ import { useTranslation } from "react-i18next";import { useNavigate, useSearch } from "@tanstack/react-router";import { Shield } from "lucide-react";-import { PageHeader } from "@app/components/v2";import { Badge, Tabs, TabsContent, TabsList, TabsTrigger } from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { useOrganization, useProject } from "@app/context";import {useGetWorkspaceUsers,diff --git a/frontend/src/pages/pam/PamAccountsPage/PamAccountsPage.tsx b/frontend/src/pages/pam/PamAccountsPage/PamAccountsPage.tsxindex 0e4192da2d..e3880c0a0b 100644--- a/frontend/src/pages/pam/PamAccountsPage/PamAccountsPage.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/PamAccountsPage.tsx@@ -5,7 +5,6 @@ import { useNavigate } from "@tanstack/react-router";import { ChevronDown, FolderOpen, FolderPlus, Plus, Search } from "lucide-react";import { createNotification } from "@app/components/notifications";-import { PageHeader } from "@app/components/v2";import {Button,ButtonGroup,@@ -39,6 +38,7 @@ import {TooltipTrigger} from "@app/components/v3";import { Skeleton } from "@app/components/v3/generic/Skeleton";+import { PageHeader } from "@app/components/v3/platform";import { useOrganization } from "@app/context";import {PamAccessType,diff --git a/frontend/src/pages/pam/PamAccountsPage/PamFolderPage/PamFolderPage.tsx b/frontend/src/pages/pam/PamAccountsPage/PamFolderPage/PamFolderPage.tsxindex 9c5a6c6c71..2a44d48d5d 100644--- a/frontend/src/pages/pam/PamAccountsPage/PamFolderPage/PamFolderPage.tsx+++ b/frontend/src/pages/pam/PamAccountsPage/PamFolderPage/PamFolderPage.tsx@@ -5,7 +5,6 @@ import { Link, useNavigate, useParams } from "@tanstack/react-router";import { Filter, FolderOpen, MoreHorizontal, Plus, Search, Settings, Trash2 } from "lucide-react";import { createNotification } from "@app/components/notifications";-import { PageHeader } from "@app/components/v2";import {Button,Card,@@ -43,6 +42,7 @@ import {TooltipTrigger} from "@app/components/v3";import { Skeleton } from "@app/components/v3/generic/Skeleton";+import { PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import {PamAccessType,diff --git a/frontend/src/pages/pam/PamApprovalRequestsPage/PamApprovalRequestsPage.tsx b/frontend/src/pages/pam/PamApprovalRequestsPage/PamApprovalRequestsPage.tsxindex 2689e63663..fe0596ca3c 100644--- a/frontend/src/pages/pam/PamApprovalRequestsPage/PamApprovalRequestsPage.tsx+++ b/frontend/src/pages/pam/PamApprovalRequestsPage/PamApprovalRequestsPage.tsx@@ -5,7 +5,6 @@ import { useNavigate, useSearch } from "@tanstack/react-router";import { format } from "date-fns";import { FolderOpen, SearchIcon, ShieldCheck } from "lucide-react";-import { PageHeader } from "@app/components/v2";import {Badge,Card,@@ -31,6 +30,7 @@ import {TableHeader,TableRow} from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import {getUserTablePreference,PreferenceKey,diff --git a/frontend/src/pages/pam/PamAuditLogsPage/PamAuditLogsPage.tsx b/frontend/src/pages/pam/PamAuditLogsPage/PamAuditLogsPage.tsxindex fab447242f..cec6ee971d 100644--- a/frontend/src/pages/pam/PamAuditLogsPage/PamAuditLogsPage.tsx+++ b/frontend/src/pages/pam/PamAuditLogsPage/PamAuditLogsPage.tsx@@ -2,7 +2,7 @@ import { Helmet } from "react-helmet";import { useTranslation } from "react-i18next";import { FileText } from "lucide-react";-import { PageHeader } from "@app/components/v2";+import { PageHeader } from "@app/components/v3/platform";import { useProject } from "@app/context";import { ProjectType } from "@app/hooks/api/projects/types";import { LogsSection } from "@app/pages/organization/AuditLogsPage/components";diff --git a/frontend/src/pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsx b/frontend/src/pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsxindex ebe47420bc..7f2b66cbbb 100644--- a/frontend/src/pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsx+++ b/frontend/src/pages/pam/PamDiscoveryPage/PamDiscoveryPage.tsx@@ -5,7 +5,7 @@ import { MoreHorizontal, Plus, Radar, Search, Trash2 } from "lucide-react";import { createNotification } from "@app/components/notifications";import { HighlightText } from "@app/components/utilities/HighlightText";-import { DeleteActionModal, PageHeader } from "@app/components/v2";+import { DeleteActionModal } from "@app/components/v2";import {Button,Card,@@ -37,6 +37,7 @@ import {TableRow} from "@app/components/v3";import { Skeleton } from "@app/components/v3/generic/Skeleton";+import { PageHeader } from "@app/components/v3/platform";import {TPamDiscoverySource,useDeletePamDiscoverySource,diff --git a/frontend/src/pages/pam/PamSessionsPage/PamSessionsPage.tsx b/frontend/src/pages/pam/PamSessionsPage/PamSessionsPage.tsxindex 7a2cc296cc..64435effab 100644--- a/frontend/src/pages/pam/PamSessionsPage/PamSessionsPage.tsx+++ b/frontend/src/pages/pam/PamSessionsPage/PamSessionsPage.tsx@@ -7,7 +7,7 @@ import { Activity, Ban, SearchIcon, Video } from "lucide-react";import { createNotification } from "@app/components/notifications";import { HighlightText } from "@app/components/utilities/HighlightText";-import { DeleteActionModal, PageHeader } from "@app/components/v2";+import { DeleteActionModal } from "@app/components/v2";import {Badge,Button,@@ -39,6 +39,7 @@ import {TableHeader,TableRow} from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { useOrganization, useProject } from "@app/context";import {getUserTablePreference,diff --git a/frontend/src/pages/pam/PamTemplatesPage/PamTemplatesPage.tsx b/frontend/src/pages/pam/PamTemplatesPage/PamTemplatesPage.tsxindex 1aeb8f32c0..87d43a3d32 100644--- a/frontend/src/pages/pam/PamTemplatesPage/PamTemplatesPage.tsx+++ b/frontend/src/pages/pam/PamTemplatesPage/PamTemplatesPage.tsx@@ -5,7 +5,6 @@ import { ClipboardList, Layers, MoreHorizontal, Plus, Search, Trash2 } from "lucimport { createNotification } from "@app/components/notifications";import { HighlightText } from "@app/components/utilities/HighlightText";-import { PageHeader } from "@app/components/v2";import {Button,Card,@@ -42,6 +41,7 @@ import {TableRow} from "@app/components/v3";import { Skeleton } from "@app/components/v3/generic/Skeleton";+import { PageHeader } from "@app/components/v3/platform";import {TPamAccountTemplateWithCount,useDeletePamAccountTemplate,diff --git a/frontend/src/pages/project/AccessControlPage/AccessControlPage.tsx b/frontend/src/pages/project/AccessControlPage/AccessControlPage.tsxindex d935c70880..77bf84b131 100644--- a/frontend/src/pages/project/AccessControlPage/AccessControlPage.tsx+++ b/frontend/src/pages/project/AccessControlPage/AccessControlPage.tsx@@ -65,7 +65,7 @@ const Page = () => {return (<div className="mx-auto flex flex-col justify-between bg-page text-foreground">- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={currentProject.type}title={isCertManager ? "Access Control" : "Project Access Control"}diff --git a/frontend/src/pages/project/AppConnectionsPage/AppConnectionsPage.tsx b/frontend/src/pages/project/AppConnectionsPage/AppConnectionsPage.tsxindex 6d8fe3617d..de52acc3e5 100644--- a/frontend/src/pages/project/AppConnectionsPage/AppConnectionsPage.tsx+++ b/frontend/src/pages/project/AppConnectionsPage/AppConnectionsPage.tsx@@ -1,6 +1,6 @@import { Helmet } from "react-helmet";-import { PageHeader } from "@app/components/v2";+import { PageHeader } from "@app/components/v3/platform";import { useProject } from "@app/context";import {ProjectPermissionAppConnectionActions,diff --git a/frontend/src/pages/project/AuditLogsPage/AuditLogsPage.tsx b/frontend/src/pages/project/AuditLogsPage/AuditLogsPage.tsxindex d7ad2c63e7..f893c078c0 100644--- a/frontend/src/pages/project/AuditLogsPage/AuditLogsPage.tsx+++ b/frontend/src/pages/project/AuditLogsPage/AuditLogsPage.tsx@@ -1,7 +1,7 @@import { Helmet } from "react-helmet";-import { PageHeader } from "@app/components/v2";import { LookingForOrgPageLink } from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { useProject } from "@app/context";import { ProjectType } from "@app/hooks/api/projects/types";import { LogsSection } from "@app/pages/organization/AuditLogsPage/components";diff --git a/frontend/src/pages/project/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx b/frontend/src/pages/project/GroupDetailsByIDPage/GroupDetailsByIDPage.tsxindex 94714f949d..1aa59310bb 100644--- a/frontend/src/pages/project/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx+++ b/frontend/src/pages/project/GroupDetailsByIDPage/GroupDetailsByIDPage.tsx@@ -129,7 +129,7 @@ const Page = () => {const backLinkLabel = isCertManager ? "Groups" : "Project Groups";return (- <div className="@container mx-auto flex max-w-8xl flex-col gap-8">+ <div className="@container mx-auto flex max-w-8xl flex-col">{groupMembership ? (<><PageHeader@@ -190,7 +190,7 @@ const Page = () => {</div></>) : (- <>+ <div className="flex flex-col gap-8"><Link{...backLinkProps}className="flex w-fit items-center gap-1 text-sm text-muted transition-colors hover:text-foreground focus-visible:rounded-sm focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none"@@ -207,7 +207,7 @@ const Page = () => {</EmptyDescription></EmptyHeader></Empty>- </>+ </div>)}<DeleteConfirmDialogisOpen={popUp.deleteGroup.isOpen}diff --git a/frontend/src/pages/project/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx b/frontend/src/pages/project/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsxindex 31bd813b84..ae6421748c 100644--- a/frontend/src/pages/project/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx+++ b/frontend/src/pages/project/IdentityDetailsByIDPage/IdentityDetailsByIDPage.tsx@@ -215,7 +215,7 @@ const Page = () => {currentOrg.rootOrgId !== identityMembershipDetails?.identity.orgId;return (- <div className="@container mx-auto flex max-w-8xl flex-col gap-8">+ <div className="@container mx-auto flex max-w-8xl flex-col">{identityMembershipDetails ? (<><PageHeaderdiff --git a/frontend/src/pages/project/MemberDetailsByIDPage/MemberDetailsByIDPage.tsx b/frontend/src/pages/project/MemberDetailsByIDPage/MemberDetailsByIDPage.tsxindex da73c73318..988f9e0e77 100644--- a/frontend/src/pages/project/MemberDetailsByIDPage/MemberDetailsByIDPage.tsx+++ b/frontend/src/pages/project/MemberDetailsByIDPage/MemberDetailsByIDPage.tsx@@ -158,7 +158,7 @@ export const Page = () => {}return (- <div className="@container mx-auto flex max-w-8xl flex-col gap-8">+ <div className="@container mx-auto flex max-w-8xl flex-col">{membershipDetails ? (<><PageHeaderdiff --git a/frontend/src/pages/project/RoleDetailsBySlugPage/RoleDetailsBySlugPage.tsx b/frontend/src/pages/project/RoleDetailsBySlugPage/RoleDetailsBySlugPage.tsxindex d3bc3efc39..bde021c86d 100644--- a/frontend/src/pages/project/RoleDetailsBySlugPage/RoleDetailsBySlugPage.tsx+++ b/frontend/src/pages/project/RoleDetailsBySlugPage/RoleDetailsBySlugPage.tsx@@ -99,7 +99,7 @@ const Page = () => {return (<div className="mx-auto flex flex-col justify-between text-foreground">{data && (- <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col gap-8">+ <div className="mx-auto mb-6 flex w-full max-w-8xl flex-col"><PageHeaderscope={currentProject.type}title={displayName}diff --git a/frontend/src/pages/secret-manager/InsightsPage/InsightsPage.tsx b/frontend/src/pages/secret-manager/InsightsPage/InsightsPage.tsxindex 8e058cea71..8224993759 100644--- a/frontend/src/pages/secret-manager/InsightsPage/InsightsPage.tsx+++ b/frontend/src/pages/secret-manager/InsightsPage/InsightsPage.tsx@@ -10,7 +10,7 @@ import {} from "lucide-react";import { UpgradePlanModal } from "@app/components/license/UpgradePlanModal";-import { PageHeader } from "@app/components/v2";+import { PageHeader } from "@app/components/v3/platform";import {ProjectPermissionInsightsActions,ProjectPermissionSub,diff --git a/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/IntegrationsDetailsByIDPage.tsx b/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/IntegrationsDetailsByIDPage.tsxindex f085ff6d61..9a32ade1e0 100644--- a/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/IntegrationsDetailsByIDPage.tsx+++ b/frontend/src/pages/secret-manager/IntegrationsDetailsByIDPage/IntegrationsDetailsByIDPage.tsx@@ -16,9 +16,9 @@ import {DropdownMenuItem,DropdownMenuTrigger,EmptyState,- PageHeader,Tooltip} from "@app/components/v2";+import { PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { OrgPermissionActions, OrgPermissionSubjects, useProject } from "@app/context";import { usePopUp, useToggle } from "@app/hooks";diff --git a/frontend/src/pages/secret-manager/IntegrationsListPage/IntegrationsListPage.tsx b/frontend/src/pages/secret-manager/IntegrationsListPage/IntegrationsListPage.tsxindex fe5891aa5c..247421fdbe 100644--- a/frontend/src/pages/secret-manager/IntegrationsListPage/IntegrationsListPage.tsx+++ b/frontend/src/pages/secret-manager/IntegrationsListPage/IntegrationsListPage.tsx@@ -72,7 +72,7 @@ export const IntegrationsListPage = () => {<meta name="og:description" content={t("integrations.description") as string} /></Helmet><div className="relative mx-auto max-w-8xl pb-12 text-foreground-inverse">- <div className="mb-8 flex flex-col gap-8">+ <div className="mb-8 flex flex-col"><PageHeaderscope={ProjectType.SecretManager}title="Project Integrations"diff --git a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsxindex 87ee44c7a4..f285605b42 100644--- a/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx+++ b/frontend/src/pages/secret-manager/OverviewPage/OverviewPage.tsx@@ -2931,13 +2931,14 @@ const OverviewPageContent = () => {};return (- <div className="mx-auto flex max-w-8xl flex-col gap-6 md:gap-8">+ <div className="mx-auto flex max-w-8xl flex-col"><Helmet><title>{t("common.head-title", { title: t("dashboard.title") })}</title><meta property="og:title" content={String(t("dashboard.og-title"))} /><meta name="og:description" content={String(t("dashboard.og-description"))} /></Helmet><PageHeader+ className="mb-6 md:mb-10"scope={ProjectType.SecretManager}title={currentProject.name}description={currentProject.description}diff --git a/frontend/src/pages/secret-manager/SecretApprovalsPage/SecretApprovalsPage.tsx b/frontend/src/pages/secret-manager/SecretApprovalsPage/SecretApprovalsPage.tsxindex 359b117290..5a3150b407 100644--- a/frontend/src/pages/secret-manager/SecretApprovalsPage/SecretApprovalsPage.tsx+++ b/frontend/src/pages/secret-manager/SecretApprovalsPage/SecretApprovalsPage.tsx@@ -88,7 +88,7 @@ export const SecretApprovalsPage = () => {<meta property="og:title" content={String(t("approval.og-title"))} /><meta name="og:description" content={String(t("approval.og-description"))} /></Helmet>- <div className="mx-auto flex h-full w-full max-w-8xl flex-col gap-8 bg-page text-foreground-inverse">+ <div className="mx-auto flex h-full w-full max-w-8xl flex-col bg-page text-foreground-inverse"><PageHeaderscope={ProjectType.SecretManager}title="Approval Workflows"diff --git a/frontend/src/pages/secret-manager/SettingsPage/SettingsPage.tsx b/frontend/src/pages/secret-manager/SettingsPage/SettingsPage.tsxindex 501452dd5e..6d2213f216 100644--- a/frontend/src/pages/secret-manager/SettingsPage/SettingsPage.tsx+++ b/frontend/src/pages/secret-manager/SettingsPage/SettingsPage.tsx@@ -2,8 +2,8 @@ import { Helmet } from "react-helmet";import { useTranslation } from "react-i18next";import { useSearch } from "@tanstack/react-router";-import { PageHeader } from "@app/components/v2";import { LookingForOrgPageLink } from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { ROUTE_PATHS } from "@app/const/routes";import { useProject } from "@app/context";import { ProjectType, ProjectVersion } from "@app/hooks/api/projects/types";@@ -94,7 +94,7 @@ export const SettingsPage = () => {><LookingForOrgPageLink page="settings" /></PageHeader>- <div className="grow rounded-br-md rounded-bl-md py-5 outline-hidden xl:overflow-x-hidden xl:py-0">+ <div className="grow rounded-br-md rounded-bl-md pb-5 outline-hidden xl:overflow-x-hidden xl:pb-0">{ActiveTabComponent ? <ActiveTabComponent /> : null}</div></div>diff --git a/frontend/src/pages/secret-scanning/SecretScanningDataSourcesPage/SecretScanningDataSourcesPage.tsx b/frontend/src/pages/secret-scanning/SecretScanningDataSourcesPage/SecretScanningDataSourcesPage.tsxindex f5b711a14c..623590e138 100644--- a/frontend/src/pages/secret-scanning/SecretScanningDataSourcesPage/SecretScanningDataSourcesPage.tsx+++ b/frontend/src/pages/secret-scanning/SecretScanningDataSourcesPage/SecretScanningDataSourcesPage.tsx@@ -2,7 +2,7 @@ import { Helmet } from "react-helmet";import { useTranslation } from "react-i18next";import { ProjectPermissionCan } from "@app/components/permissions";-import { PageHeader } from "@app/components/v2";+import { PageHeader } from "@app/components/v3/platform";import {ProjectPermissionSecretScanningDataSourceActions,ProjectPermissionSubdiff --git a/frontend/src/pages/secret-scanning/SecretScanningFindingsPage/SecretScanningFindingsPage.tsx b/frontend/src/pages/secret-scanning/SecretScanningFindingsPage/SecretScanningFindingsPage.tsxindex 136c145aa6..992ef2a815 100644--- a/frontend/src/pages/secret-scanning/SecretScanningFindingsPage/SecretScanningFindingsPage.tsx+++ b/frontend/src/pages/secret-scanning/SecretScanningFindingsPage/SecretScanningFindingsPage.tsx@@ -2,7 +2,7 @@ import { Helmet } from "react-helmet";import { useTranslation } from "react-i18next";import { ProjectPermissionCan } from "@app/components/permissions";-import { PageHeader } from "@app/components/v2";+import { PageHeader } from "@app/components/v3/platform";import { ProjectPermissionSub } from "@app/context";import { ProjectPermissionSecretScanningFindingActions } from "@app/context/ProjectPermissionContext/types";import { ProjectType } from "@app/hooks/api/projects/types";diff --git a/frontend/src/pages/secret-scanning/SettingsPage/SettingsPage.tsx b/frontend/src/pages/secret-scanning/SettingsPage/SettingsPage.tsxindex a4a039c253..7ad78b5ca7 100644--- a/frontend/src/pages/secret-scanning/SettingsPage/SettingsPage.tsx+++ b/frontend/src/pages/secret-scanning/SettingsPage/SettingsPage.tsx@@ -3,8 +3,8 @@ import { useTranslation } from "react-i18next";import { useSearch } from "@tanstack/react-router";import { ProjectPermissionCan } from "@app/components/permissions";-import { PageHeader } from "@app/components/v2";import { LookingForOrgPageLink } from "@app/components/v3";+import { PageHeader } from "@app/components/v3/platform";import { ProjectPermissionSub } from "@app/context";import { ProjectPermissionSecretScanningConfigActions } from "@app/context/ProjectPermissionContext/types";import { ProjectType } from "@app/hooks/api/projects/types";