gitpod-io / gitpod

The developer platform for on-demand cloud development environments to create software faster and more securely.
https://www.gitpod.io
GNU Affero General Public License v3.0
12.68k stars 1.21k forks source link

[Self-Hosted] Proactive Admin notifications #9974

Closed lucasvaltl closed 1 year ago

lucasvaltl commented 2 years ago

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

Describe alternatives you've considered

Additional context

mrsimonemms commented 2 years ago

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 commented 2 years ago

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

Usually such notifications are :a: shown and persist directly in the product and :b: 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 https://github.com/gitpod-io/gitpod/issues/9232).

Given the upcoming navigation changes on the dashboard in https://github.com/gitpod-io/gitpod/issues/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 commented 2 years ago

AppNotifications might be useful here.

geropl commented 1 year ago

@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[bot] commented 1 year ago

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.