From e4ef904707c889228bf6b049fb83fa71b19eabe2 Mon Sep 17 00:00:00 2001 From: Michael Chihlas Date: Sun, 22 Mar 2026 02:04:16 -0400 Subject: [PATCH] refactor: migrate page components to Design System v4 Co-Authored-By: Claude Opus 4.6 (1M context) --- frontend/src/pages/AccountSettingsPage.tsx | 204 ++++++++--------- frontend/src/pages/AssistantChatPage.tsx | 30 +-- frontend/src/pages/BatchStatusPage.tsx | 22 +- frontend/src/pages/ChangePasswordPage.tsx | 26 +-- frontend/src/pages/EscalationQueuePage.tsx | 4 +- frontend/src/pages/FeedbackPage.tsx | 46 ++-- frontend/src/pages/FlowAssistPage.tsx | 12 +- frontend/src/pages/FlowPilotAnalyticsPage.tsx | 102 ++++----- frontend/src/pages/FlowPilotSessionPage.tsx | 30 +-- frontend/src/pages/ForgotPasswordPage.tsx | 24 +- frontend/src/pages/GuideDetailPage.tsx | 30 +-- frontend/src/pages/GuidesHubPage.tsx | 8 +- frontend/src/pages/KBAcceleratorPage.tsx | 10 +- frontend/src/pages/LoginPage.tsx | 36 +-- .../src/pages/MaintenanceFlowDetailPage.tsx | 48 ++-- frontend/src/pages/MyAnalyticsPage.tsx | 60 ++--- frontend/src/pages/MySharesPage.tsx | 20 +- frontend/src/pages/MyTreesPage.tsx | 60 ++--- frontend/src/pages/PrivacyPage.tsx | 20 +- frontend/src/pages/ProceduralEditorPage.tsx | 32 +-- .../src/pages/ProceduralNavigationPage.tsx | 54 ++--- frontend/src/pages/PublicTemplatesPage.tsx | 66 +++--- frontend/src/pages/QuickStartPage.tsx | 4 +- frontend/src/pages/RegisterPage.tsx | 52 ++--- frontend/src/pages/ResetPasswordPage.tsx | 32 +-- frontend/src/pages/ReviewQueuePage.tsx | 28 +-- frontend/src/pages/ScriptBuilderPage.tsx | 10 +- frontend/src/pages/ScriptLibraryPage.tsx | 24 +- frontend/src/pages/SessionDetailPage.tsx | 32 +-- frontend/src/pages/SessionHistoryPage.tsx | 100 ++++----- frontend/src/pages/SharedSessionPage.tsx | 38 ++-- frontend/src/pages/StepLibraryPage.tsx | 20 +- frontend/src/pages/SurveyPage.tsx | 86 ++++---- frontend/src/pages/SurveyThankYouPage.tsx | 20 +- frontend/src/pages/TeamAnalyticsPage.tsx | 76 +++---- frontend/src/pages/TermsPage.tsx | 22 +- frontend/src/pages/TreeEditorPage.tsx | 80 +++---- frontend/src/pages/TreeLibraryPage.tsx | 40 ++-- frontend/src/pages/TreeNavigationPage.tsx | 166 +++++++------- frontend/src/pages/VerifyEmailPage.tsx | 22 +- .../pages/account/BrandingSettingsPage.tsx | 60 ++--- .../account/ChatRetentionSettingsPage.tsx | 24 +- .../src/pages/account/IntegrationsPage.tsx | 206 +++++++++--------- .../src/pages/account/ProfileSettingsPage.tsx | 34 +-- .../src/pages/account/TargetListsPage.tsx | 30 +-- .../src/pages/account/TeamCategoriesPage.tsx | 34 +-- frontend/src/pages/admin/AuditLogsPage.tsx | 28 +-- frontend/src/pages/admin/DashboardPage.tsx | 28 +-- frontend/src/pages/admin/FeatureFlagsPage.tsx | 34 +-- .../src/pages/admin/GalleryManagementPage.tsx | 72 +++--- .../src/pages/admin/GlobalCategoriesPage.tsx | 20 +- frontend/src/pages/admin/InviteCodesPage.tsx | 32 +-- frontend/src/pages/admin/PlanLimitsPage.tsx | 40 ++-- frontend/src/pages/admin/SettingsPage.tsx | 18 +- .../src/pages/admin/SurveyInvitesPage.tsx | 64 +++--- .../src/pages/admin/SurveyResponsesPage.tsx | 116 +++++----- frontend/src/pages/admin/UserDetailPage.tsx | 140 ++++++------ frontend/src/pages/admin/UsersPage.tsx | 56 ++--- 58 files changed, 1416 insertions(+), 1416 deletions(-) diff --git a/frontend/src/pages/AccountSettingsPage.tsx b/frontend/src/pages/AccountSettingsPage.tsx index 583a5a68..7f89e402 100644 --- a/frontend/src/pages/AccountSettingsPage.tsx +++ b/frontend/src/pages/AccountSettingsPage.tsx @@ -167,23 +167,23 @@ export function AccountSettingsPage() {
- -

Account Settings

+ +

Account Settings

-

+

Manage your account, subscription, and team

{/* Account Info Section */} -
-

Account Information

+
+

Account Information

{/* Account Name */}
-
) : (
- {account?.name} + {account?.name} {isAccountOwner && ( @@ -241,10 +241,10 @@ export function AccountSettingsPage() { {/* Display Code */}
-
@@ -252,8 +252,8 @@ export function AccountSettingsPage() {
{/* Subscription Section */} -
-

Subscription

+
+

Subscription

{/* Plan & Status */} @@ -261,9 +261,9 @@ export function AccountSettingsPage() { @@ -277,7 +277,7 @@ export function AccountSettingsPage() { sub.status === 'trialing' && 'bg-blue-500/10 text-blue-400', sub.status === 'past_due' && 'bg-yellow-500/10 text-yellow-400', sub.status === 'canceled' && 'bg-red-400/10 text-red-400', - sub.status === 'orphaned' && 'bg-accent text-muted-foreground' + sub.status === 'orphaned' && 'bg-accent text-[#848b9b]' )} > {sub.status.charAt(0).toUpperCase() + sub.status.slice(1).replace('_', ' ')} @@ -286,7 +286,7 @@ export function AccountSettingsPage() {
{sub?.current_period_end && ( -

+

Current period ends: {new Date(sub.current_period_end).toLocaleDateString()}

)} @@ -329,14 +329,14 @@ export function AccountSettingsPage() { {/* Team Members Section (owners only) */} {isAccountOwner && ( -
+
- -

Team Members

+ +

Team Members

{members.length === 0 ? ( -

No team members yet.

+

No team members yet.

) : (
{members.map((member) => ( @@ -345,12 +345,12 @@ export function AccountSettingsPage() { className="flex items-center justify-between py-3 first:pt-0 last:pb-0" >
-

{member.name}

-

{member.email}

+

{member.name}

+

{member.email}

{member.account_role === 'owner' ? ( - + owner ) : ( @@ -366,8 +366,8 @@ export function AccountSettingsPage() { } }} className={cn( - 'rounded-md border border-border bg-card px-2 py-0.5 text-xs', - 'text-foreground focus:border-primary focus:outline-hidden' + 'rounded-md border border-[#1e2130] bg-[#14161d] px-2 py-0.5 text-xs', + 'text-[#e2e5eb] focus:border-primary focus:outline-hidden' )} > @@ -382,7 +382,7 @@ export function AccountSettingsPage() { {member.account_role !== 'owner' && ( ))}
@@ -236,7 +236,7 @@ export function FeedbackPage() { {/* Message */}
-