Motivation
As a Wikidata mobile editor
When I click on save
I want to see that something is happening even if the save has not succeeded yet
Mock
Acceptance Criteria
- Once the request was sent, there is an indicator of progress as shown in the mock
- The progress indicator in indeterminate
- The progress indicator behaves as the OOUI one: https://doc.wikimedia.org/oojs-ui/master/js/#!/api/OO.ui.ProgressBarWidget
-
instead of blue the moving part will show a cutout of the Wikidata logoThe bar will be blue for a start as the logo should not be cropped and might not be the most suitable solution for wikibase instances anyways - the logo will always be 40% of the width of the total bar (proportions will change throughout different width as the heights always remains 20px)
-
- If the save failed (i.e. the page mode stays in edit mode) or succeeded, the progress indicator disappears
Asset
svg of the Wikidata logo: https://commons.wikimedia.org/wiki/File:Wikidata-logo.svg
Notes
Maybe this could be done entirely in css. @Lucas_Werkmeister_WMDE created a demo a while ago.


