question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add filtering of Pull Requests by pull request number and author

See original GitHub issue

Currently, the Pull Request tab (Current Branch > Pull Requests) has fuzzy search functionality that allows you to search a string and filters the results by finding matches to the PR titles. This is great if you know the title you are searching for or approximate keywords but does not allow you to search by pull request number or by author handle. For example, if you wanted to find PR #4227, Bump toolbar contrast, you could find it by searching “contrast” or “btcrst”, etc. but you can’t find it by searching “4227” or “niik”…yet 👇

✏️ 🗒 Task: Index the pull request numbers and authors and allow filtering of results by the PR number and author.

Suggested Functionality (let’s pretend the user is Paula) :

  • match all number occurrences: if Paula types 2 in the filter (without # sign), they will see all the issues with a 2 in it, like: #21, #2, #294, #321, #52, and a PR with the title when 2 becomes 1 (new)
  • filter by # sign: if Paula types #23 (with # sign), they will see all issues beginning with 23, like #23 and #232 but not #123 (new)
  • match all author occurrences: if Paula types n in the filter, they will see all issues with an n in it like a PR with the title Add context menu to... and all authors with an n in it like nerdneha and niik (new)
  • highlight matching characters: while Paula types, text matching the filter will continue to be highlighted (existing functionality)
  • preserve existing fuzzy searching: when Paula types a string with mixed characters, they will see results that match existing fuzzy search results, like 3I will show Drop back to v3 API to retrieve... Not sure of the expectation when we type “32” though… (existing functionality)

screen shot 2018-03-12 at 11 20 23 am

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
damaneicecommented, May 7, 2018

I will take a look at this.

0reactions
shiftkeycommented, Jul 16, 2018

Thanks for the reminder @say25!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filtering and searching issues and pull requests - GitHub Docs
To find detailed information about a repository on GitHub, you can filter, sort, and search issues and pull requests that are relevant to...
Read more >
View, filter, and open pull requests - Azure Repos
To filter the PR list, on the Pull requests page, select the Filter icon at upper right. Then select Target branch or other...
Read more >
Searching Pull Requests | Tower Help
The "Pull Requests" category is used to filter the list of Pull Requests by searching through all Pull Requests' metadata. Text: Filters by...
Read more >
How to filter pull requests on GitHub by commentaries authors?
Is there a way to filter out only those pull requests, that has been reviewed by a specific user? I've tried multiple filters:...
Read more >
Filter pull request reviews and review requests
Pull request reviews are a great way to share the weight of building software, and with review requests you can get the exact...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found