Skip to content

Set decision titles at prose size, tighten decision text, and even out the header - #655

Merged
MaggieAppleton merged 8 commits into
mainfrom
decision-card-type-limits
Oct 16, 2026
Merged

MaggieAppleton merged 8 commits into
mainfrom
decision-card-type-limits

Conversation

@MaggieAppleton

@MaggieAppleton MaggieAppleton commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Decision cards

The title now reads at prose size (16px) instead of the 14px interface size, and the optional description moves up from 12px to 14px.

Before After
Card before Card after

New decision text is shorter (stored and chat-derived decisions keep their old bounds):

Field Was Now
Question description 300 140
Option label 200 60
Option description / rationale 1,000 / 300 160

normalize, appendOption, addOption, the Add an option field, and the Planner's ask, refine_decision and revise_open_decision schemas and validators all use the new bounds. The Planner prompt asks for a one-sentence description that starts with a capital and puts code names in backticks.

Document header

ff1ec7c8a moved btn-sm to 12px, so the view tabs and Build plan fell below the 14px project and title. The view tabs, Build plan and Connect Chopin now use btn-md (32px, 14px text, 16px icon) instead of a font override; the build capsule sets 14px in its own rule.

Before After
Header before Header after

Checks

  • Full bun test: the decision changes pass (one expiry-reserve test now uses a label under 60 characters); remaining local failures are environment-only (DEMO_PERSONAS, config and install tests).
  • bun run ci / bun run types: clean apart from untracked local design-jig files.
  • Measured in Chromium on /design-audit: card title 16px, description, tabs and title 14px. Build plan isn't on that page, so it is untested in a browser.

🤖 Generated with Claude Code

Card before

Card after

Header before

Header after

@MaggieAppleton
MaggieAppleton force-pushed the decision-card-type-limits branch from 4112675 to 7873100 Compare October 16, 2026 14:18
MaggieAppleton and others added 8 commits October 16, 2026 15:23
Decision titles use the document body size and their description the 14px
interface size. The project, document title, view tabs, Build plan and build
capsule all read at 14px again: btn-sm moved to 12px with the Nova button
scale, which left the views and Build smaller than the title.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
New question descriptions are at most 140 characters, option labels 60 and
option descriptions 160. The Planner's ask, refine and revise tools advertise
the same bounds, and its prompt asks for one sentence that starts with a
capital and puts code names in backticks.

Why: packages/question/src/limits.ts | stored and chat-derived decisions keep the legacy MAX_LABEL/MAX_DESCRIPTION/MAX_QUESTION_DESCRIPTION bounds; only MAX_NEW_* apply to newly authored text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er bound

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
question-view.tsx only swaps the Add an option field's maxLength to
MAX_NEW_LABEL; no forwarded class name or callout feedback changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A font-size override left their icons at the compact size. btn-md carries
14px text with its 16px icon; the build capsule sets 14px in its own rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaggieAppleton
MaggieAppleton force-pushed the decision-card-type-limits branch from 7873100 to f015354 Compare October 16, 2026 14:25
@MaggieAppleton
MaggieAppleton merged commit f55de25 into main Oct 16, 2026
24 checks passed
@MaggieAppleton
MaggieAppleton deleted the decision-card-type-limits branch October 16, 2026 16:42
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