Skip to content

app: Workflow card on Overview, session titles in Sessions#784

Merged
iamtoruk merged 1 commit into
mainfrom
feat/app-workflow-titles
Jul 20, 2026
Merged

app: Workflow card on Overview, session titles in Sessions#784
iamtoruk merged 1 commit into
mainfrom
feat/app-workflow-titles

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

Phase 1 for the desktop app.

Workflow card below the daily-spend chart: correction-rate and time-to-first-edit tiles, a top-rework line (basename, sessions, edits), one coaching caption using the CLI's exact thresholds and copy, and an N% priced chip only when coverage is a number below 1 (never a fabricated 100%; sub-1 coverage clamps to 99% so it cannot round up to a lie). Hide-when-absent throughout; old payloads render today's Overview unchanged.

Sessions view: captured titles become the row headline with the id demoted to the mono secondary line; untitled rows keep the project headline, byte-identical to prior behavior; titles join the search filter.

Real-data check: 95% priced chip, 7 corrections at an honest 0%, first edit 6m, top rework sdk.py across 15 sessions with the churn coaching note; 608 of 1962 real session rows carry titles. App suite 420 green (7 new tests), both typechecks clean.

Part of the phased surfacing wave; PRs only, no release.

Two Phase-1 desktop additions over the renderer's existing card grammar.

Overview workflow card: a panel below the daily chart with two stat tiles
(correction rate with count, median time to first edit) plus a top-rework
line and one coaching caption. The caption is derived locally with the CLI's
buildCoachingNotes thresholds (corrections, then file churn, then time to
first edit; first that fires). The card hides entirely when no real signal is
present, never renders zeros, and shows a "N% priced" chip only when pricing
coverage is a number below 1. Payload types gain optional workflow,
topReworkedFiles, and pricingCoverage fields so older payloads render as before.

Sessions view: the captured session title becomes the row headline with the id
demoted to the mono secondary line; untitled rows keep the project as the
headline (unchanged). Title is also searchable and added as an optional
SessionRow field so older CLIs render unchanged.
@iamtoruk
iamtoruk merged commit 4d2bcba into main Jul 20, 2026
3 checks 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