Repository navigation
Restore 30+ features broken after clicking the browser’s back button - #5873
Merged
Merged
Conversation
fregante
commented
Jul 30, 2022
fregante
commented
Jul 30, 2022
fregante
marked this pull request as draft
July 31, 2022 16:58
fregante
commented
Aug 1, 2022
fregante
left a comment
Member
Author
There was a problem hiding this comment.
I did a run through all the features for good measure (except the ones marked as "untested" below).
I fixed two additional bugs and opened a couple of issues.
TIME TO MERGE
| @@ -66,7 +66,8 @@ void features.add(import.meta.url, { | |||
| // If you're viewing changes from partial commits, ensure you're on the latest one. | |||
| () => select.exists('.js-commits-filtered') && !select.exists('[aria-label="You are viewing the latest commit"]'), | |||
| onlyAdditionalListeners: true, | ||
| awaitDomReady: false, | ||
| deduplicate: 'has-rgh-inner', | ||
| deduplicate: false, |
| pageDetect.hasFiles, | ||
| ], | ||
| deduplicate: 'has-rgh-inner', | ||
| deduplicate: false, |
Member
Author
There was a problem hiding this comment.
I verified that this feature was affected by the bug beforehand too and that this PR fixes. This confirms my theory (I didn't even test it before making all of these changes 😅 )
| include: [ | ||
| pageDetect.isCompare, | ||
| ], | ||
| deduplicate: false, |
| pageDetect.isDraftPR, | ||
| ], | ||
| deduplicate: 'has-rgh-inner', | ||
| deduplicate: false, |
| onPrMerge, | ||
| ], | ||
| onlyAdditionalListeners: true, | ||
| deduplicate: false, |
Member
Author
There was a problem hiding this comment.
Felt cute, might delete later
Screen.Recording.8.mov
Made a video showing our freshest features after going "back" from the commits tab
fregante
marked this pull request as ready for review
August 1, 2022 16:26
This was referenced Aug 5, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

delegateanddeduplicateis broken on history navigation #5871Drops deduplication from:
Mixed "change dom + delegate" features are still broken as per #5871, they will need changes like:
collapsible-content-buttondoesn't work after back button #5872I think basically we need to move away from
has-rghand its affordances