GeezerVison is showing github.com — Fix four pre-existing fork issues from the 758d773f57 sync review by henrychu04 · Pull Request #220 · henrychu04/t3code-coder
Conversation
henrychu04
commented
Oct 20, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Four pre-existing fork issues found by the Fable review of PR #219. That sync did not introduce any of them.
- Dropped or pasted folders no longer reach the upload path. On Chromium a folder arrives as a zero-byte
File with an empty type, so Array.from(dataTransfer.files) sent it to addComposerAttachments, which then failed at read time. This carries upstream's splitTransferredFiles (fix(web): handle pasted folders as workspace references pingdotgg/t3code#22072) and its tests verbatim. The ChatView.tsx drop wiring, the composer paste handler, and the sidebar rows now match upstream line for line. The one seam is addComposerFolders in ChatComposer.tsx, marked Coder:. It always takes upstream's remote-environment branch and shows upstream's toast ("Folders can only be referenced in the local desktop environment"), because every workspace is remote. Upstream's desktop path lookup (folderDrop.ts, localEnvironment, desktopBridge) is not carried. The seams entry in coder-only.md describes this.
- The sidebar MR number shows
!N. ThreadPullRequestNumber printed #N. The hover mini-list already used !N, so it needed no change.
NoProjectsHero is now upstream's component. None of its dependencies are cut (useScratchProject, isElectron, usePrimaryEnvironmentId, WorkspacePageHeader). This adds upstream's "Start without a project" button, which the inline copy lacked. _chat.index.tsx gets back upstream's imports and its isElectron header line in DraftStartError. Its listed connection-status seam stays.
- Upstream's GitManager test is restored.
a failed generation preserves staging changed while generating (paths: %s) runs unchanged against the fork's harness.
Verification
pnpm typecheck:web and pnpm typecheck:server pass.
GitManager.test.ts: 156 passed, including both cases of the restored test.
workspaceFileDrop.test.ts: 8 passed.
ThreadStatusIndicators.test.tsx and ThreadPullRequestBadgeControl.test.tsx pass, as does the ThreadStatusIndicators.subscriptions browser test.
vp fmt --check passes on all changed files.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Chromium hands a dropped or pasted folder over as a zero-byte File with an
empty type, so the fork's Array.from(dataTransfer.files) sent it to the
attachment upload, where it failed at read time. Carry upstream's
splitTransferredFiles (pingdotgg#22072) and its tests verbatim; the ChatView drop
target and the composer paste discard the folders, since folder references
are desktop-only.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
ThreadPullRequestNumber still printed upstream's #N, while the hover mini-list
and the rest of the merge-request wording seam use !N.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The index route kept an older inline copy without the scratch-thread button.
Carry upstream's component verbatim and import it, and restore upstream's
imports and Electron header line in the route; its connection-status seam
stays.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
An earlier sync dropped 'a failed generation preserves staging changed while
generating'; the fork carries that rollback flow, so the test runs unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keep upstream's ChatView drop wiring and composer paste code verbatim and
make addComposerFolders the single seam: it always takes upstream's
remote-environment branch and shows its toast, since every Coder workspace
is remote. The fork's own toast wording on the composer handle goes away.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.