feat(client): readable diffs in the proposal + activity cards #363
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol#363
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The chat confirmation card (#346) and the activity undo card (#356) render a proposed change's
diffas raw pretty-printed JSON (renderDiff). Replace that with a readable, human field-level diff.Scope
ProposedChange.diffshapes (per ADR-0030: create →{ after }; update →{ fields: { k: { old, new } } }; delete →{ before }; merge → both sources + survivor) and renders them as labeled before→after rows rather than a JSON blob.ProposalCardand the activity confirmation card (extract the shared component while we're at it — they currently duplicaterenderDiff+ destructive styling).Out of scope
Part of epic #47 (polish on the write-confirmation surface).