Repository navigation
feat(web): drag replies, launchers, links, and PR or issue rows to panes - #276
Open
orbitingflea wants to merge 1 commit into
Open
orbitingflea wants to merge 1 commit into
orbitingflea wants to merge 1 commit into
Conversation
|
This PR changes the test suite by +33 test cases (browser +32, unit +1, server 0). New browser test files: Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing. |
Thread transfer impact
This comment will update automatically after the next completed run. |
orbitingflea
force-pushed
the
feat/fullscreen-panels-drag-all
branch
from
November 24, 2026 11:51
7830462 to
bf01ea5
Compare
orbitingflea
force-pushed
the
feat/fullscreen-panels-drag-all
branch
from
November 24, 2026 15:57
bf01ea5 to
9060be5
Compare
Anything whose click opens a work-area tab can now be dragged onto a pane or tab strip and opens there, through the existing panel-link drop: Reply buttons and Replies list rows, the pane "+" menu and empty-pane launcher items (Device only once set up; Chat places the primary Chat at the drop), Dashboard web links (into the preview browser, as chat web links), and pull request and issue rows in Linked items and Thread details (their tab, or the preview browser where the click opens a browser). Each source builds its PanelLink from its own click opener and predicate. A thread chip now drags only where its click opens a tab: a thread of the same project as a Chat tab, or a side chat of the panel's own thread. Another project's thread no longer falls back to a side-thread pane attached to this thread's workspace. Sidebar rows already used the same check; a real-pointer regression test now covers them. Also: `opensChat` becomes `composer`; async "+" opens (Browser, Side chat) return their promise so a newer click still cancels the drop's place; a release over an open menu is ignored; a user open of a surface that is already shown, or an async "+" open that settles without its tab, ends the "+" menu pick instead of leaving the pane armed (a sync open such as Device setup keeps it); under a live drop a "+" or launcher open adds no pick or launcher place of its own, so an overtaken drop lands where the user's newer action put the focus; the "+" menu closes when the drag ends, however it ends; a "+" item that shows an already-placed tab, or a Reply whose reply tab is placed, moves and shows that tab at the drop, with no ghost where its pane would stay as it is (judged on saved panes, so also in the one-strip view); a join into the pane that holds the tab keeps its slot, as its click does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
orbitingflea
force-pushed
the
feat/fullscreen-panels-drag-all
branch
from
November 24, 2026 16:07
9060be5 to
d93bb04
Compare
This branch has not been deployed
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.
Behaviour change
Behaviour change: yes, full-screen panels prototype users can drag Chat-mode reply buttons, Replies rows, pane "+" items, empty-pane launchers, Dashboard web links, and pull request or issue rows onto panes or tab strips to open them. Other-project thread links no longer drag into the work area.
Why
Match drag-to-open to click-to-open in the work area. Files rows, chat file chips and links, thread chips, the Dashboard chat chip, and sidebar thread rows already dragged. Other tab controls did not. Other-project thread chips fell back to a side-thread pane on this thread's workspace, diff panel, and terminal.
What changed
Details
Implementation
PanelLinkrenamesopensChattocomposer(width) and holds the drag-end "+" close callback.apps/web/src/fork/workArea/:linkSources.ts(threadChipPanelLink,replyPanelLink,surfaceActionPanelLink,previewLinkPanelLink),chatAnchorLink.ts(useWebPanelLink, pull request and issue rows),chatOpenerContext.ts(threadTabPanel),panelLinkDrag.ts(panelDragProps).apps/web/src/fork/rightPanelMenu/:rightPanelMenu.tsx(useSurfaceActionDrag),menu.logic.ts(Device setup).WorkArea.tsxplans placed one-of-a-kind "+" items (Diff, Files, Linked items, Dashboard, Replies, Whiteboard, Device placeholder) and Reply sources to move and show their tab.linkDrop.logic.ts(keepsPlacedTab) hides the ghost if the saved pane stays unchanged, also in the one-strip view. Pull request "+" keeps the general ghost (resolved in chat view).useLinkDrops.tsanddropPlan.logic.tsignore open-menu targets only.workAreaPlacement.logic.tskeeps a tab's slot when joining its pane and clears shown picks.workAreaCommands.tsopenFromPaneMenureturns its result and clears empty async picks, fixing plain "+" clicks.Scope
RightPanelTabs.tsx,ThreadPullRequestsPanel.tsx,ThreadDetailsIssueRows.tsx,ChatView.tsx(1 line),useRightPanelActions.ts(callsmenu.logic.ts),ThreadDetailsPrRow.tsx,ThreadDetailsPrRows.tsx(row drag to open button).sideChatPane.tsdrops one export.apps/web/src/fork/workArea/fakeEnvironmentKit.ts. Upstream fake environment adds project, pull request thread fields, and one state export.board://andt3-thread://links, Browser profile entries, sidebar hover-card issue rows (click switches threads).Tradeoffs
board://andt3-thread://links stay dead until click opens a tab.Blast Radius
Web client only. No server, contract, data, stored-state, or UI text changes. Revert to undo.
Verification