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 — File link download says which machine and path it checked when the file is missing by scuttletoby · Pull Request #1044 · scuttletoby/t3code

Conversation

@scuttletoby

@scuttletoby scuttletoby commented Nov 23, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Owner

Closes #1043.

What changes

Download to this device in a chat file link's menu (a fork entry, #17) asks the server for the file as a media-file asset. When the file is not on the server's machine, the toast said "Media file was not found." even for a text file, and did not say where the server looked.

Now it says "The file was not found on at .", with the path the server actually checked (the checkedPath upstream added in upstream PR 19677), or "The file was not found at ." when the viewer runs on the server's own machine. This is the same wording and the same remote check upstream's Preview media toast already uses. Other download failures are reported as before.

  • apps/web/src/components/chat/forkMarkdownFileDownload.ts: turns the server's not-found error into that message.
  • apps/web/src/components/chat/forkMarkdownFileLinkActions.ts: the whole download (forkFetchMarkdownFile) now lives here and uses it.
  • apps/web/src/components/ChatMarkdown.tsx: the fork's download function moved out to the file above; it only calls it now. That is 7 fewer fork lines in this "pending" seam file, so its ceiling in .github/fork-seams.json drops from 39 to 32.
  • Tests: forkMarkdownFileDownload.test.ts (missing file with and without a checked path, same-machine viewer, other errors kept as they are).

Not changed, on purpose

  • Hiding download/open for missing files: the menu has no file status when it opens. Checking would add a server round trip before every right-click menu, or one request per link on screen. The clear message after the click costs nothing until then.
  • Confirm before downloading secret-looking files (.env, *.token, keys): not added. The download goes to the user's own device from their own signed-in session after an explicit click, and the same file can already be read in the files viewer, so a prompt would add friction without protecting anything.

General vs project

General: the message and helper apply to every fork user and environment. Nothing project-specific.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@scuttletoby @claude
fix(fork): file link download names the machine and path when the fil…
b402d0c
…e is missing (#1043)

"Download to this device" asked the server for the file as a media-file asset, so a file the
server does not have came back as "Media file was not found." even for a text file. It now says
"The file was not found on <machine> at <path>." (path as the server checked it), the same
wording upstream's media preview uses since pingdotgg#19677.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@scuttletoby scuttletoby mentioned this pull request Nov 23, 2026
File links: open and download files that live on another linked environment #1046
Open
@scuttletoby @claude
fix(fork): move the file link download out of ChatMarkdown.tsx (#1043)
91ef8a4
ChatMarkdown.tsx is a "pending" seam file whose fork lines are moving out, so the download's
error mapping may not add lines there. The whole download now lives in the fork's
forkMarkdownFileLinkActions.ts (forkFetchMarkdownFile); ChatMarkdown.tsx only calls it, which
leaves six fewer fork lines there, and its seam ceiling drops from 39 to 32.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@scuttletoby
scuttletoby merged commit b9ae2e3 into main Nov 23, 2026
42 checks passed

Uh oh!

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

This was referenced Nov 27, 2026
Owner question: file links on another environment, preview and open in viewer (#1046) #1072
Closed
Follow upstream: rebase onto v0.1.14-nightly.20261127.5345 (draft) #1138
Merged
scuttletoby added a commit that referenced this pull request Nov 28, 2026
@scuttletoby @claude @noreply
File link download says which machine and path it checked when the fi…
5e40241
…le is missing (#1044)

* fix(fork): file link download names the machine and path when the file is missing (#1043)

"Download to this device" asked the server for the file as a media-file asset, so a file the
server does not have came back as "Media file was not found." even for a text file. It now says
"The file was not found on <machine> at <path>." (path as the server checked it), the same
wording upstream's media preview uses since pingdotgg#19677.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(fork): move the file link download out of ChatMarkdown.tsx (#1043)

ChatMarkdown.tsx is a "pending" seam file whose fork lines are moving out, so the download's
error mapping may not add lines there. The whole download now lives in the fork's
forkMarkdownFileLinkActions.ts (forkFetchMarkdownFile); ChatMarkdown.tsx only calls it, which
leaves six fewer fork lines there, and its seam ceiling drops from 39 to 32.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

File link download says "Media file was not found" without saying where it looked

Uh oh!

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

1 participant

@scuttletoby
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.