Repository navigation
Add remove-checks-tab feature - #1929
Merged
Merged
Conversation
Member
|
Can you fix the merge conflict and rebase from master (we enabled TS strict mode) and fix any issues? The PR needs a more descriptive title. |
Phrynobatrachus
approved these changes
Apr 17, 2019
Phrynobatrachus
left a comment
Contributor
There was a problem hiding this comment.
Looks like it's working fine for me on Firefox after strict mode errors are cleaned up.
fregante
requested changes
Apr 18, 2019
fregante
requested changes
Apr 19, 2019
Member
|
Please run this to delete the tags from your fork and locally, we keep pulling them from forks and pushing them to this repo (we no longer use tags) git tag -d $(git tag | grep -E '.')
git ls-remote --tags --refs origin | cut -f2 | xargs git push origin --delete |
Closed
fregante
approved these changes
Apr 20, 2019
fregante
reviewed
Apr 20, 2019
| } | ||
|
|
||
| // Only remove the tab if it's not the current page and if it has 0 checks | ||
| const checksCounter = select('.tabnav-tab[href$="/checks"]:not(.selected) .Counter'); |
Member
There was a problem hiding this comment.
I dropped safeElementReady here because onAjaxedPages always waits for domReady first.
We currently don't have a callback that is called before domready and supports ajaxed pages. It'd be great to have that at some point, not as part of this PR.
Member
|
Thanks! ✅ |
This was referenced May 18, 2019
Closed
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.
checks not gone- non zero: zeke/semantic-pull-requests#40
not gone- selected: https://github.com/sindresorhus/refined-github/pull/1928/checks
this page demonstrates it being gone unless youre owner
closes #1304