[PR #580] [CLOSED] feat: copy link to clipboard #647

Closed
opened 2026-04-08 16:53:48 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/580
Author: @patte
Created: 4/27/2025
Status: Closed

Base: mainHead: feat/copy-link-to-clipboard


📝 Commits (2)

  • 4d07544 feat: copy link to clipboard
  • 34a91ef fix: indicate link successfully copied to clipboard

📊 Changes

1 file changed (+26 additions, -0 deletions)

View changed files

📝 assets/index.js (+26 -0)

📄 Description

Adds a button to copy the url of a file to the clipboard.

Rational: We have a workflow that requires users to copy the url of a file from dufs and paste it into another tool. Currently they do that by right clicking then selecting "Copy Link". But it happens often that they copy the url of a folder instead of a file. With the added button this will be less likely to happen.

Screenshot 2025-04-27 at 14 26 21

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/580 **Author:** [@patte](https://github.com/patte) **Created:** 4/27/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/copy-link-to-clipboard` --- ### 📝 Commits (2) - [`4d07544`](https://github.com/sigoden/dufs/commit/4d0754489d50b246ff2277140c121bdcb5c47ad4) feat: copy link to clipboard - [`34a91ef`](https://github.com/sigoden/dufs/commit/34a91ef0c9345ae44328af4d1eb121d16e921ba8) fix: indicate link successfully copied to clipboard ### 📊 Changes **1 file changed** (+26 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `assets/index.js` (+26 -0) </details> ### 📄 Description Adds a button to copy the url of a file to the clipboard. Rational: We have a workflow that requires users to copy the url of a file from dufs and paste it into another tool. Currently they do that by right clicking then selecting "Copy Link". But it happens often that they copy the url of a folder instead of a file. With the added button this will be less likely to happen. <img width="769" alt="Screenshot 2025-04-27 at 14 26 21" src="https://github.com/user-attachments/assets/c164bc9f-7832-403c-abbf-50603571b2f7" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:48 +03:00
zhus closed this issue 2026-04-08 16:53:48 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#647