Skip to content

[Self-Hosted] Proactive Admin notifications #9974

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

Closed
lucasvaltl opened this issue May 12, 2022 · 5 comments
Closed

[Self-Hosted] Proactive Admin notifications #9974

lucasvaltl opened this issue May 12, 2022 · 5 comments
Labels
meta: stale This issue/PR is stale and will be closed soon ❓ clarification required team: delivery Issue belongs to the self-hosted team team: webapp Issue belongs to the WebApp team

Comments

@lucasvaltl
Copy link
Contributor

lucasvaltl commented May 12, 2022

Is your feature request related to a problem? Please describe

Currently, an admin of a self-hosted installation can only see the state of their installation regarding license if they proactively look into the license tab of the admin age themselves, or the KOTS Installation UI. This means that they might only get notified of an issue (e.g. out of seats) when it is too late, potentially causing inefficiencies with onboarding new users / employees.

Describe the behaviour you'd like

  • Implement a way to notify the admin of important events. This could be via email or via an in app notification/toast.
  • Proactively notify the admin when they are close to running out of seats (90%).
  • Proactively notify admin if license is close to expiry date, at the one month befor, one week before and one day before point.

Describe alternatives you've considered

  • Do nothing - this is not the end of the world, but having this in place would create a better experience for the admin.

Additional context

@mrsimonemms
Copy link
Contributor

mrsimonemms commented May 12, 2022

I like this. I guess we have to think about how we configure the broadcast medium.

In ascending order of difficulty, I'd suggest something like:

  1. push notification from the browser. I think you can configure these to be sent, even if you don't have your browser open on the webpage 🛹
  2. Slack/Teams notifications
  3. Email - even though it's an old technology, it's always fiddly to set it up and we'd have to design templates. The above are just text/HTML sent somewhere

@gtsiolis
Copy link
Contributor

gtsiolis commented May 12, 2022

Thanks for opening this, @lucasvaltl! This cought my attention!

Usually such notifications are 🅰️ shown and persist directly in the product and 🅱️ sent via email to (instance) admins, regardless if we'd like to show these pro-actively or not.

Using the new alert component sounds ideal for such in-product notications. For example, this is how we could warn users that prebuilds have been paused for inactive projects (see #9232).

Given the upcoming navigation changes on the dashboard in #8385, a global alert component below the top navigations sounds ideal to host such notiications.

For example, here's a quick design draft how this could look like with a non-dismissible global alert that persists across all pages in the dashboard for admins. @mrsimonemms

Early design with global non-dismissible alert component about license expiration
AdminWithWarning

@geropl
Copy link
Member

geropl commented Aug 1, 2022

AppNotifications might be useful here.

@geropl
Copy link
Member

geropl commented Sep 15, 2022

@lucasvaltl We further built out the AppNotifications mechanism. I think it should be able to handle all the usecases you described above. Would it work if you look into that for the license-related use-cases, and approach @AlexTugarev if you need assistance on the code?

@stale
Copy link

stale bot commented Dec 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Dec 16, 2022
@stale stale bot closed this as completed Jun 12, 2023
@github-project-automation github-project-automation bot moved this to In Validation in 🍎 WebApp Team Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta: stale This issue/PR is stale and will be closed soon ❓ clarification required team: delivery Issue belongs to the self-hosted team team: webapp Issue belongs to the WebApp team
Projects
Status: In Validation
Development

No branches or pull requests

5 participants