Skip to content
refs

Redesign the Reasoning tab and the commit page

Aman Kumarcommitted Oct 7, 20267d68d70parent 3f5b188

Commit rows in history no longer carry a reasoning dropdown. The Reasoning tab is now a list of decisions beside one decision at a time, and the commit page renders each decision record instead of the raw fence. Both use one shared decision view: the decision, short reasons, a fork of the paths considered, assumptions, and touched files.

2 decisions

Show decisions in history as a list beside one decision in detail, and show nothing about reasoning on commit rows.

Why

  • Long decision text in every row was hard to scan
  • One decision at a time keeps the reasons and the revisit action together

Paths considered

  1. Chosen
  2. expandable-rowsOpen rows stack long text and the page becomes a wall of prose.
  3. per-commit-dropdownIt repeats the Reasoning tab inside the Commits tab.

Touches

  • history-reasoning.tsx
  • repo-commits.tsx

Render decision records through one shared DecisionView on the Reasoning tab and the commit page.

Why

  • The commit page printed the raw decision fence
  • One view keeps the two pages consistent

Touches

  • decision-view.tsx
  • repo-commit.tsx
5 files changed · +266 −201
apps/frontend/components/commit-reasoning.tsx+0 −61
apps/frontend/components/decision-view.tsx+113 −0
apps/frontend/components/history-reasoning.tsx+88 −120
apps/frontend/routes/repo-commit.tsx+65 −18
apps/frontend/routes/repo-commits.tsx+0 −2