Skip to content

feat(desktop-gpui): add a copy file action to finished exports - #3100

Open
yashranaway wants to merge 3 commits into
CapSoftware:mainfrom
yashranaway:feat/copy-file-action
Open

yashranaway wants to merge 3 commits into
CapSoftware:mainfrom
yashranaway:feat/copy-file-action

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

adds a copy file button next to open file once an export finishes. it copies the exported file into the same folder as "name copy.ext", then "name copy 2.ext" and so on, and never overwrites anything since it only creates a file that doesn't exist yet. the copy runs off the ui thread, shows the new name when it's done and the error if it fails.

left screenshots out for now, the native screenshot is a bundle folder and copying the image inside it isn't useful.

Fixes #3074

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no new actionable issues were found.

Summary

Adds Copy File beside Open File after a successful file export.

  • Finished file exports can now make a numbered copy beside the original.

Reviews (3) · Last reviewed commit: "fix(desktop-gpui): only offer actions th..." · Reviewed by Greptile

@vercel

vercel Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

@yashranaway is attempting to deploy a commit to the Cap Software Inc Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread apps/desktop-gpui/src/editor_export.rs Outdated
Comment thread apps/desktop-gpui/src/editor_export.rs
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

Comment thread apps/desktop-gpui/src/editor_export.rs
Comment thread apps/desktop-gpui/src/editor_export.rs
@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Add a Copy File action for completed outputs

1 participant