Add clickable button to filter issues and PRs#498
Merged
NorbertLoh merged 9 commits intoCATcher-org:mainfrom Aug 7, 2025
Merged
Add clickable button to filter issues and PRs#498NorbertLoh merged 9 commits intoCATcher-org:mainfrom
NorbertLoh merged 9 commits intoCATcher-org:mainfrom
Conversation
NorbertLoh
requested changes
Jul 25, 2025
Contributor
NorbertLoh
left a comment
There was a problem hiding this comment.
Some things to think about:
- do we need a clear all or a way to reset such that users do not have to manually deselect all
- for example when user filters by pr -> filter by status, should it reset?
- could we make the icon change colour as well to follow the number
- perhaps we could prevent highlighting of the number to make it cleaner
NorbertLoh
approved these changes
Aug 7, 2025
Contributor
NorbertLoh
left a comment
There was a problem hiding this comment.
LGTM! I quite like this feature 👍. Maybe for future implementations, we can clear the filters when the overall filter changes
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.
Summary:
Fixes #496
Add clickable header buttons for issues and PRs. This allows for unrestricted account-based filtering of issues/PRs, while also improving usability by reducing the number of clicks and mouse movements needed for filtering.
Type of change:
Changes Made:
Screenshots:
Before
To look at only one type of card, you would need to go into status and tick/untick the respective boxes.
WATcher.1.4.1.-.AY2425S2-CS2103T-T16-4_tp.-.Google.Chrome.2025-07-17.23-13-03.-.Trim.mp4
After
Now, you can just click to see whichever type of card on each user.
Note: this will be able to work alongside the original status filter.
WATcher.1.4.1.-.AY2425S2-CS2103T-T16-4_tp.-.Google.Chrome.2025-07-17.23-13-47.-.Trim.mp4
Proposed Commit Message:
Checklist: