githubnext/chopinPublic

Let's compose rich plans together

Make decision cards save independently #95

MergedMaggieAppletonmerged 4 commits intomainfromrefs/pull/95/head
  1. MA

    ## Summary

    - validate and persist only the decision card being saved, leaving unanswered sibling cards untouched - reveal and focus the custom-answer field only after explicit selection while preserving its local draft across mode changes - replace the floppy affordance with the decorative Phosphor Check icon while retaining the accessible `Save answer` name

    ## Before / after

    Before, a card-local Save could report `Every question needs an answer before submitting`, and every card exposed a custom textarea. The original contradiction is captured in the [design audit](https://github.com/githubnext/chopin/blob/maggie/design-audit/docs/design-audit/annotated/02-decision-workflow.png).

    After, validation errors stay within and name the affected card; saving one card does not validate, submit, or visually change its sibling; and custom input appears only in custom mode with keyboard focus.

    ## Verification

    - `bun test` — 855 passed, 2 database-dependent skips, 0 failed - `bun run types` - `bun run ci` - `bun run build` - focused decision-card browser coverage — 4 passed - full browser suite — 174 passed

  2. MaggieAppletonmerged 0642f5f9c4672 months ago on GitHub

  3. MaggieAppletonclosed2 months ago on GitHub

  4. MaggieAppletonhead-ref-deleted2 months ago on GitHub