Skip to content

feat([issue-6208]): emit only changed reviewer fields so task overrides inherit defaults - #6218

Merged
atomantic merged 2 commits into
mainfrom
next/issue-6208
Sep 4, 2026
Merged

feat([issue-6208]): emit only changed reviewer fields so task overrides inherit defaults#6218
atomantic merged 2 commits into
mainfrom
next/issue-6208

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Emit only what the user actually changed from ReviewerPicker, instead of a full defaults snapshot.

  • ReviewerPicker gains a defaults prop; emit() omits any key deep-equal to it (absent still means inherit, explicitly-empty still means clear).
  • GlobalConfigControls passes the same reviewDefaults/seededPins it seeds display from and rebuilds the reviewer slice from the partial payload.
  • CodeReviewersTab passes no defaults (it edits the defaults themselves); TaskAddForm and SlashDoRunDrawer re-checked and unchanged.

Closes #6208

…es inherit defaults

ReviewerPicker gains a defaults prop and omits any key deep-equal to it,
so touching one control no longer freezes the defaults-of-that-moment
into permanent task metadata. GlobalConfigControls passes the same
reviewDefaults/seededPins it seeds display from and rebuilds the reviewer
slice from the partial payload (reverted keys are deleted, not rewritten).
CodeReviewersTab passes no defaults and keeps the full emit.
@atomantic
atomantic merged commit cdffe26 into main Sep 4, 2026
7 checks passed
@atomantic
atomantic deleted the next/issue-6208 branch September 4, 2026 06:57
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.

ReviewerPicker persists a defaults snapshot as a task override on first touch

1 participant