Commit Graph

9 Commits

Author SHA1 Message Date
Claudio Ortolina 733d4a2646 [presto] Center scroll indicators and fix up arrow position
Replace hardcoded WIDTH//2-px(8) with measured text centering for all scroll arrows. Move list-view up arrow Y from RECORD_START_Y-px(28) to DAY_HEADER_H+px(4) so it's inside the clip region, matching the detail view.
2026-05-15 12:04:05 +01:00
Claudio Ortolina cb1e032fc2 [presto] fix boot mode 2026-05-15 11:53:37 +01:00
Claudio Ortolina 354214b6f0 Fix search results overlapping header on scroll
Add set_clip/remove_clip to search results and day view scrollable content areas, matching the detail view pattern.
2026-05-15 11:45:12 +01:00
Claudio Ortolina 6a3e9695db ML-184: add Presto smoke test harness
Add a headless smoke-test harness for the Presto microPython app using
pimoroni-emulator mock modules.  A PRESTO_TEST_MODE=1 guard prevents
main() from running at import time so draw functions can be called
directly from tests.

- presto/main.py: wrap main() with PRESTO_TEST_MODE guard
- presto/tests/: conftest with emulator fixtures, 7 smoke tests
- presto/mise.toml: add [tasks.test]
- presto/README.md, presto/AGENTS.md: add Testing section
- .gitignore: exclude test __pycache__, pytest_cache, fixture pngs
2026-05-15 10:53:08 +01:00
Claudio Ortolina 7338825606 ML-183: scale Presto full-res layout 2026-05-15 08:22:27 +01:00
Claudio Ortolina f6c0e9f045 [presto] fix resolution (480x480, hi-res) 2026-05-15 08:00:15 +01:00
Claudio Ortolina c5bba79c37 ML-179: Refactor presto application 2026-05-11 07:22:44 +01:00
Claudio Ortolina 83a4f66036 ML-178: implementation 2026-05-10 20:45:03 +01:00
Claudio Ortolina 56fb7e590d [presto] rename records_on_the_day.py to main.py 2026-05-10 19:54:27 +01:00