Skip to content
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

[UBP for individuals] Show personal usage when usage-based billing is configured #12686

Closed
jldec opened this issue Sep 6, 2022 · 4 comments
Closed
Assignees
Labels
feature: billing team: webapp Issue belongs to the WebApp team

Comments

@jldec
Copy link
Contributor

jldec commented Sep 6, 2022

This view will live at gitpod.io/usage. The UI should show a tab at the same top level as personal settings, similar to the way team usage lives alongside team settings.

Behavior of the personal usage view should mirror the team usage view, with similar selection of time-range for billed and unbilled usage, and the same details in each colum.

In addition to the "total" credits used, the UI should include the number of "free" credits. If users subtract the free amount, from the total amount, this should result in the total invoiced credits.

@AlexTugarev AlexTugarev self-assigned this Sep 6, 2022
@svenefftinge
Copy link
Member

svenefftinge commented Sep 6, 2022

Could we consider showing the actual credit entries in the usage view? We should also show the credit entries for the invoice I guess. If we do that users and teams better understand when (and why) they got credits.

@geropl geropl moved this from Next Milestone to Scheduled in 🍎 WebApp Team Sep 9, 2022
@AlexTugarev
Copy link
Member

With #12771 merged, there is a Usage component prepared to show personal usage (see gitpod.io/usage once deployed) but there is no menu entry (disabled in code.)

I think the next steps would be to enhance the Usage component as needed, and enable the menu entry once there is a way user would actually be able to enable UB for individuals.

@AlexTugarev
Copy link
Member

Also, the PR to re-enable attribution of personal account is merged as well. #12839

@AlexTugarev AlexTugarev removed their assignment Sep 12, 2022
@geropl geropl moved this from Scheduled to In Progress in 🍎 WebApp Team Sep 12, 2022
@jldec jldec self-assigned this Sep 12, 2022
@AlexTugarev AlexTugarev removed their assignment Sep 19, 2022
@jldec
Copy link
Contributor Author

jldec commented Sep 26, 2022

Per discussion (internal)

  • All usage exploration should happen in the usage view.
  • In the scenario where individuals are wondering about their invoice, the usage view needs to match the period they are exploring (which may be mid-month to mid-month - separate issue incoming)
  • The usage view does not need to show the amount of free credits or prepaid credits.
  • Free or prepaid credit amounts should appear with the Usage Limit in the billing page (together with current total usage as reported to Stripe)

@jldec jldec closed this as completed Sep 26, 2022
Repository owner moved this from In Progress to Done in 🍎 WebApp Team Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: billing team: webapp Issue belongs to the WebApp team
Projects
Status: Done
Development

No branches or pull requests

3 participants