Skip to content

Add a reusable admin progress bar - #288

Merged
hellopablo merged 1 commit into
developfrom
feat/admin-progress-bar
Oct 21, 2026
Merged

hellopablo merged 1 commit into
developfrom
feat/admin-progress-bar

Conversation

@hellopablo

Copy link
Copy Markdown
Member

Summary

  • Add a markup-driven js-admin-progress plugin that paints a track, fill, and value / max label.
  • The bar redraws when data-value or data-max change, so callers do not need to refresh the whole admin UI on each tick.

Test plan

  • Confirm a .js-admin-progress element on an admin page renders a bar and label after load.
  • Change data-value / data-max in the DOM and confirm the fill, label, and aria values update.
  • Hide the host with hidden and confirm the plugin leaves visibility to the caller.

Modules can render a meter from data-value and data-max instead of shipping their own bar markup and paint logic.
@hellopablo
hellopablo marked this pull request as ready for review October 21, 2026 19:51
@hellopablo
hellopablo enabled auto-merge October 21, 2026 19:51
@hellopablo
hellopablo merged commit aa766f0 into develop Oct 21, 2026
5 checks passed
@hellopablo
hellopablo deleted the feat/admin-progress-bar branch October 21, 2026 19:53
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