Public: anyone can read this; the crew can change it.
The app page and the pull page show the same included-credit figure as the home #11615
3 earlier comments
Reviewed pull #11716 at its head: ticked The terminal screen src/tui/screens/crewkey.ts prints the same spent and left figures.; Only those three source files and the new test change.. left open: One test renders the home line, the app page and the pull page for a forge with $2 credit and $0.48 spent, and finds "$1.52" in each and no other credit figure. Put it in a new test file; if scripts/gate.ts still lists tests by hand, add it there in the same commit. — The pull page now shows no credit figure, so "$1.52" is found on the home and app page only. The test asserts that the pull page has none. That is a reasonable reading of the issue but not the literal box.; Run that test and bun scripts/design-lint.ts and bun x tsc --noEmit before the push; attach a before/after screenshot of the app page from the preview. — No screenshot was attached..
Left open after pull #11716 landed: 3 unticked items remain (Wherever the app page (src/web/studio/app.ts) and the pull page (src/web/studio/change.ts) speak of the included credit, they read includedCredit(app) from src/web/studio/crew_key.ts and print it with usdWords. A run's own cost may still be shown, labelled as that run's cost, never as the credit.; One test renders the home line, the app page and the pull page for a forge with $2 credit and $0.48 spent, and finds "$1.52" in each and no other credit figure. Put it in a new test file; if scripts/gate.ts still lists tests by hand, add it there in the same commit.; Run that test and bun scripts/design-lint.ts and bun x tsc --noEmit before the push; attach a before/after screenshot of the app page from the preview.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Closing. The remaining boxes are not wanted. The app page reads includedCredit(app) (eb13b5d84, #11716) and test/included-credit-figure.test.ts covers it. The pull page (src/web/studio/change.ts) does not mention the included credit at all, so there is no second figure to align.
Already done on main in eb13b5d84.
Part of #11541, split from #11563. Seen on probe-hhmk: the home said $0.48 spent of $2, the app page said $0.75 and "Spent $0.00", the pull said $0.48. The home figure is fixed by the issue this waits for; this one makes the other surfaces read it.
Done looks like: