GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Remove Vuetify from Studio] 'Reset password' page by LightCreator1007 · Pull Request #6145 · learningequality/studio

Conversation

@LightCreator1007

@LightCreator1007 LightCreator1007 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace the four Vuetify-backed pieces of the reset password page with their Studio/KDS equivalents.
Minor Visual differences due to KDS itself.

References

Closes #5931

Reviewer guidance

Screen.Recording.2026-09-18.at.1.25.13.AM.mov

AI usage

I 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.

rtibblesbot reacted with eyes emoji
All reactions
  • 👀 1 reaction
@LightCreator1007
Migrate ResetPassword page from Vuetify to KDS
e345fd6
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.
@learning-equality-bot

learning-equality-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

👋 Hi @LightCreator1007, thanks for contributing!

For the review process to begin, please verify that the following is satisfied:

  • Contribution is aligned with our contributing guidelines

  • Pull request description has correctly filled AI usage section & follows our AI guidance:

    AI guidance

    State explicitly whether you didn't use or used AI & how.

    If you used it, ensure that the PR is aligned with Using AI as well as our DEEP framework. DEEP asks you:

    • Disclose — Be open about when you've used AI for support.
    • Engage critically — Question what is generated. Review code for correctness and unnecessary complexity.
    • Edit — Review and refine AI output. Remove unnecessary code and verify it still works after your edits.
    • Process sharing — Explain how you used the AI so others can learn.

    Examples of good disclosures:

    "I used Claude Code to implement the component, prompting it to follow the pattern in ComponentX. I reviewed the generated code, removed unnecessary error handling, and verified the tests pass."

    "I brainstormed the approach with Gemini, then had it write failing tests for the feature. After reviewing the tests, I used Claude Code to generate the implementation. I refactored the output to reduce verbosity and ran the full test suite."

Also check that issue requirements are satisfied & you ran pre-commit locally.

Pull requests that don't follow the guidelines will be closed.

Reviewer assignment can take up to 2 weeks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rtibbles rtibbles assigned marcellamaki Sep 22, 2026
@akolson
akolson requested a review from rtibblesbot September 30, 2026 06:59
@learning-equality-bot

learning-equality-bot Bot commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

📢✨ Before we assign a reviewer, we'll turn on @rtibblesbot to pre-review. Its comments are generated by an LLM, and should be evaluated accordingly.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rtibblesbot

rtibblesbot commented Sep 30, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

🟡 Waiting for changes

Outcome: reviewed 0bec33e

Last updated: 2026-11-09 04:28 UTC

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

rtibblesbot
rtibblesbot previously requested changes Sep 30, 2026
View reviewed changes

@rtibblesbot rtibblesbot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for 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.

  • blocking: blurring an empty field shows no "required" error (inline)
  • blocking: editing the first password doesn't re-check the confirmation (inline)
  • blocking: form overflows a 360px viewport (inline)
  • blocking: resetPassword.spec.js not updated, which the AC requires (inline)
  • suggestion: move focus to the first invalid field on a failed submit (inline)
  • nitpick: trim the process context from the touched comment (inline)

@rtibblesbot's comments are generated by an LLM, and should be evaluated accordingly

How was this generated?

Ran a phased review pipeline over the pull request diff:

  • Classified the diff to select review passes (core, frontend, backend) and whether manual QA was required
  • Core review pass checked correctness, design, architecture, testing, completeness, and DRY/SRP/Rule-of-Three principles
  • Specialized frontend/backend review passes applied framework-specific lenses where those files changed
  • For UI changes: manual QA and an accessibility audit against a live dev server, when available
  • Checked CI status and linked issue acceptance criteria
  • Synthesized one review from those passes and chose the verdict from the findings, CI status, and QA evidence

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue Resolved

Uh oh!

There was an error while loading. Please reload this page.

@akolson

akolson commented Oct 5, 2026

Copy link
Copy Markdown
Member

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!

rtibblesbot reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@LightCreator1007
Address review feedback on ResetPassword migration
1d85abb
- 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
@LightCreator1007
LightCreator1007 requested review from a team and leq-bot October 6, 2026 11:38
rtibblesbot
rtibblesbot reviewed Oct 6, 2026
View reviewed changes

@rtibblesbot rtibblesbot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for 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.

Prior-finding status

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread contentcuration/contentcuration/frontend/accounts/pages/__tests__/resetPassword.spec.js Resolved

Uh oh!

There was an error while loading. Please reload this page.

@rtibblesbot
rtibblesbot dismissed their stale review October 6, 2026 11:48

Superseded by my review of 1d85abb: no blocking findings remain.

@LightCreator1007
Scope the blur required-error test to the new password field
893f25c
rtibblesbot
rtibblesbot reviewed Oct 6, 2026
View reviewed changes

@rtibblesbot rtibblesbot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for 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.

Prior-finding status

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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
akolson
akolson requested changes Oct 23, 2026
View reviewed changes

@akolson akolson left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread contentcuration/contentcuration/frontend/accounts/pages/__tests__/resetPassword.spec.js Outdated
expect(screen.queryByText(passwordValidationMessage$())).not.toBeInTheDocument();

await user.tab();
expect(screen.getByText(passwordValidationMessage$())).toBeInTheDocument();

@akolson akolson Oct 23, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread contentcuration/contentcuration/frontend/accounts/pages/__tests__/resetPassword.spec.js Outdated
@@ -1,7 +1,20 @@
import { render, screen, fireEvent, waitFor } from '@testing-library/vue';
import { render, screen, fireEvent, waitFor, within } from '@testing-library/vue';

@akolson akolson Oct 23, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for 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.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@akolson akolson mentioned this pull request Oct 28, 2026
Remove Vuetify from Forgot password page #6334
Merged
@akolson

akolson commented Nov 3, 2026

Copy link
Copy Markdown
Member

Hi @LightCreator1007! Could you please follow-up on the review feedback above? Thanks

rtibblesbot reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@LightCreator1007
Scope resetPassword error assertions to their fields and use userEven…
0bec33e
…t throughout
rtibblesbot
rtibblesbot reviewed Nov 9, 2026
View reviewed changes

@rtibblesbot rtibblesbot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for 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.

Prior-finding status

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.

  • The author is outside the team: confirm this should be built at all.
  • User-visible files changed: contentcuration/contentcuration/frontend/accounts/components/StudioMessageLayout.vue, contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue.
  • Check that the ResetPassword page shows the required and mismatch errors on blur and on submit, matching unstable.
  • Check that the form fits a 360px viewport and in RTL.
  • Check that a screen reader announces the errors after a failed submit.

Written by rtibblesbot, an LLM-based coding agent.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@rtibblesbot rtibblesbot rtibblesbot left review comments
@akolson akolson akolson requested changes
@leq-bot leq-bot Awaiting requested review from leq-bot leq-bot was automatically assigned from learningequality/le-admins-team

Requested changes must be addressed to merge this pull request.

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@marcellamaki marcellamaki

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Remove Vuetify from Studio] 'Reset password' page

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@LightCreator1007 @rtibblesbot @akolson @marcellamaki
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.