From 5e710fcffd3f044fdd0eb31824c671f80a723b84 Mon Sep 17 00:00:00 2001 From: chihlasm Date: Sun, 15 Feb 2026 21:20:00 -0500 Subject: [PATCH] refactor: migrate remaining pages to new design system Co-Authored-By: Claude Opus 4.6 --- frontend/src/pages/AccountSettingsPage.tsx | 138 +++++++++--------- frontend/src/pages/AdminCategoriesPage.tsx | 18 +-- frontend/src/pages/ForgotPasswordPage.tsx | 28 ++-- frontend/src/pages/MyTreesPage.tsx | 72 ++++----- frontend/src/pages/ProceduralEditorPage.tsx | 32 ++-- .../src/pages/ProceduralNavigationPage.tsx | 32 ++-- .../src/pages/account/TeamCategoriesPage.tsx | 52 +++---- 7 files changed, 186 insertions(+), 186 deletions(-) diff --git a/frontend/src/pages/AccountSettingsPage.tsx b/frontend/src/pages/AccountSettingsPage.tsx index 125e3c21..c7755452 100644 --- a/frontend/src/pages/AccountSettingsPage.tsx +++ b/frontend/src/pages/AccountSettingsPage.tsx @@ -130,7 +130,7 @@ export function AccountSettingsPage() { if (isLoading) { return (
-
+
) } @@ -154,23 +154,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 && ( @@ -234,10 +234,10 @@ export function AccountSettingsPage() { {/* Display Code */}
-
@@ -245,8 +245,8 @@ export function AccountSettingsPage() {
{/* Subscription Section */} -
-

Subscription

+
+

Subscription

{/* Plan & Status */} @@ -254,9 +254,9 @@ export function AccountSettingsPage() { @@ -270,7 +270,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-white/10 text-white/40' + sub.status === 'orphaned' && 'bg-accent text-muted-foreground' )} > {sub.status.charAt(0).toUpperCase() + sub.status.slice(1).replace('_', ' ')} @@ -279,7 +279,7 @@ export function AccountSettingsPage() {
{sub?.current_period_end && ( -

+

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

)} @@ -322,32 +322,32 @@ 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) => (
-

{member.name}

-

{member.email}

+

{member.name}

+

{member.email}

{member.account_role} @@ -360,7 +360,7 @@ export function AccountSettingsPage() { {member.account_role !== 'owner' && (
{/* Categories List */} {categories.length === 0 ? ( -
-

+

+

No categories found. Create your first category to get started.

diff --git a/frontend/src/pages/ForgotPasswordPage.tsx b/frontend/src/pages/ForgotPasswordPage.tsx index c76dcbb4..1b1d200a 100644 --- a/frontend/src/pages/ForgotPasswordPage.tsx +++ b/frontend/src/pages/ForgotPasswordPage.tsx @@ -25,26 +25,26 @@ export function ForgotPasswordPage() { } return ( -
+
-
+
-

+

Reset Password

-

+

Enter your email and we'll send you a link to reset your password.

{submitted ? ( -
+
If an account with that email exists, we've sent a password reset link. Check your inbox and follow the instructions. @@ -52,7 +52,7 @@ export function ForgotPasswordPage() {
Back to sign in @@ -60,9 +60,9 @@ export function ForgotPasswordPage() {
) : ( -
+
-