Skip to content

Feat: Right click action feature for image to perform many actions #802

@JaYRaNa213

Description

@JaYRaNa213

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 convertFileSrc for Tauri compatibility
  • Share action falls back to copying the image path if navigator.share is unavailable
  • Some actions (Rename, Delete, Add to Album) currently display “Coming Soon” dialogs

UI / UX Notes

  • Uses the existing ContextMenu component
  • Icons provided via lucide-react
  • Keyboard accessible
  • Visual styling consistent with current dark/light themes

Screenshots

Image

Screenshot 2

Image Image

@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?

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions