Skip to content

New like button markup with class selectors + also updating other labels on the page. #8888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

isoos
Copy link
Collaborator

@isoos isoos commented Aug 11, 2025

  • Display the /my-liked-packages page the same way as other package listing. #8887
  • refactored the rendering of the like button, preparing for making it available on package listing pages
  • update the the template and the like-handling in JS: instead of using the id attribute, relying on CSS class attributes
  • the CSS name was moved to the <component>--<subcomponent> pattern
  • added integration test, since we didn't have it with the button
  • also updating the two "larger" like labels on the packages pages (with extra data attribute for filtering that is needed for the listing page)
  • the rendering or other behavior of the button didn't change (available on staging)

@isoos isoos requested a review from sigurdm August 11, 2025 14:05
@isoos isoos changed the title New like button markup with class selectors. New like button markup with class selectors + also updating other labels on the page. Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant