From e345fd6938ae900e5f7b8d509125dd9d9d2dc68d Mon Sep 17 00:00:00 2001 From: LightCreator1007 Date: Fri, 18 Sep 2026 01:18:26 +0530 Subject: [PATCH 1/3] Migrate ResetPassword page from Vuetify to KDS Replace the four Vuetify-backed pieces of the reset password page with their Studio/KDS equivalents, per #5931: MessageLayout -> StudioMessageLayout VForm ->
+ 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. --- .../pages/resetPassword/ResetPassword.vue | 145 ++++++++++++------ 1 file changed, 100 insertions(+), 45 deletions(-) diff --git a/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue b/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue index f7149673d5..198b0ea212 100644 --- a/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue +++ b/contentcuration/contentcuration/frontend/accounts/pages/resetPassword/ResetPassword.vue @@ -1,30 +1,38 @@ @@ -41,52 +49,88 @@