Skip to content

pricing: phase-1: add data usage / Accessible for Rill Projects#9080

Open
royendo wants to merge 16 commits intomainfrom
rendo/feat/team-usage-pill
Open

pricing: phase-1: add data usage / Accessible for Rill Projects#9080
royendo wants to merge 16 commits intomainfrom
rendo/feat/team-usage-pill

Conversation

@royendo
Copy link
Copy Markdown
Contributor

@royendo royendo commented Mar 19, 2026

  • Expose dataSizeBytes in the runtime GetInstance API response

  • Show a visual fill-pill on the project status overview for Rill-managed OLAP projects

  • Team plans: bar fills proportionally toward 10 GB cap; deepens to primary-700 at capacity

  • Pill links to the tables detail page

Screenshot 2026-04-09 at 9 47 52
Data usage + Slots — only for Rill-managed OLAP (gated by !olapConnector || olapConnector.provision):                                                           
                                                                                                                                                                  
  ┌────────────┬─────────────────────────┬────────┐                                                                                                               
  │    Plan    │       Data usage        │ Slots  │                                                                                                               
  ├────────────┼─────────────────────────┼────────┤                                                                                                               
  │ Team       │ Fill pill with 10GB cap │ Hidden │
  ├────────────┼─────────────────────────┼────────┤                                                                                                               
  │ Pro     │ Plain text, no cap      │ Shown  │                    
  ├────────────┼─────────────────────────┼────────┤                                                                                                               
  │ Free       │ Plain text, no cap      │ Shown  │
  ├────────────┼─────────────────────────┼────────┤                                                                                                               
  │ Enterprise │ Plain text, no cap      │ Hidden │                    
  └────────────┴─────────────────────────┴────────┘                                                                                                               
  

Uses API herE: #9203

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

Developed in collaboration with Claude Code

Expose `dataSizeBytes` from the runtime `GetInstance` response and
display a visual usage pill on the project status overview. Non-Team
plans show a full blue bar; Team plans fill proportionally toward the
10 GB cap, deepening to primary-700 when at capacity.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@royendo
Copy link
Copy Markdown
Contributor Author

royendo commented Mar 19, 2026

@begelundmuller any issues with backend changes here?

@royendo royendo changed the title feat: add data usage fill pill for Team plan projects pricing: add data usage fill pill for Team plan projects Mar 20, 2026
@royendo
Copy link
Copy Markdown
Contributor Author

royendo commented Apr 1, 2026

once #9166 merged; edit PR to include isFree and isGrowth

royendo and others added 4 commits April 6, 2026 09:38
Resolved conflict in proto/gen/rill/runtime/v1/api.pb.go by accepting
main's generated protobuf descriptor bytes and manually re-adding the
GetInstanceResponse.DataSizeBytes field and its getter method from the
PR branch.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@royendo royendo changed the title pricing: add data usage fill pill for Team plan projects pricing: phase-1: add data usage fill pill for Team plan projects Apr 6, 2026
begelundmuller and others added 7 commits April 9, 2026 12:24
# Conflicts:
#	proto/gen/rill/admin/v1/openapi.yaml
#	proto/gen/rill/admin/v1/public.openapi.yaml
#	web-admin/src/features/projects/status/overview/DeploymentSection.svelte
#	web-common/src/runtime-client/v2/gen/query-service.ts
@royendo royendo requested a review from ericokuma April 12, 2026 13:45
@royendo
Copy link
Copy Markdown
Contributor Author

royendo commented Apr 12, 2026

Thanks @begelundmuller for the quick API, will have APP review now!

@royendo royendo dismissed begelundmuller’s stale review April 12, 2026 13:46

frontend only now

@royendo royendo requested review from begelundmuller and removed request for begelundmuller April 12, 2026 13:46
@royendo
Copy link
Copy Markdown
Contributor Author

royendo commented Apr 12, 2026

@ericokuma for functionality, (not exactly pricing, but good to add while we're here)
for users to see how much data the project is using as a whole (if you've got a lot of models, hard to see full usage) requested a few times from customers.

In the case of self-managed, it is Data accessible, else its Data usage. clicking takes you to the Tables tab for detailed view.

@royendo royendo changed the title pricing: phase-1: add data usage fill pill for Team plan projects pricing: phase-1: add data usage / Accessible for Rill Projects Apr 12, 2026
@ericokuma
Copy link
Copy Markdown
Contributor

ericokuma commented Apr 13, 2026

I think just remove the cap for team and don't show the meter (for team you can go over the cap and you just pay more). So might be best to just do plain text no cap for all cases and you can make the plain text look like a clickable link that will take you to the Project Status > Tables page. (Style it like how you've styled it for Repo). Though I guess this meter makes sense for the free forever plan with a hard cap of 1GB

Call it Data Size not Data Usage

Copy link
Copy Markdown
Contributor

@ericokuma ericokuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see above

royendo and others added 2 commits April 13, 2026 17:10
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@royendo royendo requested a review from ericokuma April 14, 2026 14:01
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.

3 participants