Skip to content

feat: add user handle filters (include and exclude) #1813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Feb 6, 2025
Merged

Conversation

setchy
Copy link
Member

@setchy setchy commented Feb 5, 2025

Overview
Add two new filter options for include handles and exclude handles. Closes #1809

Also took the opportunity to rework our hide bots filter to be a more generic User Type filter.

For user types, I have

  • Combined User and EnterpriseUserAccount under a common User selection
  • Omitted Mannequin user type - didn't think it would be that useful
  • Kept Organization, but admittedly I've never seen many of these notifications come through...

Updated filter screen (proposed)
2025-02-05T12-45-17 262Z-Gitify-screenshot

Pending items

  • update unit tests

Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
@github-actions github-actions bot added the enhancement New feature or enhancement to existing functionality label Feb 5, 2025
@setchy setchy added this to the Release 6.1.0 milestone Feb 5, 2025
Signed-off-by: Adam Setch <[email protected]>
@setchy
Copy link
Member Author

setchy commented Feb 5, 2025

@peckjon would the above enhancement cover the use-cases you had in mind?

@peckjon
Copy link

peckjon commented Feb 5, 2025

Love it @setchy ! 🚢 🚀

Signed-off-by: Adam Setch <[email protected]>
@setchy setchy marked this pull request as ready for review February 6, 2025 13:08
Copy link
Member

@afonsojramos afonsojramos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome! Just a couple suggestions

@setchy setchy requested a review from afonsojramos February 6, 2025 14:49
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Signed-off-by: Adam Setch <[email protected]>
Copy link

sonarqubecloud bot commented Feb 6, 2025

afonsojramos added a commit that referenced this pull request Feb 6, 2025
* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

* Update src/renderer/utils/notifications/filters/userType.ts

Co-authored-by: Afonso Jorge Ramos <[email protected]>

* Update src/renderer/utils/notifications/filters/reason.ts

Co-authored-by: Afonso Jorge Ramos <[email protected]>

* Merge branch 'main' into feat/filter-by-handle

Signed-off-by: Adam Setch <[email protected]>

* Merge branch 'main' into feat/filter-by-handle

Signed-off-by: Adam Setch <[email protected]>

* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

* feat: filter by handles

Signed-off-by: Adam Setch <[email protected]>

---------

Signed-off-by: Adam Setch <[email protected]>
Co-authored-by: Afonso Jorge Ramos <[email protected]>
@setchy setchy merged commit bbcdf1f into main Feb 6, 2025
13 checks passed
@setchy setchy deleted the feat/filter-by-handle branch February 6, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hide by handle or RegEx
3 participants