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

In alarm-edit window, make tapping outside of the window do nothing

Aperta Adatta ai principianti
#446 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
72/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

Poiché il payload non indica alcun file, inizia cercando nei sorgenti Kotlin la finestra di modifica della sveglia e il codice che gestisce il tocco al di fuori di essa. Individua dove viene creata la finestra e verifica se può essere chiusa con un tocco esterno. La correzione consiste nel bloccare quella chiusura lasciando funzionanti OK e Annulla. Il lavoro è completo quando un tocco esterno lascia aperto l'editor e OK e Annulla si comportano come prima.

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

Descrizione

feature request needs triage
Checklist
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the request will be dismissed otherwise.
  • This issue contains only one feature request.
  • I have read and understood the contribution guidelines.
Feature description

Make it impossible to close the alarm-editing window by tapping next to it; that is, tapping outside of the window does nothing. This means you have to explicitly click OK or Cancel to leave the editing window.

Why do you want this feature?

When modifying an alarm in the pop-up window, it is possible to tap outside of the window. This discards any modifications without warning (making it equivalent to clicking Cancel). The action of tapping a window away does not feel destructive, though. As a result, I have thought on multiple occasions that I successfully edited an alarm, whereas I later discovered that nothing was changed.

Making tapping away equivalent to OK instead of Cancel is not a good idea either, because one might deliberately want to click away to discard a change. And a Discard changes? pop-up is overkill. Hence my suggestion.

Additional information

No response

Lingua principale
Kotlin
Stelle
706
Fork
73
Merge medio
5g 17h
PR unite (30g)
8

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 FossifyOrg/Clock

Tutte le issue di FossifyOrg/Clock

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.