kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Replace $computedClass in picture password sign-in

Open LianaHarris360 opened this issue 1 month ago • 2 comments

🙂 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.vue
  • kolibri/plugins/user_auth/frontend/views/SignInPage/PictureSignIn/PicturePasswordGrid.vue
  • kolibri/plugins/user_auth/frontend/views/SignInPage/PictureSignIn/PicturePasswordOption.vue
  • packages/kolibri-common/components/UserPicturePassword.vue

Acceptance Criteria

  • [ ] No $computedClass call 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.

LianaHarris360 avatar Oct 09 '26 13:10 LianaHarris360

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?

Rishika-dev avatar Oct 09 '26 15:10 Rishika-dev

Thanks for assigning this, @LianaHarris360! The PR is ready for review: https://github.com/learningequality/kolibri/pull/15554

Rishika-dev avatar Oct 09 '26 16:10 Rishika-dev