Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
For pictures of the plan's unpriced stubs and its style line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ca21613436
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if let lean = styleLine { | ||
| Text(lean).foregroundStyle(Theme.ink3) | ||
| } |
There was a problem hiding this comment.
Show the forecast style in the lanes layout too
When the user selects the supported Lanes presentation and the box reports a non-balanced planning style, this disclosure disappears because it is rendered only inside the .dial branch. The lanes branch still shows its equivalent planned-state line but never styleLine, so those users cannot see how strongly the displayed plan relies on the forecast; render the line in both layouts or move it outside the style switch.
Useful? React with 👍 / 👎.
…nst guessed, and the planning style as a scale (#58, #59, #60, #61) One squash for four stacked PRs, changes 2–5 of the plan pass Fredrik approved on 14 Oct 2026 (change 1 was #57): - #58: the planned battery level in the scrub, a dashed level line in the lanes and the dial's story (socPermille from srcfl/ftw#1630). - #59: one honest saving under the dial, against no battery, only when the plan ends near its start level. - #60: known against guessed: the dashed sun, hatched unpriced quarters, the style named when it is not balanced. - #61: the two levers at the foot of the plan view, the planning style as a detented scale (Fredrik's note 21), one command on release with the receipt, and only moved quarters cross-faded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plan pass, change 4 of 5: the plan shows what it knows and what it guesses, never as a percentage. Stacked on change 3 (#59).
What changes
The prices are known; the sun and the home's use are a forecast. The plan now draws the two differently, and says how far the household's style leans on the forecast.
The sun on the dial is dashed. The prices it plans on stay solid ticks. The plan widget draws the same face, so it gets the dash too, sized for it.
Unpriced quarters on Now's strip are hatched stubs. Until the market publishes tomorrow's prices, those quarters have no level to draw; a stub with fine hatching says "not priced yet" where a bar would look like a price. The dial already drew such quarters as stubs.
A style other than balanced says so under the planned line:
Nothing is said for balanced, or before the box has named its style. No confidence figure and no band, as the design pass left out on purpose.
How
PlanStrip.pendingholds the runs of quarters with no price level;PlanStripDrawinghatches them, clipped to a stub two levels high.DialGeometry.sunDashsizes the dash for the app and the widget. The style line readsModeModel.shownStyle, so it follows the box.A second commit adds two debug flags to the demo for the pictures:
-FTWDemoUnpublished YESholds tomorrow's prices back, and-FTWDemoSafetyK 0.6starts on Careful.Evidence
swift test: FTWShared 221 and FTWKit 368 tests green. New:unpricedQuartersAreStubs.NowFitsTests11 of 11,PlanStripTests3 of 3,PlanDialTests3 of 3.Pictures
Now, dark and light, and at the largest text: the strip's quarters after midnight are hatched stubs.
The plan view, dark and light: the dashed sun, and "FÖRSIKTIG MED PROGNOSEN" under the planned line.
🤖 Generated with Claude Code