Skip to content

Fix the Completion widget in the Review workspace - #2927

Open
CollinBeczak wants to merge 1 commit into
mainfrom
review-task-completion
Open

CollinBeczak wants to merge 1 commit into
mainfrom
review-task-completion

Conversation

@CollinBeczak

Copy link
Copy Markdown
Collaborator

Point the reviewer completion action at the new backend endpoint (PUT /task/:id/completionStatus/:status) rather than the review-status endpoint. That call preserved the review status but still went through the mapper's status-change path, which rejected the reviewer outright. The task it returns is dispatched so the pane reflects the new status without a refetch, and the reviewer's comment is posted separately - it previously rode along on the review call and is dropped by the new endpoint.

The widget also could not be removed from the Review workspace: it hardcoded permanent on its QuickWidget, suppressing Delete Widget everywhere rather than only where the workspace declares it permanent. Reviewers can now remove and re-add it; the task pane is unaffected, since only ReviewTaskPane sets asReviewer.

Let reviewers edit the bundle of the task they're reviewing. Bundle edits were disabled in the Review workspace three ways - the workspace allowlist, the done-or-review gate (a task under review is complete by definition, so this always tripped) and the mapper-edits check. All three are mapper-flow rules. The read-only, locked and cooperative/tag-fix gates still apply.

Point the reviewer completion action at the new backend endpoint
(PUT /task/:id/completionStatus/:status) rather than the review-status
endpoint. That call preserved the review status but still went through the
mapper's status-change path, which rejected the reviewer outright. The task it
returns is dispatched so the pane reflects the new status without a refetch,
and the reviewer's comment is posted separately - it previously rode along on
the review call and is dropped by the new endpoint.

The widget also could not be removed from the Review workspace: it hardcoded
`permanent` on its QuickWidget, suppressing Delete Widget everywhere rather
than only where the workspace declares it permanent. Reviewers can now remove
and re-add it; the task pane is unaffected, since only ReviewTaskPane sets
asReviewer.

Let reviewers edit the bundle of the task they're reviewing. Bundle edits were
disabled in the Review workspace three ways - the workspace allowlist, the
done-or-review gate (a task under review is complete by definition, so this
always tripped) and the mapper-edits check. All three are mapper-flow rules.
The read-only, locked and cooperative/tag-fix gates still apply.
@CollinBeczak
CollinBeczak marked this pull request as ready for review September 30, 2026 19:03
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