-
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
[dashboard] Re-implement 'Cancel Downgrade' in Plans page #3873
Conversation
2f03f6d
to
a7ebf75
Compare
🎰 👍 started the job as gitpod-build-jx-cancel-downgrade.9 |
e1b77ab
to
efe3566
Compare
IO preview: https://jx-cancel-downgrade.staging.gitpod-io-dev.com/workspaces/ Currently looks like this: We might want to adjust the texts a bit. @AlexTugarev and/or @gtsiolis, could you please take a look when you have time? |
8471f0b
to
0d002fd
Compare
0d002fd
to
1a6d6a1
Compare
Alright, should be good to go now. 🚀 @AlexTugarev & @gtsiolis please take another look. 😊 🙏 |
Just tested the downgrade. Here is what I noticed:
Suggestion: on hover of Cancellation is also not an instant thing, right? After refresh it still presents with |
Awesome, thanks!
Good catch. I can fix that.
That's expected, as we wait for the Chargebee callback here. (When there is a P.S. You don't need to reload, as the polling will already update the state when Chargebee finally calls back. |
That's a bug in my EDIT: Found the bug: Condition for successful downgrade cancellation should be |
1a6d6a1
to
e135f48
Compare
… visual feedback faster
e135f48
to
961dfe8
Compare
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.
Curious why we need this cancel button in the first place? Is there a need for an undo action?
Since there's now a) confirmation to upgrade or downgrade through modals and b) adequate information on the action and potential account changes through alert components, this undo action seems to be redundant, right? 😭
What do you think? Let me know if I'm missing something. 💭
FWIW, an undo action on the workspaces deletion action could be great! ⭐
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.
Two more minor comments! 🧡
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.
One last comment for this round:
@jankeromnes if you think this a) covers some edge cases and b) restores some broken functionality it should be fine to merge. However, it terms of UX I'd vote for removing this undo functionality with the cancel button in the long run unless needed for technical reasons due to the integration with Chargebee. 🤷
See #3873 (comment).
Many thanks for the reviews, @AlexTugarev and @gtsiolis! @gtsiolis This was more about re-implementing a feature that was available in the old dashboard, but maybe it's okay to leave it out? The use case goes something like this:
Currently: The downgrade is still schedule for 2-3 weeks from now. To cancel it, I need to navigate Billing very deep in order to find "delete pending changes" or similar. (Otherwise, I forget about this, then the downgrade happens automatically, and maybe I "forget" to upgrade again.) With this feature: I can click on "Cancel" to cancel the scheduled downgrade, and stick with Professional. |
Thanks for explaining this in #3873 (comment) @jankeromnes! 🙏 Makes sense now. Since we're not charging per hour usage or something similar this approach seems better for now. 💯 |
…hargebee callback + raise polling frequency 10s → 5s
…n individual Professional plan
Fixes #3795
Has no effect on Core / OSS.
How to test: