Skip to content

refactor: Migrate project list page and remove legacy components (v2.0.0-alpha-4)#134

Merged
Che-Zhu merged 1 commit intomainfrom
chore/codebase-cleanup
Feb 25, 2026
Merged

refactor: Migrate project list page and remove legacy components (v2.0.0-alpha-4)#134
Che-Zhu merged 1 commit intomainfrom
chore/codebase-cleanup

Conversation

@Che-Zhu
Copy link
Collaborator

@Che-Zhu Che-Zhu commented Feb 25, 2026

Summary

Migrate the new project list page from app/home/ to app/(dashboard)/projects/(list)/ using a Next.js route group, replacing the old project list implementation. This completes the Home page UI overhaul started in #132.

Changes

Route Migration

  • Move app/home/ (page, layout, _components) into app/(dashboard)/projects/(list)/
  • Use (list) route group to scope the Sidebar + SearchBar layout to the project list page only, without affecting project detail pages under projects/[id]/

New: Real-time Status Polling

  • Add router.refresh() polling (3s interval) in home-page-content.tsx
  • Follows Next.js App Router best practice: server components fetch data, client triggers refresh
  • No additional API routes or client-side data libraries needed

Bug Fix

  • Fix project name appearing in UPPERCASE in the delete confirmation dialog (caused by inherited uppercase CSS class)

Cleanup

  • Remove app/(dashboard)/projects/page.tsx (old project list page)
  • Remove components/features/projectList/ (6 legacy components)
  • Remove app/home/ (migrated to new location)

Testing

  • /projects renders the new project list page with Sidebar
  • /projects/[id]/* detail pages are unaffected (no Sidebar)
  • Project status updates automatically every 3 seconds
  • Filter state preserved across refreshes
  • Login redirects correctly to /projects

…ha-4)

- Move app/home/ to app/(dashboard)/projects/(list)/ using route group
  to isolate Sidebar layout from project detail pages
- Add router.refresh() polling (3s) for real-time project status updates
- Fix projectName uppercase issue in delete confirmation dialog
- Remove old components/features/projectList/ directory
- Remove old app/(dashboard)/projects/page.tsx
- Bump version to 2.0.0-alpha.4
- Add baseline-browser-mapping devDependency

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@github-actions
Copy link

✅ PR Check Results: Passed

Build Checks

Check Status
Lint & Build ✅ Passed
Docker Build ✅ Passed

✨ Great work!

All checks passed successfully. Your PR is ready for review.

Details:

  • ✅ Code quality verified (linting passed)
  • ✅ Build successful
  • ✅ Docker image build verified (linux/amd64)
    Commit: e3c7a43483aef2ef7fb37fb55690f83d5fb438da
    Branch: chore/codebase-cleanup

🔗 View Details:

@Che-Zhu Che-Zhu merged commit 0728b51 into main Feb 25, 2026
9 checks passed
@Che-Zhu Che-Zhu deleted the chore/codebase-cleanup branch February 25, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant