-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[UBP] Nudge users toward pay-as-you-go in workspace class preferences #15190
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
Conversation
started the job as gitpod-build-jx-ws-classes-nudge.1 because the annotations in the pull request description changed |
f17252d
to
bd82e32
Compare
I've implemented @jldec's latest suggestion here #14831 (comment) because that seemed like an easy first attempt, but I'd also be happy to implement @gtsiolis' Nudge 1 from #14831 (comment) (as agreed to by @svenefftinge)
EDIT: Looking a bit closer at it, I find it confusing (what is "my existing plan"? 🤔 and where should I go to cancel it?) -- Maybe the other proposal is better. |
Will implement Nudge (1) -- back to Draft. |
bd82e32
to
12e7106
Compare
12e7106
to
f760f12
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.
Thanks, @jankeromnes! 🔮
Left some minor and non-blocking comments below. 🏓
@@ -48,12 +49,14 @@ export function ProjectSettingsPage(props: { project?: Project; children?: React | |||
|
|||
export default function () { | |||
const { project, setProject } = useContext(ProjectContext); | |||
const [teamBillingMode, setTeamBillingMode] = useState<BillingMode | undefined>(undefined); | |||
const [billingMode, setBillingMode] = useState<BillingMode | undefined>(undefined); |
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.
issue: Probably not the best line to comment on this, but the Usage tab is visible for teams even if you haven't enabled UBP for your account. Is this known or expected?
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.
Good catch! But yes, I believe this is expected. The reason is that viewing the Usage for your team makes sense even if you're not yet on UBP.
<h3 className="mt-12">Workspaces</h3> | ||
<p className="text-base text-gray-500 dark:text-gray-400"> | ||
Choose the workspace machine type for your workspaces. | ||
</p> |
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.
thought: I find the section heading here unnecessary as if we're trying to fool users by advertizing a feature that does not exist, or they can not reach, especially since there are no other workspace settings, and we're not allowing users to close this alert. I'd drop the section heading, but I'll leave you and @jldec decide because of the relevant comment in #14831 (comment). 🏓
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.
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.
I think it's clearer with the heading Let's leave it in.
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.
DEAL—Let's go with that and change later if needed. 🤝
f760f12
to
12139b1
Compare
Many thanks for the feedback! Everything is resolved, and this PR is just awaiting approval before it can be merged. 🙂 🔜 |
We’ve introduced complexity into this nudge by adding buttons that link to the right places with the action button.
We need to link to all 3 correctly for the buttons to work properly. |
This is handled ✅ (link to old individual billing)
I think this is irrelevant -- we allow users to switch to UBP even if they still have old Team Plans. Please confirm @geropl
This is handled ✅ (link to team billing) |
Please see comment in the issue.
Please use the following Nudge text:
It's fine to have the green buttons or links to the right place to cancel, as long as they work properly. |
…active Chargebee team plan, also nudge towards cancelling
12139b1
to
71d2f81
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.
LGTM
Description
Nudge users toward pay-as-you-go in workspace class preferences.
Related Issue(s)
Fixes #14831
How to test
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh