Skip to content

Surface remaining check allowance - #39

Merged
nihey merged 2 commits into
mainfrom
feat/check-allowance-visibility
Jul 29, 2026
Merged

Surface remaining check allowance#39
nihey merged 2 commits into
mainfrom
feat/check-allowance-visibility

Conversation

@nihey

@nihey nihey commented Jul 29, 2026

Copy link
Copy Markdown
Member

What changed

  • add a session-only organizationCheckAllowance GraphQL query
  • calculate allowance from the organization creator account-wide entitlement after membership authorization
  • show a prominent remaining-check meter beside Dashboard checks
  • repeat the remaining allowance in the creation dialog and disable creation when exhausted
  • show the remaining total on Billing
  • document the API contract and regenerate public/admin schemas

Why

Users could see raw usage on Billing, but the primary creation flow did not make it clear how many checks remained. Collaborators also cannot safely use their own subscription data because creation is governed by the organization creator shared account quota.

Validation

  • API: 866 unit tests, focused organization E2E, ESLint, TypeScript, production build
  • Frontend: 518 tests, ESLint, TypeScript, production build
  • Independent correctness/security and UX/accessibility reviews approved

@nihey
nihey marked this pull request as ready for review July 29, 2026 23:17
@nihey
nihey merged commit 0a8220c into main Jul 29, 2026
8 checks passed
@nihey
nihey deleted the feat/check-allowance-visibility branch July 29, 2026 23:17
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.

1 participant