Skip to content
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

feat(notif): allow users to enable/disable specific agents #1172

Merged
merged 31 commits into from
Apr 13, 2021

Conversation

TheCatLady
Copy link
Collaborator

@TheCatLady TheCatLady commented Mar 15, 2021

Description

  • Allows users to enable/disable specific agents
  • Refactors setting navigation tabs into a new SettingsTabs component
  • Adds tabbed user notification settings and hides tabs for settings which cannot be enabled (e.g., don't allow user to configure email settings if the owner/admin has not set up and enabled email notifications)
  • Adds new shared settings tabs component for settings navigation elements
  • Modifies Yup validation to only enforce required fields when the notification agent is enabled
  • Refactors email notification agent to reduce duplicated logic/code
  • Improves notification logging
  • Removes redundant "Enable Notifications" setting, since each agent can be enabled/disabled on its own
  • Fixes test function for email notification agent to use form values instead of saved settings

Screenshot (if UI-related)

image
image
image

To-Dos

  • Successful build yarn build
  • Translation keys yarn i18n:extract
  • Database migration (if required)

Issues Fixed or Closed

@TheCatLady TheCatLady requested a review from sct as a code owner March 15, 2021 00:53
@TheCatLady TheCatLady force-pushed the feat/ui/user-notification-agent-settings branch 24 times, most recently from b49c31e to 5146ede Compare March 21, 2021 23:20
@TheCatLady TheCatLady force-pushed the feat/ui/user-notification-agent-settings branch 2 times, most recently from 5898473 to ee18075 Compare March 23, 2021 01:27
@TheCatLady TheCatLady force-pushed the feat/ui/user-notification-agent-settings branch 2 times, most recently from b1653b9 to 0240f83 Compare March 24, 2021 04:37
@TheCatLady TheCatLady force-pushed the feat/ui/user-notification-agent-settings branch from 2b7fb1e to 85c6d2a Compare April 13, 2021 03:25
@sct sct enabled auto-merge (squash) April 13, 2021 03:31
@sct sct merged commit 46c4ee1 into develop Apr 13, 2021
@sct sct deleted the feat/ui/user-notification-agent-settings branch April 13, 2021 03:31
sct pushed a commit that referenced this pull request Apr 13, 2021
* docs: add Pushbullet, Pushover, Telegram

* docs: correction based on feedback from @costaht

* docs: add Slack

* docs: update Telegram docs to reflect changes in #1172

* docs: clarify PGP key format

* docs: edit Pushover documentation
@github-actions
Copy link

🎉 This PR is included in version 1.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase verboseness of notification logs Specify notification agent per user
2 participants