-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add more notification settings #105
Conversation
nucleus-ffm
commented
Dec 18, 2023
•
edited by MatsG23
Loading
edited by MatsG23
- implement improved notification settings. It is now possible to select for which source and severity you want to receive a notification
- will hopefully be a workaround for Too many notifications #91 and pre 0.4.1 Feedback: warning overflow #51
- fix a bug of an error whereby a method was executed too often
…select a warningLevel for every WarningSource. Added the needed widgets, enums and classes to handle the new data.
…thode is executed too often. Fix bug of to often executed API call. Remove deprecated notification settings
I think we should only show the AlertSwiss source in the notification settings if it has been turned on in the general settings. |
It would be also a cool addition if we could hide (collapse) the frequency of background updates setting when background updates are disabled in general. |
Let me explain my quite big changes to the code for the notification source settings:
Instead of the NotificationLevel enum that had values like "upToMinor" (specified a range), the app now checks the enum index value of the stored notification level (a Severity) and the warning. This is a much simpler approach. |
TODO: Also replace |
Currently translated at 100.0% (223 of 223 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/en/
Currently translated at 100.0% (227 of 227 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/en/
Currently translated at 100.0% (227 of 227 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/en/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/en/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/en/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/de/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/fr/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/de/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/fr/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/en/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/en/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/de/
Currently translated at 100.0% (229 of 229 strings) Translation: FOSS Warn/FOSS Warn-App Translate-URL: https://hosted.weblate.org/projects/foss-warn/foss-warn-app/fr/