Skip to content

#451 step 2 (Prep B): split the work section out of the fork issue detail panel #453

Closed

Description

@tannerpolley

Part of #451. Step 2 of 7, after step 1. Plan: #451 (comment) ("Order", item 2).

Extract the work section from IssueDetailPanel.tsx into one component with the smallest props: actions, live work, tree, change cards, done details, and start in a worktree. The fork panel renders the body and comments plus that section.

Done: no visible change, shown by before/after captures; focused tests and vp run check:changed pass.

Activity

  1. tannerpolley commented on Nov 17, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code status: Done

    Issue: #453 #451 step 2 (Prep B): split the work section out of the fork issue detail panel

    Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-453-451-step2-2026-11-17

    Model: claude-sonnet-5-5

    Branch: issue-453-451-step-2-prep-b-split-the-work-section

    Updated: 2026-11-17T21:36:02.476Z

  2. tannerpolley commented on Nov 17, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: done

    Issue: #453 #451 step 2 (Prep B): split the work section out of the fork issue detail panel
    Thread: thread:delegated-task:command%3Amcp%3A53eed4d4-49de-4205-ba6f-a35a0b15b7c9%3Adelegate-task%3Aissue-453-451-step2-2026-11-17
    Model: claude-sonnet-5-5
    Branch: issue-453-451-step-2-prep-b-split-the-work-section
    Completed: 2026-11-17T21:36:02.566Z

    Draft PR #461 is open and closes #453. It extracts the fork panel's work actions into one IssueWorkSection, with one visible change: the three work buttons moved into the body. The four #449 failures were not touched. I ran no full-repo lint or typecheck, and no CI checks had reported when I looked.

    • Props: the component takes environmentId, reference ({ host, repository, number }) and an optional threadRef. It reads the issue itself, so it depends on no fork panel state. Upstream's IssueRef maps onto that reference for GitHub.
    • Placement: per your answer, it is mounted once at the top of the scroll body. Queue / unqueue / resume, Start agent and Prepare draft moved there from the header row. The owner-decision and change cards are in the same block. I also added a one-line branchLine={false} option to the shared PullRequestDetailLayout.tsx (an upstream file) so the emptied header row leaves no gap. That is the one extra edit outside the fork's issue files.
    • ⋯ menu: unchanged. The only fork-only actions in it were Ask a question, Explain this issue and Implement this issue, so I added an "Ask agent" menu in the section with the same logic. The ask/explain/implement logic moved into a small shared hook, useIssueComposerHandoff, used by both the menu and the section. Unlink, close/reopen, refresh, open on GitHub and the copy actions have equivalents in upstream's panel. The PR body lists all of this.
    • Not added: live work, the tree and done details stay on the roadmap rows, as you asked.
    • Captures: before and after of issue Issues pane: live roadmap view (dependency order, blocked/ready, live work) toggled with the milestone view #13 from the private sandbox repository, read-only, with seeding off, plus the open "Ask agent" menu. They are cropped to the detail pane and hosted in a secret gist linked from the PR. In the empty test database, Implement shows disabled with "No orchestrator for this repository". That is the same rule the ⋯ menu applies.
    • Checks:
      • vp run check:changed passed with format, lint, knip, typecheck and React compiler all green.
      • The 18 test files (92 tests) under apps/web/src/components/issues passed.
      • I added no tests, since this moves existing code and its logic already has tests.
      • The pre-commit hook passed, so I did not use --no-verify.
    • Cleanup: I stopped the dev server I started and closed the preview tab. The gist is the only remaining artifact.

    PR #461, head d35ea92, checks and reviews: none reported yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions