Skip to content

feat: right-click context menu on skill list cards#13

Merged
Railly merged 1 commit intoRailly:mainfrom
trevorh:feature/list-context-menu
Apr 2, 2026
Merged

feat: right-click context menu on skill list cards#13
Railly merged 1 commit intoRailly:mainfrom
trevorh:feature/list-context-menu

Conversation

@trevorh
Copy link
Copy Markdown
Contributor

@trevorh trevorh commented Mar 30, 2026

Summary

  • Adds a right-click context menu on skill cards in the list panel with two actions:
    • Reveal in system explorer — opens Finder/Explorer/file manager with the file selected (cross-platform via Electron shell.showItemInFolder)
    • Copy file path — copies the full file path to clipboard
  • Uses Obsidian's Menu API for native-looking context menu styling

Context

The detail panel already has a "Show in system explorer" toolbar button. This brings the same functionality to the list view for quicker access without having to select a skill first.

Test plan

  • Right-click a skill card — verify context menu appears at cursor
  • Click "Reveal in system explorer" — verify system file manager opens with file selected
  • Click "Copy file path" — verify path is in clipboard
  • Verify left-click still selects the skill normally
  • Test on macOS (Finder), and if possible Windows (Explorer)

🤖 Generated with Claude Code

Adds a context menu on right-click with:
- Reveal in system explorer (uses Electron shell.showItemInFolder)
- Copy file path (to clipboard)

Uses Obsidian's Menu API so it follows the app's native menu styling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Railly Railly force-pushed the feature/list-context-menu branch from a28ede5 to d134abd Compare April 2, 2026 05:10
@Railly Railly merged commit de5aa3a into Railly:main Apr 2, 2026
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.

2 participants