2.5 KiB
2.5 KiB
Apply Progress: alarm-clock-module
2026-05-22 batch 2
- Added explicit one-shot alarm date support (
fechaUnica) to the alarm model, JSON persistence and recurrence calculator. - Replaced demo alarm creation with a real editor sheet: name, date, time, schedule type, weekdays, snooze 3/5/10, volume, internal fallback sound, vacation behavior and current-station capture.
- Added automatic alarm schedule refresh in
EstadoAlarmas, including persistence recalculation and Android resync. - Changed the alarm screen from a prominent Android reliability panel to a compact diagnostic action, and added next-execution/skip feedback.
- Generated a premium alarm icon sheet with image_gen, copied the source sheet to
assets/generated/, sliced transparent app assets toassets/icons/alarmas/, and registered the asset directory inpubspec.yaml.
2026-05-22 completion batch
- Added vacation ranges UI with create/delete flow and alarm cards that explain when vacation pauses affect the next execution.
- Added bundled internal fallback WAV sounds under
assets/audio/and registered them inpubspec.yaml. - Added
PantallaAlarmaSonandowith stop, snooze 3/5/10, radio attempt, fallback timeout and safe internal looping sound. - Added native-to-Flutter alarm intent handling so Android alarm firing opens the ringing screen.
- Added silent native pre-notification 30 minutes before alarms, with action to omit the next execution through the app bridge.
- Added Android initial/new-intent delivery over the alarm MethodChannel.
- Verified with
flutter analyze --no-fatal-infos: no issues.
Validation notes
flutter analyze --no-fatal-infospasses.- No build was executed, per project instruction.
dart formatstill times out in this local environment; source remains analyzer-clean.
2026-05-22 worker A vacaciones UI
- Added vacation range management in alarms UI: list current ranges, create range with start/end dates and delete existing ranges.
- Added
EstadoAlarmas.crearRangoVacacionesandEstadoAlarmas.eliminarRangoVacacionesto support UI actions directly. - Added
ServicioAlarmas.crearRangoVacacionesand normalization/sorting inguardarVacaciones(swaps start/end if needed and stores ordered ranges). - Added alarm-card messaging for alarms with
sonarEnVacaciones = false, explicitly showing when vacations are currently pausing execution and when it will resume. - Tried
flutter analyze --no-fatal-infostwice in this environment; both attempts timed out (120s and 300s), so this batch could not be analyzer-verified locally.