-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Show drafts icon in header regardless of whether drafts are loaded * Slightly improve translation when drafts dropdown is empty * Load draftCount in CurrentUserSerializer, as user.drafts() is only loaded when the user does something that calls ShowUserController. * Improve UI of using drafts: - Load drafts list when opening the composer; this way, we avoid a situation where a new draft is being saved, no drafts have been loaded, and the user is presented with an empty draft list in the header. - Load draft count on page load separately from the draft list itself: this means that the count is always accurate. - Don't close the composer when saving drafts; this is behavior not used in any other product (imagine if Microsoft Word shut down whenever you pressed save). - When a new draft is created, save it as the composer component's stored draft, so that future saves will be treated as updates - Prevent duplicate save messages; ensure that the save message disappears and reappears when updating a draft so that the user clearly sees that the change was successsful, and not a left-over save message
- Loading branch information
1 parent
1532d6f
commit fb632e4
Showing
5 changed files
with
32 additions
and
20 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
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