Repository navigation
Improve cleanup-repo-filelist-actions’s reliability - #3517
Merged
fregante merged 3 commits intoAug 30, 2020
Merged
Conversation
selector-observer in cleanup-repo-filelist-actionscleanup-repo-filelist-actions to use selector-observer
fregante
requested changes
Aug 29, 2020
fregante
left a comment
Member
There was a problem hiding this comment.
👎 This doesn't seem to have benefits, according to #3084 (comment)
Thoughts?
Member
|
I may be wrong, as you said it fixes #3405 (comment) |
cleanup-repo-filelist-actions to use selector-observercleanup-repo-filelist-actions’s reliability
Member
|
Somehow this caused a serious issue and I don't really know why. Can you replicate it? #3527 |
fregante
reviewed
Sep 4, 2020
| searchButton.classList.add('tooltipped', 'tooltipped-ne'); | ||
| searchButton.setAttribute('aria-label', 'Go to file'); | ||
| searchButton.firstChild!.replaceWith(<SearchIcon/>); | ||
| observe('.btn[data-hotkey="t"]', { |
Member
There was a problem hiding this comment.
We should keep in mind that select and observe are not equivalent.
select will only pick one while observe will work as select.all. This could cause trouble
Member
Author
There was a problem hiding this comment.
The cause is observe('get-repo details'), this one is fine
Is it because they are custom elements? Changed to another selector but still get stuck
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.
LINKED ISSUES:
Add
cleanup-repo-filelist-actionsfeature #3405 (comment)TEST URLS:
Open any file (such as https://github.com/sindresorhus/refined-github/blob/master/license) and go to repo root (https://github.com/sindresorhus/refined-github)
SCREENSHOT:
None