Skip to content

Conversation

@setchy
Copy link
Member

@setchy setchy commented Mar 27, 2024

Add setting to control whether notification from Bot accounts are shown or hidden.

Closes #591

@setchy setchy added the enhancement New feature or enhancement to existing functionality label Mar 27, 2024
@setchy setchy added this to the 5.1.0 milestone Mar 27, 2024
const isEnterprise = isEnterpriseHost(
accountNotifications.hostname,
);
const token = isEnterprise
Copy link
Collaborator

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.

Copy link
Member Author

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.

Copy link
Collaborator

@bmulholland bmulholland left a 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

@setchy setchy merged commit ee3a8f4 into main Mar 27, 2024
@setchy setchy deleted the feature/ignore-bot-notifications branch March 27, 2024 11: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.

Ignore specific notifications

3 participants