Commit Graph

45 Commits

Author SHA1 Message Date
Claudio Ortolina a7076172f5 [presto] Use placeholder cover when scrolling record detail view 2026-05-16 17:43:53 +01:00
Claudio Ortolina 3a7a89002a ML-185.2: use API-sized Presto covers 2026-05-15 22:56:22 +01:00
Claudio Ortolina b43edb63b0 [presto] Show larger cover in detail 2026-05-15 17:27:59 +01:00
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 33985cd742 [presto] Migrate to use uv-based env 2026-05-15 10:45:17 +01:00
Claudio Ortolina afb0d10bcc Enable mise monorepo tasks 2026-05-15 10:12:35 +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 3f1908d45a [presto] lock dependencies 2026-05-15 07:26:00 +01:00
Claudio Ortolina 747d509b87 [presto] fix poc layout, and make it easy to deploy 2026-05-12 13:52:37 +01:00
Claudio Ortolina dc64fb0bb0 [presto] elm-architecture-like POC 2026-05-12 12:03:09 +01:00
Claudio Ortolina dc5847bb43 [presto] update uv to latest 2026-05-12 11:38:52 +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
Claudio Ortolina d4242b6e93 ML-176.2: add presto splash, search 2026-05-10 15:59:37 +01:00
Claudio Ortolina d4b30a93dc [presto] make header smaller, more room for the rest 2026-05-10 08:20:05 +01:00
Claudio Ortolina 2e0ead75c4 Update Presto color scheme to match main app zinc dark theme 2026-05-08 13:52:33 +01:00
Claudio Ortolina 7839683eb0 [presto] add emulator
Not working, but added so that we track updates
2026-05-08 07:41:03 +01:00
Claudio Ortolina c6115f05f9 [presto] backlight fade in/out 2026-05-07 12:57:03 +01:00
Claudio Ortolina ed9556a479 [presto] update clock on wake up 2026-05-07 08:24:58 +01:00
Claudio Ortolina 5f8fa04567 [presto] show purchased at as date 2026-05-06 18:31:58 +01:00
Claudio Ortolina 0c3a56b0f8 [presto] reduce spacing around record detail artwork 2026-05-06 18:31:17 +01:00
Claudio Ortolina ad6ef2dc12 [presto] increase padding between record rows 2026-05-06 18:26:11 +01:00
Claudio Ortolina da7f8892e9 [presto] revise record detail layout 2026-05-06 18:19:52 +01:00
Claudio Ortolina 435081be46 [presto] record detail display full release date 2026-05-06 17:43:35 +01:00
Claudio Ortolina 637bdf4e2b [presto] Update README and AGENTS.md 2026-05-06 17:40:41 +01:00
Claudio Ortolina 717727e7a1 [presto] Add record detail page 2026-05-06 17:15:32 +01:00
Claudio Ortolina 4558bb3a16 [presto] Fix review findings
- Fix tuple touch normalization when pressed state is falsy
- Reconnect WiFi before retrying failed record loads
- Redraw on wake only after successful reconnect
- Remove unused STATE_ERROR and _visible_count state
- Remove ignored row-bottom return from record row drawing
- Share wrapping logic and collapse repeated whitespace
- Align drag threshold handling with scroll redraw delta
- Close jpegdec objects when firmware exposes close()
- Add timeout to wait_for_touch_release()
- Document intentional no-op behavior for record row taps
2026-05-06 12:01:27 +01:00
Claudio Ortolina f4729ba9fc [presto] update README.md 2026-05-06 12:01:27 +01:00
Claudio Ortolina 9ed368c377 [presto] add AGENTS.md 2026-05-06 12:01:27 +01:00
Claudio Ortolina 9ab9b3fb3f [presto] use consistent spacing between rows 2026-05-06 12:01:27 +01:00
Claudio Ortolina c550cb8c35 ML-167: presto performance improvements 2026-05-06 12:01:27 +01:00
Claudio Ortolina 4c4b7d65ad [presto] Update README 2026-05-05 23:24:32 +01:00
Claudio Ortolina f2220e89df [presto] Remove example file 2026-05-05 23:23:30 +01:00
Claudio Ortolina 5b6bb5ac3d [presto] Use micro cover to keep things snappy 2026-05-05 23:23:00 +01:00
Claudio Ortolina 971e06513c [presto] Replace unsupported characters 2026-05-05 23:22:29 +01:00
Claudio Ortolina 8c45eb6777 [presto] Sleep after 1 minute, touch to wake up 2026-05-05 23:21:59 +01:00
Claudio Ortolina 0ffc0e477c [presto] Display format and release year 2026-05-05 23:21:28 +01:00
Claudio Ortolina 3649ee34c2 [presto] Improve touch responsiveness and visual layout 2026-05-05 23:20:47 +01:00
Claudio Ortolina 55a73b6913 [presto] pin uv to avoid installation problems 2026-05-05 23:20:10 +01:00
Claudio Ortolina 9d0ab1ffc6 ML-166: First working implementation 2026-05-05 16:34:09 +01:00