Page MenuHomePhabricator

Add a progress bar component to WVUI
Closed, ResolvedPublic

Description

We should add a progress bar component to indicate background loading
Eventually we will probably want to support a progress level (i.e. controlling how much of the bar is filled) but the immediate use case (T285607: Create and use a proper "loading" progress bar vue display) is just for an indeterminate state, where the bar will move across the screen and then jump to the start

Discussed with @Volker_E at https://www.mediawiki.org/wiki/Topic:Wcf9k59gp78enllk


Existing components

Wikimedia community

OOUI
ProgressBarWidget

Implementation notes

Accessibility notes

Needs to feature role="progressbar", and aria-valuemin="0" aria-valuemax="100". aria-valuenow should be omitted for the indeterminate type. See
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_progressbar_role

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 704614 had a related patch set uploaded (by DannyS712; author: DannyS712):

[wvui@master] [ProgressBar] Add new progress bar component

https://gerrit.wikimedia.org/r/704614

Change 704614 merged by jenkins-bot:

[wvui@master] [ProgressBar] Add new progress bar component

https://gerrit.wikimedia.org/r/704614

Change 715153 had a related patch set uploaded (by VolkerE; author: VolkerE):

[mediawiki/core@master] Update WVUI to v0.3.0

https://gerrit.wikimedia.org/r/715153

Change 715153 merged by jenkins-bot:

[mediawiki/core@master] Update WVUI to v0.3.0

https://gerrit.wikimedia.org/r/715153

Change 699951 had a related patch set uploaded (by VolkerE; author: Catrope):

[mediawiki/core@master] wvui: Change the 'wvui' module back to the full WVUI bundle

https://gerrit.wikimedia.org/r/699951

Change 699951 merged by jenkins-bot:

[mediawiki/core@master] wvui: Change the 'wvui' module back to the full WVUI bundle

https://gerrit.wikimedia.org/r/699951

Volker_E moved this task from Doing to Done on the WVUI board.