-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
mediumMedium priorityMedium prioritytech-debtTechnical debt and maintenanceTechnical debt and maintenance
Description
Summary
The UI redesign archives old pages by creating -old suffixed copies (e.g., page-old.tsx, TopHero-old.tsx, landing-header-old.tsx). This pattern creates maintenance overhead and routing confusion.
Current -old Files
app/auth/cli-login/page-old.tsxapp/auth/error/page-old.tsxapp/login/page-old.tsxapp/oldlanding/page.tsxcomponents/landing/TopHero-old.tsxcomponents/layout/landing-header-old.tsx
Impact
- Doubles the file count for affected components
- Confuses routing (especially
app/oldlanding/page.tsxwhich creates a real route) - Old files diverge from new patterns and become dead code
- Increases bundle size if not properly tree-shaken
- Confuses new contributors
Recommended Fix
- Set a time-boxed removal date (e.g., 2 weeks after redesign merges)
- Use git history instead of -old files for reference
- If A/B testing is needed, use feature flags instead
- Remove
app/oldlanding/page.tsx(creates accessible route/oldlanding)
Source
Identified by GPT Scope Analyst agent during comprehensive plan review (2026-02-06).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
mediumMedium priorityMedium prioritytech-debtTechnical debt and maintenanceTechnical debt and maintenance