Skip to content

feat(decisions): v3 schema + clickable edit UX#557

Open
jjackson wants to merge 1 commit into
mainfrom
emdash/questions-5h9fc
Open

feat(decisions): v3 schema + clickable edit UX#557
jjackson wants to merge 1 commit into
mainfrom
emdash/questions-5h9fc

Conversation

@jjackson

Copy link
Copy Markdown
Owner

Summary

  • Align ace-web with ACE plugin PR fix(structure): truncate long row text without pushing cost/token columns #436 — decisions v3 schema: options_consideredoptions, notesreasoning, new override_reasoning field
  • upgrade_decisions_to_v3 handles v1/v2/v3 input; parser falls back to old field names for existing Drive data
  • Decision edit UX: clickable option pills instead of textarea, with custom-answer fallback
  • Options display: parse "label — explanation" strings into separated label + muted explanation text

Test plan

  • 38 backend tests pass (including new v2→v3 upgrade, fallback, override_reasoning tests)
  • 178 frontend tests pass
  • ruff check clean
  • tsc -b clean

🤖 Generated with Claude Code

Align ace-web with ACE plugin PR #436 (decisions v3 schema):
- options_considered → options (short scannable labels)
- notes → reasoning (AI rationale)
- New override_reasoning field (human's rationale when overriding)
- upgrade_decisions_v1_to_v2 → upgrade_decisions_to_v3 (handles v1/v2/v3)
- Parser falls back to v2 field names for existing Drive data

Decision edit UX improvements:
- Parse "label — explanation" options into separated label + muted text
- Replace textarea edit mode with clickable option pills + custom input
- Options label shortened from "Options considered" to "Options"

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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