screwdriver
screwdriver copied to clipboard
UI is persisting error message in pipeline options page
Steps to reproduce
- Use is in pipeline options page and clicks sync button on Pipeline.
- For whatever reasons sync fails and user is shown error.
- User navigates to a different pipeline's options page. Error message is still displayed.
- User clicks Sync Pipeline. Error message is shown even if the Sync is success
Expectation
- [x] Once user navigates out of pipeline options page, error message should be cleared.
- [ ] Even with in the same pipeline options page, if user clicks Sync again and if it succeeds, then error message should be cleared.
#1 should be solved with the above PR. Not sure if #2 is solved yet.
#1 should be solved with the above PR. Not sure if #2 is solved yet.
- won't be solved by the above PR, it should be handled in
.donehandlers for the promises whose failure sets the error message.