mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
Show a warning state + popover on the sidebar plan badge when the user is out of credits, prompting them to upgrade. Detection comes from two existing signals: the /v1/me billing payload (daily or monthly bucket exhausted, the same data the Settings usage bars use) and the existing 'not enough credits' API-error path. The warning clears on a successful cost-incurring call (LLM finish-step or a successful voice synth) and re-fetches /me once, only when the warning was actually showing -- no polling. Popover auto-opens on first detection and can be dismissed while the indicator persists. |
||
|---|---|---|
| .. | ||
| apps | ||
| packages | ||
| patches | ||
| .gitignore | ||
| ANALYTICS.md | ||
| CODE_MODE_ENGINES_PLAN.md | ||
| eslint.config.mts | ||
| LIVE_NOTE.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| tsconfig.base.json | ||