GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@henrychu04 henrychu04 commented Oct 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

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.

All reactions
henrychu04 and others added 5 commits October 20, 2026 19:26
@henrychu04 @claude
Ignore dropped and pasted folders with upstream's splitTransferredFiles
6335afb
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]>
@henrychu04 @claude
Show the sidebar merge-request number as !N
97b5471
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]>
@henrychu04 @claude
Use upstream's NoProjectsHero component
b1b61da
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]>
@henrychu04 @claude
Restore upstream's failed-generation staging test in GitManager
906f57a
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]>
@henrychu04 @claude
Route dropped and pasted folders through upstream's folder handler
e38a9ae
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]>
@henrychu04
henrychu04 merged commit 7eab0b9 into coder-only Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@henrychu04
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.