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
commented
Nov 23, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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.
…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]>
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]>
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 27, 2026
scuttletoby
added a commit
that referenced
this pull request
Nov 28, 2026
…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]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|