Replace $computedClass in picture password sign-in
🙂 Looking for an issue? Welcome! This issue is open for contribution. If this is the first time you’re requesting an issue, please:
- Read Contributing guidelines carefully. Pay extra attention to Using generative AI. Pull requests and comments that don’t follow the guidelines won’t be answered.
- Confirm that you’ve read the guidelines in your comment.
Overview
Replace the 6 $computedClass calls in the 4 picture password components with <style> block rules. Follow the Guidance and Strategy in the parent issue.
Complexity: Low Target branch: develop
The Change
kolibri/plugins/user_auth/frontend/views/SignInPage/PictureSignIn/PicturePasswordConfirmModal.vuekolibri/plugins/user_auth/frontend/views/SignInPage/PictureSignIn/PicturePasswordGrid.vuekolibri/plugins/user_auth/frontend/views/SignInPage/PictureSignIn/PicturePasswordOption.vuepackages/kolibri-common/components/UserPicturePassword.vue
Acceptance Criteria
- [ ] No
$computedClasscall remains in these components. - [ ] Hover, focus and active styles match the previous ones in LTR and RTL.
- [ ] The keyboard focus outline appears on the picture password options.
AI usage
I used Claude Code to draft this issue and to count the $computedClass calls per component. I checked the counts against the source and edited the issue for accuracy.
Hi @LianaHarris360, I've read the contributing guidelines, including the section on using generative AI. I'd like to work on this. I'll move each of the 6 calls into the component's <style> block following #15519 (theme colors as var(), v-bind() for non-theme values, no copied !important, LTR-only directional rules), keep the focus outline on the picture options, and include before/after screenshots of hover, focus and active states in LTR and RTL. Could you assign it to me?
Thanks for assigning this, @LianaHarris360! The PR is ready for review: https://github.com/learningequality/kolibri/pull/15554