Repository navigation
Open all issues without selecting them - #1402
Merged
fregante merged 10 commits intoNov 14, 2018
Merged
Conversation
Contributor
Author
|
As @bfred-it suggested this feature is not implemented as part of the already existing |
On repos without checkboxes, the button would only appear if there are 0 issues.
It's not necessary to specify PR or Issue, we don't do for the checked elements either. Also some searches might include both types.
fregante
requested changes
Jul 11, 2018
| export const isPRFiles = () => /^pull\/\d+\/files/.test(getRepoPath()); | ||
|
|
||
| export const isPRSearch = () => location.pathname.startsWith('/pulls'); | ||
| export const isPRSearch = () => location.pathname.endsWith('/pulls'); |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
fregante
reviewed
Jul 17, 2018
| if (!pageDetect.isIssueList() || select.all('.js-issue-row').length < 2) { | ||
| return; | ||
| } | ||
| const openAllButtonText = location.pathname.endsWith('/issues') ? `Open all issues` : `Open all PRs`; |
Member
|
Great! Now it only needs a readme mention and screenshot |
fregante
approved these changes
Jul 17, 2018
Contributor
Author
|
on it .. shall i rename the file btw instead of |
Member
|
Perhaps |
fregante
force-pushed
the
feature/enable-open-all-button
branch
from
November 14, 2018 10:24
1d79dcc to
363b133
Compare
fregante
force-pushed
the
feature/enable-open-all-button
branch
from
November 14, 2018 10:30
363b133 to
14c2ddf
Compare
fregante
approved these changes
Nov 14, 2018
Member
|
Thanks for working on this @ahmadassaf! I found it instantly useful |
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.
Using extensively the issues and PRs with combinations of filters, I very often come across the need to open all the filtered PRs or issues. This PR adds a new button to open either all issues if you are in the issues page or all the PRs even if you are not an owner.
Related Issues: