Page MenuHomePhabricator

Show the error when save fails, hide when leaving edit mode
Closed, ResolvedPublic

Description

  • have a boolean showError local field on the Termbox component to indicate the error state, set to false on initialization, and deactivateEditMode. Set to true in the catch block of the save method
  • plug messages into the MessageBanner component, show/hide with showError

Event Timeline

Change 527557 had a related patch set uploaded (by Jakob; owner: Jakob):
[wikibase/termbox@master] Show an error when failing to save an edit

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

Change 527557 merged by jenkins-bot:
[wikibase/termbox@master] Show an error when failing to save an edit

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