kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Replace $computedClass in Learn library, topics and cards

Open LianaHarris360 opened this issue 1 month ago • 8 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 17 $computedClass calls in 14 Learn library, topic and card components with <style> block rules. Follow the Guidance and Strategy in the parent issue.

Complexity: Medium Target branch: develop

The Change

  • views/AlsoInThis.vue
  • views/BookmarkPage.vue
  • views/BrowseResourceMetadata.vue
  • views/CardList.vue
  • views/ChannelCard.vue
  • views/CurrentlyViewedResourceMetadata.vue
  • views/HybridLearningContentCard/index.vue
  • views/HybridLearningLessonCard.vue
  • views/LibraryPage/index.vue
  • views/LibraryPage/LibrarySearchBar.vue
  • views/LibraryPage/SearchAutocompleteDropdown.vue (4 calls)
  • views/TopicsContentPage.vue
  • views/TopicsPage/index.vue
  • views/cards/CardLink.vue

All paths are under kolibri/plugins/learn/frontend/.

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 cards that used $coreOutline.

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 14:10 LianaHarris360

Hi @LianaHarris360! I would like to work on this issue. Can I be assigned this issue? Thank You!

rajdhruvsingh avatar Oct 19 '26 16:10 rajdhruvsingh

/assign

sarwar-jahin-port avatar Oct 19 '26 16:10 sarwar-jahin-port

Hi! 👋

Self-assignment via /assign is only available for issues labeled good first issue. This issue does not have that label.

Visit Contributing guidelines to learn about the contributing process and how to find suitable issues. 😊

Are you preparing for Google Summer of Code? See our GSoC guidelines.

learning-equality-bot avatar Oct 19 '26 16:10 learning-equality-bot

Hi @rajdhruvsingh, I will assign you to this one instead of the other one, since you commented on this one first.

LianaHarris360 avatar Oct 19 '26 17:10 LianaHarris360

Sure @LianaHarris360, Thanks for assigning the issue!

rajdhruvsingh avatar Oct 19 '26 17:10 rajdhruvsingh

Hi @rajdhruvsingh are you still working on this issue or do you have any questions about the issue?

LianaHarris360 avatar Nov 03 '26 20:11 LianaHarris360

Hi @LianaHarris360, I'm still working on the issue and will be raising a PR in a day or two. I have done some work regarding the PR in my clone and will be soon opening a PR related to it.

rajdhruvsingh avatar Nov 04 '26 02:11 rajdhruvsingh

Closed by #15764

LianaHarris360 avatar Nov 10 '26 16:11 LianaHarris360