Skip to content

Commit b3fda85

Browse files
milispclaude
andcommitted
feat: add context menu functionality to file tree with copy path option
Added @radix-ui/react-context-menu dependency and implemented right-click context menu for file tree items. Enhanced FileTreeItem and SubFolderContent components with additional props for customization including show/hide buttons, remove functionality, and file replacement prevention. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 83c4cae commit b3fda85

File tree

6 files changed

+495
-97
lines changed

6 files changed

+495
-97
lines changed

bun.lock

Lines changed: 13 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@radix-ui/react-collapsible": "^1.1.12",
14+
"@radix-ui/react-context-menu": "^2.2.16",
1415
"@radix-ui/react-dialog": "^1.1.14",
1516
"@radix-ui/react-dropdown-menu": "^2.1.15",
1617
"@radix-ui/react-popover": "^1.1.15",

0 commit comments

Comments
 (0)