Skip to content

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 <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@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 <adam.setch@outlook.com>
@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 <adam.setch@outlook.com>
@setchy setchy marked this pull request as ready for review February 6, 2025 13:08
Signed-off-by: Adam Setch <adam.setch@outlook.com>
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 and others added 7 commits February 6, 2025 09:40
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Co-authored-by: Afonso Jorge Ramos <afonsojorgeramos@gmail.com>
Co-authored-by: Afonso Jorge Ramos <afonsojorgeramos@gmail.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy setchy requested a review from afonsojramos February 6, 2025 14:49
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@sonarqubecloud
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 <adam.setch@outlook.com>

* feat: filter by handles

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: filter by handles

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: filter by handles

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: filter by handles

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: filter by handles

Signed-off-by: Adam Setch <adam.setch@outlook.com>

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

Co-authored-by: Afonso Jorge Ramos <afonsojorgeramos@gmail.com>

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

Co-authored-by: Afonso Jorge Ramos <afonsojorgeramos@gmail.com>

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

Signed-off-by: Adam Setch <adam.setch@outlook.com>

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

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: filter by handles

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: filter by handles

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* feat: filter by handles

Signed-off-by: Adam Setch <adam.setch@outlook.com>

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
Co-authored-by: Afonso Jorge Ramos <afonsojorgeramos@gmail.com>
@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

Development

Successfully merging this pull request may close these issues.

Hide by handle or RegEx

4 participants