Skip to content

Conversation

@cstns
Copy link
Contributor

@cstns cstns commented Nov 25, 2025

Description

add a usage overview section for manual billing customers:

  • included data:
    • hosted instances count by instance type
    • remote instances count
    • team members
    • team brokers
    • broker clients
  • all values are displayed in <used>/<limit> format if they have a limit or plain <used> format if they don't
image

Related Issue(s)

closes #6053

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@cstns cstns self-assigned this Nov 25, 2025
@cstns cstns requested a review from hardillb November 25, 2025 12:46
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.22%. Comparing base (fb9dd09) to head (a33079a).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6331   +/-   ##
=======================================
  Coverage   76.22%   76.22%           
=======================================
  Files         393      393           
  Lines       19777    19777           
  Branches     4741     4741           
=======================================
  Hits        15075    15075           
  Misses       4702     4702           
Flag Coverage Δ
backend 76.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hardillb
Copy link
Contributor

Running it. I enabled manual billing on a team with no instances.

I added an instance and went back to the billing page and it didn't update.

I refreshed page (shift-f5) and it showed, so I added a second instance and it didn't update.

I think this page needs to trigger a local storage update show it shows up to date information.

@cstns
Copy link
Contributor Author

cstns commented Nov 25, 2025

I included a refresh team action when the usage overview is opened to refresh team data

@hardillb hardillb merged commit 635fa30 into main Nov 25, 2025
25 checks passed
@hardillb hardillb deleted the unmanaged-billing-usage branch November 25, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Surface usage information for manual billing customers

3 participants