-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update App Notifications #12670
Update App Notifications #12670
Conversation
bbdd75c
to
872b62e
Compare
/werft run 👍 started the job as gitpod-build-at-update-notifications.2 |
/werft run 👍 started the job as gitpod-build-at-update-notifications.3 |
/werft run 👍 started the job as gitpod-build-at-update-notifications.4 |
21e0e6a
to
5ed594a
Compare
/werft run 👍 started the job as gitpod-build-at-update-notifications.7 |
5ed594a
to
be0ecad
Compare
@jldec, please have a look. 🙏🏻 |
be0ecad
to
b759be3
Compare
tbh, it seems a bit overkill to roll out push events for this. @jldec why do we need to show the limit everywhere in the dashboard? Would it not be sufficient to check and display the limit on workspace-start? |
@svenefftinge, @AlexTugarev, the idea behind a global dashboard notification from the start was that this message is really intended for team owners who may not be starting workspaces all the time. (We also envisaged email notifications at some (80%) threshold before the limit is reached.) If the notification mechanism is really expensive (implementation cost, complexity), we could pull back and ship just the notification/error on start workspace for now, but if we have something that works globally, I believe users would prefer that because it makes the out-of-credits status much clearer. |
I don't think people who don't start workspaces hang out on the dashboard. They would get nudged by developers who see the information when starting a workspace. |
@svenefftinge Maybe I'm nitpicking, but the UX of a dashboard notification does feel superior. Happy to roll-back if you think the implementation or complexity cost is not worth it. Error-on-start only (no dashboard notification):
Dashboard notification
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @AlexTugarev
LGTM - tested as described in PR description and the notification works as advertised.
/hold in case you decide to pull back, based on discussion with @svenefftinge.
Anyone should see the status of usage vs limits when looking at the billing page - no need to start a workspace. But I shared my concerns and don't want to further block this if you think it's good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anyone should see the status of usage vs limits when looking at the billing page - no need to start a workspace. But I shared my concerns and don't want to further block this if you think it's good.
I feel having (reactive) notifications like this can lift the UX to a new level, and I think we should aim for that. Notifications like this have been requested for a couple of usecases and the abstraction and mechanism solves the it nicely. Treating the paywall as a first "test driver" felt like the natural choice.
@AlexTugarev I left some cleanup comments, and a potential follow-up, but besides: Looks good to go! 👍
b759be3
to
3c149cf
Compare
Thanks for the review, @geropl! Changes applied. Build is running... |
3c149cf
to
721b359
Compare
Fixed compile errors after rebase merge conflicts. |
721b359
to
faa927e
Compare
looks unrelated. updated again. |
/hold cancel |
Description
Dismiss Usage Limit notifications automatically on resolution, e.g. on increase of Usage Limit.
Related Issue(s)
Fixes #12547
How to test
Release Notes
Documentation
Werft options: