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

Settings for notifications #61

Merged

Conversation

alkari-verende
Copy link
Contributor

@alkari-verende alkari-verende commented Dec 31, 2021

Several users have requested the ability to reduce the number of notifications sent from the calendar. This commit adds two new setting groups:

First, the ability to globally disable each type of notification: create/post, update/edit, cancel, activate, end. For us, we find the "update" notifications more noisy than helpful, so we disable it as shown in the screenshot.

Second, this adds the ability to change the interval on which SeAT will ping out reminders for operations:

Screen Shot 2021-12-31 at 9 15 35 PM

Note that these settings are global to all events.

Closes #22
Closes #23

Several users have requested the ability to reduce the number of notifications sent via the calendar. This commit adds the ability to globally disable each type of notification: create/post, update/edit, cancel, activate, end.
This addresses one of the top comments in issues reported to the calendar: allow admins to control when and how often operations are pinged out.

Closes BenHUET#22
src/Commands/RemindOperation.php Outdated Show resolved Hide resolved
src/Http/Controllers/SettingController.php Outdated Show resolved Hide resolved
src/Observers/OperationObserver.php Show resolved Hide resolved
src/Commands/RemindOperation.php Show resolved Hide resolved
src/resources/lang/en/seat.php Outdated Show resolved Hide resolved
* Fix boolean value to be actual boolean
* Combine two migrations into one and used clearer key/value array for settings
@alkari-verende
Copy link
Contributor Author

@warlof Thank you again for all the feedback. I believe I have addressed all the comments, except the two I responded to above. Can I get another review?

Instead of using `!!`, rely on the framework to validate the boolean value, then coerce the type before saving.  Also, bring the `slack_integration` setting in line with the other checkbox values.
@warlof warlof merged commit ee71122 into BenHUET:master Jan 3, 2022
@alkari-verende alkari-verende deleted the feature/settings_for_notifications branch January 3, 2022 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ping on edits Optional ? [Feature Request] Add RemindOperation to settings
2 participants