summaryrefslogtreecommitdiff
path: root/src/c/fastforge.h
AgeCommit message (Collapse)Author
2026-04-13t2: add Resume Last Fast to main menuPaul Buetow
Adds a new "Resume Last Fast" item at index 1 in the main menu that restores the most-recently completed history entry as the running fast (undo accidental stop). Subtitle shows the last fast duration, or "No previous fast" when unavailable or a fast is already running. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13v2: add delete fast from history via long-press BACK in edit windowPaul Buetow
Adds history_delete_entry() in fastforge_core.c which removes an entry at a given index by shifting the tail with memmove, zeroing the vacated slot, recomputing streaks, and persisting. Wires a long-press BACK (700ms) handler in the history edit window that calls it. Updates the hint text to inform the user. Fixed hint text buffer from [40] to [48] to fit the full string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13u2: add cancel fast option that discards the fast without saving to historyPaul Buetow
Adds fast_cancel() in fastforge_core.c which clears the running fast and saves state without appending to history. Wires a new "Cancel Current Fast" main menu item (index 3) that calls it, showing a confirmation placeholder. Updates sync_main_menu_state() to reflect cancel availability dynamically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13m2: split Pebble-free types into separate headerPaul Buetow
2026-04-12Refactor FastForge C best practices for task 42Paul Buetow
2026-04-1252: implement debug menu and fake time controlsPaul Buetow
2026-04-12b2: implement settings screen and persisted dev modePaul Buetow
2026-04-12f2: implement start/stop fast state transitions on model/persistencePaul Buetow
2026-04-12g2: implement day-1 persistence load/save layerPaul Buetow
2026-04-12h2: add day-1 fasting data model and persist keysPaul Buetow