-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
[Query-Total Block] Add editable text and visibility toggle for total count in Query Total block #67994
base: trunk
Are you sure you want to change the base?
[Query-Total Block] Add editable text and visibility toggle for total count in Query Total block #67994
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
@gziolo Looking forward for you feedback here 😇 |
@swissspidy I'd love to get your thoughts here in terms of cross language feasibility. My guess is that there are going to languages that will need to have it as a suffix where as others need the text as a suffix to the number. And probably even some that will need both a suffix and a prefix 🤔 A freeform text field for labeling numbers? |
We could implement three text boxes that users can rearrange to different positions, like |
That's a lot of text boxes :-) Something where placeholders can be used inside a text box would be better, but that opens another can of worms, like UX requirements and the need to properly sanitize those strings. I would suggest opening an issue first to outline the requirements and constraints. |
Enhancements for: #67629
What?
This update enhances the Query Total block by introducing two key features:
rangeDisplay
type.Why?
How?
Editable Text:
total-results
andrange-display
types.Toggle Option:
Testing Instructions
range display
option from the toolbar.Screenshots or screencast
query-total.enhancements.mov