feat(task-board): file a task on the board when a PR is published - #6426
Closed
rafavalls wants to merge 1 commit into
Closed
feat(task-board): file a task on the board when a PR is published#6426rafavalls wants to merge 1 commit into
rafavalls wants to merge 1 commit into
Conversation
Publishing from a chat now records the work on the board: if the thread has no linked task, useRecordPrOnBoard promotes it to one and links the PR, so a published change is never untracked. Both the GitHub publish dialog and the CMS publish action go through it. The OpenInBoardButton header action is gone — TaskCrumb now carries the link back to the board, so the button was a second, redundant affordance. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stack 3 of 3 — targets
rafavalls/task-pill-session-tabs(#6425), notmain.Publishing from a chat now records the work on the board: if the thread has no linked task,
useRecordPrOnBoardpromotes it to one and links the PR, so published work is never untracked. Both the GitHub publish dialog and the CMS publish action go through it.The
OpenInBoardButtonheader action is deleted —TaskCrumb(added in the parent PR) now carries the link back to the board, so the button was a second, redundant affordance. Its i18n keys go with it.Testing
tsc --noEmitclean onapps/web.Notes for the reviewer
Small on top of its parent (+97/−60). Worth checking the promote path is idempotent under a double-publish, and that a publish failure doesn't leave a task filed with no PR linked.
🤖 Generated with Claude Code
Summary by cubic
Automatically files a board task when a PR is created from chat or the CMS. Previously, publishing or submitting for review did not create/link a task; now we promote the thread to a task (if needed) and link the PR so shipped work is tracked. Removes the header Open in Board button;
TaskCrumbis the single navigation affordance.useRecordPrOnBoardruns on publish and submit-for-review from both the GitHub publish dialog and CMS actions; it promotes the thread to a task, links the PR, and shows an “Added to board” toast with an Open action.OpenInBoardButtonand its i18n keys; navigation back to the board now lives only inTaskCrumb.Written for commit 1838b57. Summary will update on new commits.