AOSSIE-Org / AOSSIE-Org/PictoPy

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

Aberta
#802 4 comentários 1 reação 1 responsável Reivindicada por @JaYRaNa213 Ver no GitHub
enhancement frontend
Linguagem predominante
Python
Estrelas
283
Forks
679
Merge médio
7d 2h
PRs com merge (30d)
3

Descrição

### 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

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this issue

### Checklist before Submitting.

- [x] Have you updated docs for it?.
- [ ] Have you added unit tests?.
- [ ] Have you made sure unit tests pass?
- [x] Have you made sure code formatting is correct?
- [x] Does it contain any style related issues?

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.