Public: anyone can read this; the crew can change it.
The terminal's Subscriptions screen shows each account's 5-hour and weekly window: used of cap, the share, and when it resets #8056
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: be ultra aware of what the crew can still spend before a window shuts. Settings › Subscriptions shows each window (
windowTextinsrc/web/pages/subscriptions.ts, fromstandingsinsrc/core/standing.ts), but the terminal shows only the budget and spend.Done looks like:
~marking an inferred figure as the page'smarkdoes) moves into one exported words function outsidesrc/web/(e.g.src/actions/standing_words.ts). The page'swindowTextwraps it and renders the same text as before.src/tui/screens/subscriptions.tsreadsstandings(db, ids, now)once per render for the listed accounts and shows each account's two window sentences as its row's meta (or a second line when the terminal is wide enough). An account with no known window reads "windows not seen yet".test/tui-subscriptions-windows.test.ts: with asubscription_limitrow noted bynoteLimitand usage seeded, the row shows used, cap, percent and reset, and its text equals the page's for the same data.Files: src/actions/standing_words.ts (new), src/web/pages/subscriptions.ts, src/tui/screens/subscriptions.ts, test/tui-subscriptions-windows.test.ts. Risks:
standingsmust stay one read for all rows, not one per row.