-
-
Notifications
You must be signed in to change notification settings - Fork 393
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 new notification features #847
base: master
Are you sure you want to change the base?
Conversation
thanks for this! i know it's a draft, but here is the one thing that occurred to me after glancing over it: there are too many dumb data holder classes who share similar fields and their only reason for existence is for the listener to catch them by the class name. can we unify them? something like:
and then the listener can be:
or, if we want to reduce spring magic:
|
You're right about the type of notifications. All notifications on the same item share the same description because I don't know yet what is helpful to set. But I will try the following:
It's a draft because not ready for merge but open to remarks :) Fyi, my next PR will be to add a |
About naming, what is the difference between |
Ping @goekay |
sorry, it fell under the radar.
nothing. i am, or was, not consistent with the notions :) both are used interchangeably. |
update: not dead but less free time on my side ;) |
Hi @juherr, I've experimented with adding webhooks that were called from NotificationService. It's a hack since the WebhookService was called from methods of MailService instead of NotificationService. I also got a chance to add some columns to the MySQL database for storing a single webhook link along with enable/disable flags. I need to clean it up and refactor it in a manner suitable for adding to SteVe's master. But, similarly, not dead but less free time :/ |
Add new notification feature about ChargePoint, User and OccpTag create/update/delete.
The pull request is not yet finished because I'd like to add some other notifications (see TODO).
I have some doubt about the naming too.