-
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: Revisions: Diff revisions only once (#19072)
* Post Revisions: Don't compute or display diffs when the amount of content is too large (#19860) * Post Revisions: Don't compute or display diffs when the amount of content is too large Diff in the selector so it is memoized & can be used in both the list item & the diff view * Improve auto selecting first revision in the list * When post is too long to diff, just show the whole thing in the viewer * Post Revisions: short-circuit the selector when the flag is not enabled * remove the is-loading class when content is "too long" * Post Revisions: Update Tests for diffing change (#19944) * Update tests for the getPostRevisionChanges selector * Don't annotate the response in the receiveSuccess test. We're diffing on select now -- not receive. * Enable the feature flag in the test environment
- Loading branch information
1 parent
a76c807
commit 41e4be8
Showing
8 changed files
with
228 additions
and
110 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
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
Oops, something went wrong.