-
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
New Progress Bar block (or a core-blocks approach to building a progress-style block pattern) #34219
Comments
Great idea! 🍺
Even if it were a component so folks could compose custom progress blocks and patterns. Styling |
+1 from other users that would like this to be a core block/functionality. |
Related #58773. A niche block like this probably doesn't meet the 80/20 requirement. |
Hi @Mamaduka, Thank you for the feedback! I believe a progress bar block could actually serve a wide range of common use cases that many WordPress users encounter, such as Course/Learning Progress, Goal Visualization, Content Engagement, etc. Looking at popular WordPress themes and plugins, progress indicators are commonly implemented but often require custom code or additional plugins. A core block would provide a standardized, accessible solution that integrates seamlessly with the block editor. I would love to hear more thoughts on this, and I'm open to adjusting the implementation to better serve the broader WordPress community. |
@Infinite-Null, the progress bar can be considered a niche block, so I think its inclusion in the core depends on #58773. |
Hi @Mamaduka, Should I proceed with closing the PR or pause my work on it for now? Additionally, I noticed this comment with a list of blocks. Would it be possible for me to contribute by adding one of those blocks? I’d be happy to assist. |
@Infinite-Null, there's no need to close the PR. I mentioned there might be a new way to ship niche and small blocks instead of including them in the core. I think the comment in question also lists blocks similar to Progress Bar for block directory consideration. I would say those are low priority at the moment. |
I would like to see this implemented as a Progress or Step Indicator. For example https://designsystem.digital.gov/components/step-indicator/ |
What problem does this address?
Many different types of sites use a progress bar or progress meter of some kind to communicate progress toward a goal, that is difficult to recreate using core Gutenberg blocks.
Examples of use cases for a progress bar include:
While many dedicated progress bar plugins exist, it would be great to be able to create the above kinds of block patterns using core blocks, so that the pattern can be easily shared. The solution to this would likely need to be general to allow the above patterns to be designed with core blocks, and users needing a more bespoke or tailored solution for their use case could look to plugins instead.
Examples of progress bars from elsewhere on the web
Change.org
Australian Cultural Fund
Example from an existing plugin (Sensei LMS)
What is your proposed solution?
In the examples above, most of the other text and parts of the pattern can be recreated using paragraph, heading, social links, and buttons blocks, however the progress bar itself doesn't appear to be something we can build using core blocks (though please do comment if you can think of a clever workaround!).
Ideally we'd have a generic block that allows a progress bar to be created with custom background color, gradients, border, border radius, etc. Then, plugins and themes should be able to extend this with additional styles.
For the purposes of this issue, the goal is to be able to create the above kinds of patterns, whether or not it involves a dedicated "progress bar" block.
This idea was initially raised here in the WordPress.org support forums.
The text was updated successfully, but these errors were encountered: