Skip to content

Feat/reset password page#434

Merged
mftee merged 4 commits into
CodeGirlsInc:mainfrom
mijinummi:feat/reset-password-page
Apr 23, 2026
Merged

Feat/reset password page#434
mftee merged 4 commits into
CodeGirlsInc:mainfrom
mijinummi:feat/reset-password-page

Conversation

@mijinummi

Copy link
Copy Markdown
Contributor

Pull Request: [FE-11] Build the Password Reset Page

Overview

This PR implements issue #377 [FE-11] Build the password reset pages.
It introduces the reset-password page where users can set a new password after clicking the reset link.


Changes Introduced

  • Created frontend/cmmty/pages/reset-password/ directory with:
    • index.tsx → Page wrapper, reads token from URL
    • ResetPasswordForm.tsx → Handles new password + confirm password fields, validation, API call, success/error states
  • Added responsive layout and styling in frontend/cmmty/styles/reset-password.css

Acceptance Criteria ✅

  • Reset password page created in frontend/cmmty/pages/reset-password/
  • Reads reset token from URL query param
  • New password + confirm password fields with validation
  • Shows error if token invalid or expired
  • Redirects to login with success message after reset
  • Mobile responsive layout
  • All files scoped to frontend/cmmty/ only

Screenshots

(Add screenshots of form, error state, and success state here once tested)


How to Test

  1. Navigate to /reset-password?token=XYZ.
  2. Enter new + confirm password → click Reset Password.
  3. If valid → success message, redirect to login after 3 seconds.
  4. If invalid/expired token → error message shown.
  5. Test responsiveness on mobile viewport.

Contribution Notes

  • All work scoped strictly to frontend/cmmty/.
  • No files outside this folder were modified.
  • Branch: feat/reset-password-page

Next Steps

  • Integrate with backend reset-password endpoint.
  • Replace alert() with toast notifications for consistency.
  • Add stronger password validation rules.

Checklist Before Merge

@vercel

vercel Bot commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

@mijinummi is attempting to deploy a commit to the Mftee's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Apr 23, 2026

Copy link
Copy Markdown

@mijinummi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mftee mftee merged commit 9c12933 into CodeGirlsInc:main Apr 23, 2026
3 of 4 checks passed
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.

[FE-11] Build the password reset pages

2 participants