Skip to content

Compact one-line usage cards and Global reset radar - #7

Merged
nextroad-dev merged 2 commits into
mainfrom
ux-compact-cards
Oct 9, 2026
Merged

nextroad-dev merged 2 commits into
mainfrom
ux-compact-cards

Conversation

@nextroad-dev

Copy link
Copy Markdown
Owner

Summary

  • Overview cards: header on one line; each meter on one line (name, bar, used %, short countdown). A pace tick marks where an even pace would be by now (5-hour, daily, weekly and monthly windows). Rows stack to three lines at font scale ≥ 1.3. Plan end shows on the card only within 7 days.
  • Global reset radar (Codex details): one section replaces forecast / events / status. The 24h chance appears first with a word band (low <15%, possible 15–39%, high ≥40%), followed by the 48h chance, confidence dots, a Now/24h/48h strip marking the user's own weekly reset, a 30-day confirmed/signal row and the average interval between resets. Source credit, freshness and errors are shown once; history and incidents expand inline. Off state: short explanation + Turn on (same consent dialog).
  • Overview chip: Codex cards show Global reset N% / Global reset signal only after opt-in, with fresh data, at 15%+. Same poll gates and cache; it does not affect account status or alerts.
  • The data layer, consent and request gating are unchanged. Docs updated in docs/codex-reset.md.

Testing

  • npx tsc --noEmit, npx expo lint, npx jest: 409 tests pass (new tests: compact row at normal and large font, pace fraction, probability bands, 30-day marks, average interval, chip visibility).
  • Not yet checked on a device: small screens, large fonts, dark mode.

- Overview cards: one header line and one line per meter (name, bar, used %, short countdown),
  with a pace tick where an even pace would be; rows stack at font scale >= 1.3
- Plan end shows on the card only within 7 days; skeleton follows the new shape
- Codex Reset becomes one 'Global reset radar' section: 24h chance with a word band, 48h chance,
  confidence dots, Now/24h/48h strip with the user's weekly reset, 30-day history row, average
  interval, one source footnote; history and incidents expand inline
- Overview Codex card shows a 'Global reset N%' chip after opt-in, with fresh data, at 15%+
@nextroad-dev
nextroad-dev merged commit def1ce0 into main Oct 9, 2026
1 check passed
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