-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor Status Label: Reduxify and simplify
**Simplify step**: the `EditorStatusLabel` is only a shadow of its former self, showing just a simple label that's not interactive at all. It used to be more than that: it was clickable and could open a popover with post status. That was changed by @mtias in #11536, where he moved the post status to the sidebar accordion. This PR removes the dead code related to `onClick` and `advancedStatus` props, which are no longer used. **Reduxify step**: retrieve the edited post (the saved version, not the modified one) from Redux instead of passing the `savedPost` prop from Flux store.
- Loading branch information
Showing
4 changed files
with
47 additions
and
88 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