Page MenuHomePhabricator

Disable interactive elements while saving
Closed, ResolvedPublic3 Estimated Story Points

Description

Mock

7.0 Termbox publish edit.png (675×383 px, 41 KB)

Acceptance Criteria

  • Once users click on the save button when being in edit mode, all interactive elements (all input fields, save, cancel button) become non-interactive. This means, that they cannot be focussed and changed.
  • Everything is overlayed with a layer that is 50% white
  • If the save failed or succeeded, all interactive elements are enabled again and the overlay disappears.

Event Timeline

I "messed up" with the IP overlay, not being aware that every other overlay in the Wikiworld works with 50% white and not with 25% black as I initially specified. So we might want to adapt to the white version here and make this small change in the IP and license overlay as well. I post it as a comment an will raise this question in the next team meeting (daily or sprint start?).

Change 521259 had a related patch set uploaded (by Jakob; owner: Jakob):
[wikibase/termbox@master] Introduce generic overlay component

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

Change 521280 had a related patch set uploaded (by Jakob; owner: Jakob):
[wikibase/termbox@master] Show an overlay while saving an edit

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

Change 521259 merged by jenkins-bot:
[wikibase/termbox@master] Introduce generic overlay component

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

Change 521280 merged by jenkins-bot:
[wikibase/termbox@master] Show an overlay while saving an edit

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

Change 521433 had a related patch set uploaded (by Jakob; owner: Jakob):
[mediawiki/extensions/Wikibase@master] Update Termbox

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

Change 521433 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Update Termbox

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

Thanks! Is there a way to produce a failed publish action? @Tarrow (as Jakob is not available)

@Hanna_Petruschat_WMDE On beta? I guess the easiest thing to do is probably:

  1. Open a beta item on mobile and start editing.
  2. (In chrome) Right click -> 'Inspect'
  3. Select the 'Network' tab
  4. Check 'offline' box
  5. Try and save the edit

Tested. Looks fine! Now really looking forward for the error message.