-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Display upload errors in UIWindowProgress dialog
The object returned from UIWindowProgress() now has a `show_error()` method, taking a title and message. Calling it will replace the content of the window with those messages. I've made use of this for file uploads. The only other place we currently have errors we could show is for zipping and downloading files, but we do not always have a progress dialog in that case, so I'll leave that for now. I think ideally, we would always create a progress dialog, and it would then support being invisible initially, but appearing after a delay. Then we'd always have an object to call `show_error()` on, and it could then immediately show the dialog. But I'll get to that another day. :^)
- Loading branch information
Showing
3 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters