[Downloads Manager] Add "Copy Path" action to Manage Downloads#28049
Conversation
Adds a "Copy Path" action to the Manage Downloads command that copies the focused download's absolute path as text. Sits next to the existing "Copy File" action (which copies the file itself). Resolves raycast#28048
|
Thank you for your contribution! 🎉 🔔 @thomaspaulmann @ron-myers @infused-kim @ridemountainpig @nagauta @nmder @clins1994 @0xdhrv @YourMCGeek @dhaydl @hugodemenez you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="downloads-manager-copy-path"
FORK_URL="https://github.com/fdarian/extensions.git"
EXTENSION_NAME="downloads-manager"
REPO_NAME="extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
Greptile SummaryThis PR adds a "Copy Path" action to the Manage Downloads command, letting users copy a download's absolute path as plain text — distinct from the existing "Copy File" action that puts the file itself on the clipboard.
Confidence Score: 4/5The implementation change is minimal and correct; the only issue is a hardcoded release date in the changelog that must be replaced before merge. The manage-downloads.tsx change is straightforward and well-formed. The changelog entry hard-codes today's date instead of the {PR_MERGE_DATE} placeholder that Raycast's release pipeline populates automatically — this will record the wrong date in the published changelog. extensions/downloads-manager/CHANGELOG.md — hardcoded date needs to be replaced with Important Files Changed
Prompt To Fix All With AIFix the following 1 code review issue. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 1
extensions/downloads-manager/CHANGELOG.md:3
The changelog entry uses a hardcoded date instead of the `{PR_MERGE_DATE}` placeholder. Raycast auto-populates this value on merge, so a literal date here will be wrong for every release pipeline.
```suggestion
## [Add Copy Path action] - {PR_MERGE_DATE}
```
Reviews (3): Last reviewed commit: "Update CHANGELOG.md" | Re-trigger Greptile |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Looks good to me, approved 🔥
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 Such a great contribution deserves a reward, but unfortunately we couldn't find your Raycast account based on your GitHub username (@fdarian). Please link your GitHub account to your Raycast account to receive your credits and soon be able to exchange them for some swag. |
| @@ -1,5 +1,9 @@ | |||
| # Downloads Manager Changelog | |||
|
|
|||
| ## [Add Copy Path action] - 2026-05-18 | |||
There was a problem hiding this comment.
The changelog entry uses a hardcoded date instead of the
{PR_MERGE_DATE} placeholder. Raycast auto-populates this value on merge, so a literal date here will be wrong for every release pipeline.
| ## [Add Copy Path action] - 2026-05-18 | |
| ## [Add Copy Path action] - {PR_MERGE_DATE} |
Rule Used: What: Changelog entries must use {PR_MERGE_DATE}... (source)
Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/downloads-manager/CHANGELOG.md
Line: 3
Comment:
The changelog entry uses a hardcoded date instead of the `{PR_MERGE_DATE}` placeholder. Raycast auto-populates this value on merge, so a literal date here will be wrong for every release pipeline.
```suggestion
## [Add Copy Path action] - {PR_MERGE_DATE}
```
**Rule Used:** What: Changelog entries must use `{PR_MERGE_DATE}`... ([source](https://app.greptile.com/review/custom-context?memory=c2214c11-df56-490a-b1c0-09a385df481a))
How can I resolve this? If you propose a fix, please make it concise.…st#28049) * [Downloads Manager] Add Copy Path action Adds a "Copy Path" action to the Manage Downloads command that copies the focused download's absolute path as text. Sits next to the existing "Copy File" action (which copies the file itself). Resolves raycast#28048 * Apply suggestion from code review * Update CHANGELOG.md --------- Co-authored-by: Per Nielsen Tikær <per@raycast.com> Co-authored-by: raycastbot <bot@raycast.com>
Summary
Adds a "Copy Path" action to the Manage Downloads command. It copies the focused download's absolute path as plain text, separate from the existing "Copy File" action (which puts the file itself on the clipboard).
Shortcut:
⌘⇧.on macOS,Ctrl+Shift+.on Windows.Resolves #28048
Screencast / Screenshots
n/a — text-only action change
Test plan
⌘⇧.triggers the action