feat(ui): implement dashboard, security settings, and update auth styling#569
Merged
yusuftomilola merged 2 commits intoDistinctCodes:mainfrom Feb 25, 2026
Conversation
|
@JoeX17 is attempting to deploy a commit to the naijabuz's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR addresses a package of frontend updates, bringing the main dashboard, user settings, and authentication flows into alignment with our current feature requirements and the new gray design system.
Changes Made
1. Dashboard Implementation (#473)
frontend/app/dashboard/DashboardContent.tsx: Created a client-side component to handle parallel data fetching for stats and activity. Implemented role-based rendering (Admin tabs vs Regular User layouts) alongside structured skeleton loaders and error handling.frontend/app/dashboard/page.tsx: Refactored to act as a Server Component, preserving SEO capabilities viabuildMetadata()while securely wrapping the new client dashboard.2. Settings Page Security Section (#478)
frontend/app/settings/page.tsx: Implemented the Security Settings form utilizingzodfor advanced conditional validation (checking minimum length, requiring current password, and confirming password matches).PATCH /users/:idendpoint using the auth store user ID.3. Forgot Password Form Styling (#486)
frontend/components/auth/forgot-password-form.tsx: Conducted a thorough sweep of the component to replace all legacybluecolor classes (buttons, backgrounds, borders, rings, info boxes, and text) with the newgraydesign system (bg-gray-900,gray-50, etc.). All core functional logic (OTP management, form progression) remains completely untouched.Linked Issues
Closes #473
Closes #478
Closes #486