fix(login): move password reset success message inside the form#3719
fix(login): move password reset success message inside the form#3719waleedlatif1 merged 1 commit intostagingfrom
Conversation
Was rendered above the form between the header and email field. Now shows above the submit button alongside other form messages.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryLow Risk Overview Written by Cursor Bugbot for commit 81bf7f4. Configure here. |
Greptile SummaryThis PR fixes a UI placement bug where the "Password reset successful" message appeared above the email/password form (between the header and the email field) instead of near the submit button where contextual form feedback belongs.
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[LoginPage renders] --> B{resetSuccessMessage set?}
B -- Yes (Old) --> C["Render success msg ABOVE form\n(between header and email field)"]
B -- Yes (New) --> D{Email/password form enabled?}
B -- No --> D
D -- Yes --> E[Render email/password form]
E --> F["Render success msg INSIDE form\n(above submit button)"]
F --> G[Render Submit Button]
D -- No --> H[Form hidden — success msg also hidden]
Reviews (1): Last reviewed commit: "fix(login): move password reset success ..." | Re-trigger Greptile |
Summary
The "Password reset successful" message was rendered above the form between the header and email field. Moved it inside the form, above the submit button alongside other form-level messages (captcha errors, etc).
Test plan