-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[dashboard] it makes more sense to have the green reflect the "remaining hours" instead of "cosumed". Having the "consumed" it creates confusion. see issue 9702 #9716
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
…ing hours" instead of "cosumed". Having the "consumed" it creates confusion. see issue 9702
@ionutale: Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Release Notes:
|
/uncc |
/approve |
/retest |
/werft run 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.0 |
thankyou @gtsiolis |
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 for contributing, @ionutale! 🍊
You'll also need to sign a Contributor License Agreement (CLA)[1] once before merging your first contribution. Looping in @meysholdt to reach out about the CLA. 🏓
Left one comment above, let me know what you think!
value={currentPlan.hoursPerMonth - accountStatement.remainingHours} | ||
max={currentPlan.hoursPerMonth} | ||
/> | ||
<progress value={accountStatement.remainingHours} max={currentPlan.hoursPerMonth} /> |
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.
suggestion: I was thinking we could a) make this more useful for the upcoming usage-based pricing, b) keep the existing approach, c) add some clarity to the copy, d) avoid the negative aspects that could be attached with the draining hours progress, e) improve accessibility on this area with removing the tooltip used here by making this look like the following:
BEFORE | AFTER |
---|---|
![]() |
![]() |
What do you think? Cc @jankeromnes since we've worked together in the initial implementation in #3550.
👎 unknown command: with-payment |
/werft run with-payment 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.1 ☝️ Trying this for the first time! Cc @jankeromnes |
/werft run with-payment 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.2 |
/werft run without-vm with-helm with-payment 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.3 |
@gtsiolis I see this PR that has not been merged yet. Do I need to do something else? |
hi @ionutale! I've emailed our CLA your way. I believe that is still missing before we can merge this PR. Apologies for sending it so late. If you have questions, feel free to reach me via |
hi @meysholdt , I've signed the CLA |
Thank you for signing! |
Hey, thanks for improving Gitpod's dashboard, and for signing the CLA! Let's try to get this merged.
/werft run 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.4 |
/werft run with-clean-slate-deployment 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.5 |
@ionutale Apologies, it looks like we broke the Gitpod build, and you don't have the fix yet in your Pull Request / branch. In order to fix the build, could you please rebase this Pull Request? If it helps, you could achieve this like so:
|
hi @jankeromnes, |
/werft run with-clean-slate-deployment 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.6 |
It does not seem to be my commit that breaks the build it looks like that is
this is the same error in the build 5 (before merging with main) and build 6 (after) not sure if I can help with this one 😞 |
@ionutale Did you force pushed your changes? |
the force was not working, so I did it manually from the github frontend |
/werft run with-clean-slate-deployment 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.7 |
/werft run with-clean-slate-deployment 👎 not authorized just in case i can run it 😄 |
/werft run 👍 started the job as gitpod-build-plan-remaining-hours-and-9702-fork.8 |
@gtsiolis Reading @jankeromnes's comment, do we still need alignment on the wording? |
@laushinka Overall, I agree with @jankeromnes in #9716 (comment). The proposal in #9716 (comment) was
Given that, :a: we're going to improve and significantly change this page with the upcoming features from the usage based billing updates and :b: to help push this PR forward, I'd suggest to:
|
Thanks, @ionutale! Could you make the changes according to the designs in #9716 (comment)? For the element on the bottom, you could also experiment with adding a component variant for the Pill Label component, but it should be completely fine to skip this and ad-hoc style this element using the utility classes available. Using the following classes could help: /* 1st element */
font-semibold text-gray-500 dark:text-gray-300
/* 2nd element */
font-medium text-sm text-gray-500 bg-gray-100 dark:text-gray-400 dark:bg-gray-800 rounded-xl p-1 px-2 text-sm
/* 2nd element, dimmed part */
text-gray-400 dark:text-gray-500 |
give me a few days, and I will come back to you |
This pull request 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. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
UX improvements for plans remained hours
Which issue(s) this PR fixes:
plan remaining hours and progress bar #9702
Special notes for your reviewer: