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

Notify the user that a file is locked (and sync does fail because of that) and remove the lock

Aperta
#3,387 0 commenti 1 reazione 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
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, java
Ambito
mobile

Direzione di ricerca

The payload names no files, so start by finding where the Android app's sync failure is reported to the user and whether it receives the server's lock state. Done means a failed sync caused by a file lock shows a notice that the file is locked, and the design choice for unlocking (own lock versus someone else's) is settled first, since the issue lists several options and the maintainers have not picked one.

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

Descrizione

enhancement
Is your feature request related to a problem? Please describe.

Currently, if a file is locked on the server side (which can happen, even if only e.g. the android notes app is used for editing, which is porbably another bug), the user does not get notified. This is one cause for a failed sync, but the user does not get a hint towards this cause, just an error message.

Describe the solution you'd like

Minimum: Notify the user that the file is locked, instead of just failing to sync. Probably it is useful to use the same icon and tell the user how he can remove the lock, e.g. in the web interface.
Expected: Do not allow to edit a locked file since this is likely to cause data loss.
Ideally: Allow the user to unlock the file, with a hint that this may cause data loss. DEfinitely if the file is locked by the person itself. Maybe more restrictive if somebody else locked it.
Perfect: Merge differences in case there are any between the server side and the app.

Describe alternatives you've considered

No response

Additional context

No response

Lingua principale
Java
Stelle
1.1k
Fork
170
Merge medio
2h 39m
PR unite (30g)
23

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/notes-android

Tutte le issue di nextcloud/notes-android

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.