Add push notifications when using Progressive Web App
Is your feature request related to a problem? Please describe. No problem, improvement on the PWA to add push notifications
Describe the solution you'd like Receive notifications from the PWA
Describe alternatives you've considered NA
Additional context NA
I don't see this as a desirable feature that justifies the amount of required complexity.
I don't see this as a desirable feature that justifies the amount of required complexity.
Did you saw already the PR ? I agree there is bit of complexity but everything is already coded
I agree there is bit of complexity but everything is already coded
Not a good argument. Generating code is easy. Maintaining it in a proper way not so much.
I'd first would like to see if there is real demand for this feature.
Speaking for myself, I'm not a huge fan of web push. It can be used for good, but so far my main encounters are in spammy ways from web tools or news sites that ask me for permission without my request. I also don't think the native browser UI for managing push is at a good level UX wise.
Haven't looked at the code, however push notification just like the configurable messaging services could be useful for certain situations. By adding it under those services, you leave it up to the end user to configure it for the desired notifications/events.
For me I set up the messaging service to Discord in a dedicated server and channel, and used that with push notifications to my phone. However being able to skip the Discord step could simplify the setup and be a nice addition.
I've added a toogle in the UI to control it
That's not really consistent with the services right? What I meant was that there can be a new service you can configure for the browser, that way it's fully consistent with the existing setup.
That's not really consistent with the services right? What I meant was that there can be a new service you can configure for the browser, that way it's fully consistent with the existing setup.
@naltatis what do you think ? Should I move it under services ?
If we decide to add web push it must definitely function exactly like the existing push infrastructure and configuration.
But I'm still not sure if this feature is worth adding. If we want to add and maintain it, we need a reliable way to verify its functionality going forward (e.g. e2e tests). The required code change is quite complex.
But before discussing the how, let's focus on the "if". Feel free to 👍 on the issue description if this is a feature you'd really use in day to day life.
For context: We will be adding native notifications via the app in the future. https://github.com/evcc-io/app/issues/16
If we decide to add web push it must definitely function exactly like the existing push infrastructure and configuration.
But I'm still not sure if this feature is worth adding. If we want to add and maintain it, we need a reliable way to verify its functionality going forward (e.g. e2e tests). The required code change is quite complex.
But before discussing the how, let's focus on the "if". Feel free to 👍 on the issue description if this is a feature you'd really use in day to day life.
For context: We will be adding native notifications via the app in the future. evcc-io/app#16
I've aligned as other services for the configuration part
Seems we're not gonna add this. Sorry.