-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add review requested filter on pull request overview #13701
Conversation
Codecov Report
@@ Coverage Diff @@
## master #13701 +/- ##
=======================================
Coverage 41.84% 41.85%
=======================================
Files 744 744
Lines 79689 79714 +25
=======================================
+ Hits 33347 33361 +14
- Misses 40843 40849 +6
- Partials 5499 5504 +5
Continue to review full report at Codecov.
|
This will need a rebase now after #13594. Edit: actually no, that part was not consolidated. |
b909521
to
156e042
Compare
Is there any update on this PR? Our team would really appreciate the change for the main workflow of our release cycle. |
156e042
to
92c25fa
Compare
TODO: also return review requests for teams you belong to. When looking at the code for team review requests, I notice that when a user submits a review with status Reject or Approve, any existing review requests for the teams the user belongs to are removed. So I do wonder why we wouldn't also remove review requests for the user there? It would remove the need for these subselects in all the queries. Is there a reason we need to keep these superseded user review request records? |
This is done. Added team review requests to the filter + a refactoring to remove the code duplication in the issue filtering conditions. |
I like
Maybe we should have another PR to delete the review requests when user reviewed or PR merged/closed ?
Yes, please!!! |
This can indeed be done in another PR. It would also require a data migration to delete the obsoleted review requests.
Already done in 92c25fa. So as far as I'm concerned this PR is ready for review and merge. |
@jpraet can you update the branch ;) |
* master: (27 commits) Use path not filepath in routers/editor (go-gitea#14390) Display error if twofaSecret cannot be retrieved (go-gitea#14372) Check if label template exist first (go-gitea#14384) Allow passcode invalid error to appear (go-gitea#14371) exclude authored PRs from Review Requested filter (go-gitea#14368) Upgrade blevesearch dependency to v2.0.1 (go-gitea#14346) Implement ghost comment mitigation (go-gitea#14349) Add edit, delete and reaction support to code review comments on issue page (go-gitea#14339) Add review requested filter on pull request overview (go-gitea#13701) escape branch names in compare url (go-gitea#14364) label and milestone webhooks on issue/pull creation (go-gitea#14363) Fix middlewares sequences (go-gitea#14354) Sort issue search results by revelance (go-gitea#14353) KanBan: be able to set default board (go-gitea#14147) ...
Fixes #13682
This adds a filter on the pull request overview pages that allows you to find the pull requests that are requesting your review.