Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Edit a read-only picture and save it as a copy

Aperta
#110 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Start in Viewer.vue at the canEdit check that currently hides Edit unless the file itself can be updated. Offer Edit when the parent folder allows creating files, and open the image editor so only Save as is available. That requires a way in @nextcloud/image-editor to hide the always-shown Save (Save as copy is already gated by canSaveAs). This issue depends on #105 for displaying the new copy; done when a read-only picture can be edited and saved as a copy.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

type: enhancement

Edit is only offered when the file can be updated (canEdit in Viewer.vue), so a picture in a read-only share or a file without update permission can't be edited at all, even when the user could add a copy next to it.

Offer Edit when the file can't be updated but its folder allows creating files, and open the editor with Save as as the only way out. That needs a way in @nextcloud/image-editor to hide the plain Save (it always shows it today, with Save as copy only added through canSaveAs).

Depends on #105 for showing the new copy. From nextcloud/viewer#1364.

Lingua principale
TypeScript
Stelle
2
Fork
1
Merge medio
15h 52m
PR unite (30g)
93

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud-libraries/nextcloud-viewer

Tutte le issue di nextcloud-libraries/nextcloud-viewer

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.