Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Add copy note link action to sidebar context menus#1681

Open
Isjuanplayer wants to merge 1 commit into
BoostIO:masterfrom
Isjuanplayer:issuehunt/boostnote-copy-note-link
Open

Add copy note link action to sidebar context menus#1681
Isjuanplayer wants to merge 1 commit into
BoostIO:masterfrom
Isjuanplayer:issuehunt/boostnote-copy-note-link

Conversation

@Isjuanplayer
Copy link
Copy Markdown

Fixes #313.

Summary

  • Add a Copy the link action to document context menus in the cloud sidebar.
  • Add the same action to the mobile navigator tree so copied note links are available consistently.
  • Use the existing absolute document href and copy-to-clipboard, matching the app's existing copy-link behavior in document metadata/actions.
  • Keep rename/delete restricted to core members while allowing copy-link for non-core users too.

Validation

  • npx tsc --noEmit --pretty false
  • npx prettier --check "src/cloud/lib/hooks/sidebar/useCloudSidebarTree.tsx" "src/mobile/lib/sidebar/useNavigatorTree.tsx"
  • npx eslint "src/cloud/lib/hooks/sidebar/useCloudSidebarTree.tsx" "src/mobile/lib/sidebar/useNavigatorTree.tsx"
  • git diff --check

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Link to another note

2 participants