Refactor: Extract login page and implement feature panels architecture #3948
ccantynzcommented Apr 22, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| alecrae.app | Apr 22, 2026 9:50am |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/48co.nz-Dictation/pull/4
Summary
This PR performs a major architectural refactoring of the authentication and feature system. The monolithic login page is extracted into a dedicated route, and a comprehensive set of feature panels (Citation, Compliance, Redaction, Diarization, Precedent, Conflict, E-signature, Share, Matter, and Multi-Doc) are implemented as self-contained client components with supporting server-side logic.
Key Changes
Authentication & Routing
app/page.tsx(741 lines) →app/login/page.tsx(749 lines) with PWA install detection and multi-view auth (login/register/forgot/admin)/about,/contact,/pricing,/terms, and/share/[token]/about,/contact,/pricing,/termswith metadata and footer componentsapp/error.tsx) and 404 page (app/not-found.tsx)Feature Panels (Client Components)
Implemented 10 self-contained feature panels in
app/components/features/:Core Libraries
API Routes
https://claude.ai/code/session_018xBL6hUgyq6Pj1p6wvbVFm