Replace $computedClass in Learn library, topics and cards
🙂 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.vueviews/BookmarkPage.vueviews/BrowseResourceMetadata.vueviews/CardList.vueviews/ChannelCard.vueviews/CurrentlyViewedResourceMetadata.vueviews/HybridLearningContentCard/index.vueviews/HybridLearningLessonCard.vueviews/LibraryPage/index.vueviews/LibraryPage/LibrarySearchBar.vueviews/LibraryPage/SearchAutocompleteDropdown.vue(4 calls)views/TopicsContentPage.vueviews/TopicsPage/index.vueviews/cards/CardLink.vue
All paths are under kolibri/plugins/learn/frontend/.
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 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.
Hi @LianaHarris360! I would like to work on this issue. Can I be assigned this issue? Thank You!
/assign
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.
Hi @rajdhruvsingh, I will assign you to this one instead of the other one, since you commented on this one first.
Sure @LianaHarris360, Thanks for assigning the issue!
Hi @rajdhruvsingh are you still working on this issue or do you have any questions about the issue?
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.
Closed by #15764