GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||
GeezerVison is showing github.com — [Remove Vuetify from Studio] 'Reset password' page by LightCreator1007 · Pull Request #6145 · learningequality/studio Conversation
Contributor
SummaryReplace the four Vuetify-backed pieces of the reset password page with their Studio/KDS equivalents. ReferencesCloses #5931 Reviewer guidanceScreen.Recording.2026-09-18.at.1.25.13.AM.movAI usageI used claude code to scope the current state of tests and the component. Made it write a plan by mapping out the vuetify dependencies. Replaced them and then verified the UI manually, audited the changes to code to the best of my abilities.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Replace the four Vuetify-backed pieces of the reset password page with their Studio/KDS equivalents, per learningequality#5931: MessageLayout -> StudioMessageLayout VForm -> <form> + generateFormMixin Banner -> StudioBanner PasswordField -> StudioPasswordField All four replacements already existed and are in use by sibling pages; no new components are introduced. The remaining pages under pages/resetPassword/ were migrated earlier, so this brings the last Vuetify page in that directory into line. Two details preserve existing behaviour: - The submit handler validates and submits the raw this.form values rather than formMixin's clean(), which trims every field. Passwords must keep any leading or trailing spaces the user typed. - A touched map gates error display until blur, since formMixin's setters otherwise flag an error on every keystroke, where the VForm version validated on blur. Strings, submit payload, redirect target, and the length and match rules are unchanged. resetPassword.spec.js required no changes and still passes.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
| |||||||||||||||||||||||||||
There was an error while loading. Please reload this page.
🟡 Waiting for changesOutcome: reviewed Last updated: 2026-11-09 04:28 UTC |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
PR #6145: four regressions block merge. The migration follows the sign-in page's form pattern. The happy path, bad-token banner, whitespace preservation and RTL all work in the browser.
CI passing. Manual QA: axe AA finds 0 violations on every state. No console errors.
resetPassword.spec.js not updated, which the AC requires (inline)touched comment (inline)@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly
Ran a phased review pipeline over the pull request diff:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Hi @LightCreator1007! If you can, could you please look into the review feedback? Otherwise, please let us know if you’re unable to proceed. Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
- Derive displayed field errors from form state and touched flags, so blurring an empty field shows the required error and editing the new password re-checks the confirmation - Move focus to the first invalid field on a failed submit - Give StudioMessageLayout's slot container a full width so forms no longer overflow narrow viewports - Cover blur validation, confirmation re-checks, required errors, the failure banner, focus handling and untrimmed passwords in the spec
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
PR #6145: all 6 prior findings resolved; one new suggestion inline.
CI passing. Manual QA did not run, so the UI is unverified.
RESOLVED — ResetPassword.vue:27 — blurring an empty field shows no required error
RESOLVED — ResetPassword.vue:65 — editing the first password doesn't re-check the confirmation
RESOLVED — ResetPassword.vue:154 — form overflows a 360px viewport
RESOLVED — ResetPassword.vue:108 — resetPassword.spec.js not updated
RESOLVED — ResetPassword.vue:116 — move focus to the first invalid field on failed submit
RESOLVED — ResetPassword.vue:80 — trim process context from the touched comment
Written by rtibblesbot, an LLM-based coding agent.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Superseded by my review of 1d85abb: no blocking findings remain.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
PR #6145: all 7 prior findings resolved. Manual QA did not run. Commenting rather than approving.
RESOLVED — ResetPassword.vue:26 — blurring an empty field shows no required error
RESOLVED — ResetPassword.vue — editing the first password doesn't re-check the confirmation
RESOLVED — ResetPassword.vue:171 — form overflows a 360px viewport
RESOLVED — ResetPassword.vue:118 — resetPassword.spec.js unchanged
RESOLVED — ResetPassword.vue:126 — failed submit announces nothing to screen readers
RESOLVED — ResetPassword.vue:83 — stale Create.vue/#5060 comment
RESOLVED — resetPassword.spec.js — test doesn't check which field shows the required error
Written by rtibblesbot, an LLM-based coding agent.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks @LightCreator1007! The migration follows the issue and the sign-in page's form pattern, and every flow I tried works. The CI passes and Manual QA all work, with no console errors.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| expect(screen.queryByText(passwordValidationMessage$())).not.toBeInTheDocument(); | ||
|
|
||
| await user.tab(); | ||
| expect(screen.getByText(passwordValidationMessage$())).toBeInTheDocument(); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
suggestion: These assertions search the whole page, so they pass even when an error appears under the wrong field (lines 127, 130, 139, 143, 152, and 155); when I swapped the two fields’ errorMessages bindings, only the test at line 111 failed. Scope these assertions with within(fieldContainer(...)), as at line 117, so the swap fails four tests while all 11 pass with your code. The unit testing guidealso advises against relying on bare *ByText matches for assertions.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| @@ -1,7 +1,20 @@ | |||
| import { render, screen, fireEvent, waitFor } from '@testing-library/vue'; | |||
| import { render, screen, fireEvent, waitFor, within } from '@testing-library/vue'; | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
nitpick: fireEvent is now only used in the two original tests (lines 59–96), which also hard-code strings (/New Password/i, /Submit/i, and the error messages). Update them to use userEvent and the translators defined at lines 9–17, as the new tests do, then remove the fireEvent import.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Hi @LightCreator1007! Could you please follow-up on the review feedback above? Thanks |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
PR #6145: all 7 prior findings resolved; no new findings. CI passing. Manual QA did not run. The UI is unverified.
RESOLVED — contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue:26 — blurring an empty field shows no required error
RESOLVED — contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue — editing the first password doesn't re-check the confirmation
RESOLVED — contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue:171 — form overflows a 360px viewport
RESOLVED — contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue:118 — resetPassword.spec.js unchanged
RESOLVED — contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue:126 — failed submit announces nothing to screen readers
RESOLVED — contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue:83 — stale Create.vue/#5060 comment
RESOLVED — contentcuration/contentcuration/frontend/accounts/pages/tests/resetPassword.spec.js — required-error test doesn't check which field
Next step: Needs a full code review by a human engineer, then manual QA once that reviewer sets Needs QA.
contentcuration/contentcuration/frontend/accounts/components/StudioMessageLayout.vue, contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue.Written by rtibblesbot, an LLM-based coding agent.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Requested changes must be addressed to merge this pull request.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Remove Vuetify from Studio] 'Reset password' page
There was an error while loading. Please reload this page.