Files
token-circles/frontend
komediruzecki bc94fff101 feat: gray out premium controls for free plan + fix Android/Drive CSV picker
From prod/mobile testing on a free account:

1. Free-plan UX gating (gray out, do not hide). New client billing store caches
   the plan from /api/billing/status (loaded on login + app mount + Settings) and
   FAILS OPEN — locks only when the plan is KNOWN Free, never a paid/demo/unknown
   user. Receipt attach (Transactions) and the email test/preview buttons + toggles
   (Settings) render disabled with an upsell linking to the Billing tab. The backend
   already 402s these; this is the UX layer so users see the feature and can upgrade.
   Unit test covers the fail-open + known-free logic.

2. Android/Google Drive CSV picker. The bank-upload inputs used
   accept=".csv,.xlsx,.xls" (extensions only); Chrome maps that to a MIME set and
   Google Drive grays out CSV (Chromium bug 139105 — CSV MIME disagreement), so Drive
   CSVs were not selectable while local Downloads worked. Added the CSV/Excel MIME
   types to accept so Drive files load from any location.
2026-07-14 23:04:41 +02:00
..
2026-04-23 15:35:10 +00:00