From 344276751eb4167b1974b9bbbf585ccbaaafd92f Mon Sep 17 00:00:00 2001 From: lorentz Date: Sun, 3 May 2026 11:03:49 -0400 Subject: [PATCH] refactor(nav): adopt PageHeader on /configuration-items The page was rendering its own sticky
on top of the global AppNavigation, which obscured the top nav and duplicated the ThemeToggle and a redundant "Back to Dashboard" link. Replace with PageHeader (title, description, breadcrumbs, actions slot holding Refresh / Bulk-admin / Export) and switch the main container to the conventional px-6 py-6. Co-Authored-By: Claude Opus 4.7 (1M context) --- app/configuration-items/page.tsx | 99 +++++++++++++------------------- 1 file changed, 39 insertions(+), 60 deletions(-) diff --git a/app/configuration-items/page.tsx b/app/configuration-items/page.tsx index e870d34..d673940 100644 --- a/app/configuration-items/page.tsx +++ b/app/configuration-items/page.tsx @@ -24,7 +24,7 @@ import { SelectValue, } from '@/components/ui/select'; import { CompanySelectorEnhanced } from '@/components/companies/company-selector-enhanced'; -import { ThemeToggle } from '@/components/theme-toggle'; +import { PageHeader } from '@/components/navigation/page-header'; import { ConfigItemModal } from '@/components/configuration-items/config-item-modal'; import { ContactCell } from '@/components/configuration-items/contact-cell'; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from '@/components/ui/collapsible'; @@ -59,7 +59,6 @@ import { Calendar as CalendarIcon, Hash, Building2, - ArrowLeft, Filter, ArrowUpDown, ArrowUp, @@ -520,66 +519,46 @@ function ConfigurationItemsContent() { }; return ( -
- {/* Header */} -
-
-
-
- -
-
- -
-
-

- Configuration Items -

-

Autotask & RMM Device Management

-
-
-
-
- {selectedCompany && filteredComparison.length > 0 && ( - - )} - - - -
-
-
-
+ )} + + + + } + /> - {/* Main Content */} -
+
{/* Compact Company Selector & Filters */} @@ -1320,7 +1299,7 @@ function ConfigurationItemsContent() { -
+ ); }