-
Notifications
You must be signed in to change notification settings - Fork 279
feat(settings): ignore bot notifications #929
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
Conversation
…/gitify-app/gitify into feature/ignore-bot-notifications
| const isEnterprise = isEnterpriseHost( | ||
| accountNotifications.hostname, | ||
| ); | ||
| const token = isEnterprise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO this indentation level has crossed a line where something should be split into smaller pieces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree - I too would really like to refactor most of this file into smaller pieces.
bmulholland
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just the concern about nested complexity in useNotifications
Add setting to control whether notification from
Botaccounts are shown or hidden.Closes #591