Skip to content
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

Show changeset element counts using badges #4872

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

Conversation

AntonKhorev
Copy link
Collaborator

@AntonKhorev AntonKhorev commented Jun 3, 2024

We use counter badges in other places. We can use them on changeset pages in element headings instead of numbers in ().

Before/after:
image image

@AntonKhorev AntonKhorev added the changesets Related to the Changesets feature label Jul 3, 2024
Copy link
Contributor

@nenad-vujicic nenad-vujicic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks and works great, thanks for it! Requires updating with the latest changes of _paging_nav.html.erb / en.yml.

@AntonKhorev AntonKhorev force-pushed the element-count-badge branch 2 times, most recently from 4b59d74 to 30d7f92 Compare August 29, 2024 14:01
@AntonKhorev
Copy link
Collaborator Author

rebased

Copy link
Contributor

@nenad-vujicic nenad-vujicic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks and works perfectly now, thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets Related to the Changesets feature ui User Interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants