-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Reset compose state if error is recoverable
Previously if anything went wrong in the messaging host, we only showed a notification to the user and the user was stuck with a greyed out ExtEditorR button. However in some cases, the error may be fixed by updating ExtEditorR's and/or the editor's configurations, e.g. - Host cannot create the temporary EML file - Host cannot write to the temporary EML file - Host cannot start the editor Now when such an error arises, we re-enable ExtEditorR's button and clear out all received messages for the compose window (which should be empty in the first place). For other errors, we keep the button greyed out to avoid overwriting any data. And there are also errors like version mismatch where users have to reload ExtEditorR.
- Loading branch information
1 parent
c929318
commit 34ac6cd
Showing
3 changed files
with
13 additions
and
0 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