-
Notifications
You must be signed in to change notification settings - Fork 578
Open
Labels
Description
Describe the feature
Add Context Menu (Right-Click) Actions for Images
Description
Currently, PictoPy allows interaction with images mainly through hover-based UI actions.
This enhancement introduces a right-click context menu on image cards to provide quick access to common image actions, improving usability and delivering a more desktop-native experience—especially important for the offline Tauri application.
Proposed Context Menu Actions
When a user right-clicks on an image, a context menu should appear with the following options:
- Add to Album
- Favourite / Unfavourite
- Rename Image
- Share Image
- Copy Image to Clipboard
- View Image Info
- Delete Image
Behavior Details
- Context menu opens on right-click of an image card
- Clicking a menu item does not trigger image selection
- All actions work in an offline Tauri environment
- Clipboard copy uses
convertFileSrcfor Tauri compatibility - Share action falls back to copying the image path if
navigator.shareis unavailable - Some actions (Rename, Delete, Add to Album) currently display “Coming Soon” dialogs
UI / UX Notes
- Uses the existing
ContextMenucomponent - Icons provided via
lucide-react - Keyboard accessible
- Visual styling consistent with current dark/light themes
Screenshots
Screenshot 2
@rahulharpal1603 sir
please assign this issue to me
Record
- I agree to follow this project's Code of Conduct
- I want to work on this issue
Checklist before Submitting.
- Have you updated docs for it?.
- Have you added unit tests?.
- Have you made sure unit tests pass?
- Have you made sure code formatting is correct?
- Does it contain any style related issues?
coderabbitai