Commit Graph

3254 Commits

Author SHA1 Message Date
Claudio Ortolina be7a9d5990 Start PubSub before Oban to prevent registry errors
Phoenix.PubSub must be initialized (creating its internal Registry)
before Oban starts processing jobs. With one_for_one strategy,
children start sequentially; previously Oban was started first,
causing 'unknown registry: MusicLibrary.PubSub' errors when a
job called broadcast before PubSub was ready (error #3891).
2026-05-08 14:10:56 +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 1247b89892 ML-169: add subtasks 2026-05-08 10:57:06 +01:00
Claudio Ortolina 07d2e3fee3 ML-169: research and plan 2026-05-08 09:57:00 +01:00
Claudio Ortolina 231fdc3bad ML-168: format 2026-05-08 09:54:57 +01:00
Claudio Ortolina 7540ed3ffd Update npm dependencies
npm:
  backlog.md 1.45.0 => 1.45.1
2026-05-08 09:34:44 +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 3876861f6f ML-168: research and plan 2026-05-08 07:04:20 +01:00
Claudio Ortolina ed6032bd15 Slow down shine animation, make it left to right only
Avoids dark edge at the bottom
2026-05-07 22:42:04 +01:00
Claudio Ortolina 621b35d824 Open universal search modal instantly via client-side JS
Replace phx-click server event with Fluxon.open_dialog for zero-latency
modal opening. The modal DOM is now always present (no :if conditional) so
it can be shown instantly; the server syncs state in the background.

Fix test selectors that now match the always-present modal form by scoping
to forms without phx-target (which the modal form always has).
2026-05-07 20:43:15 +01:00
Claudio Ortolina fa7a01b489 Update dependencies
decimal 2.3.0 => 3.0.0 (major)
2026-05-07 18:59:23 +01:00
Claudio Ortolina 10a24da49c Improve shine animations 2026-05-07 14:19:42 +01:00
Claudio Ortolina c6115f05f9 [presto] backlight fade in/out 2026-05-07 12:57:03 +01:00
Claudio Ortolina 829d0a2caa Update docs for Presto, PubSub, and Node.js 26
Add Presto companion display to architecture overview. Document collection API cover sizes (cover, thumb/480px, mini/150px, micro/40px). Update PubSub topic table and LiveView conventions for handle_params subscription management. Bump Node.js version from 25 to 26 in production infrastructure.
2026-05-07 10:57:23 +01:00
Claudio Ortolina 5f240fe573 Fix stale PubSub subscriptions on record navigation
Subscription management was only done in mount/3, meaning
navigating to a different record via handle_params/3 left the
old subscription active. A background update for the old record
would then overwrite the currently displayed record.

Fix: manage subscriptions in handle_params/3 (unsubscribe old,
subscribe new) via shared RecordActions.manage_subscription/2,
and guard handle_info({:update,...}) against mismatched IDs.
2026-05-07 10:14:10 +01:00
Claudio Ortolina 365195ff75 Backlog cleanup 2026-05-07 10:01:47 +01:00
Claudio Ortolina ed9556a479 [presto] update clock on wake up 2026-05-07 08:24:58 +01:00
Claudio Ortolina 32a47bda47 Update node to 26.0.0 2026-05-07 06:25:44 +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 afbce40de9 Update dependencies
mix:
  phoenix 1.8.6 => 1.8.7

Manually port update to filter_parameters now including "token" by default
2026-05-06 12:01:27 +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 154c3d9078 Update dependencies
ecto_sqlite3 0.22.0 => 0.23.0
2026-05-05 23:30:54 +01:00
Claudio Ortolina 0706e8fdad Update dependencies
mix:
  ecto 3.13.5 => 3.13.6
  jason 1.4.4 => 1.4.5
  phoenix 1.8.5 => 1.8.6
2026-05-05 23:29:26 +01:00
Claudio Ortolina 4c4b7d65ad [presto] Update README 2026-05-05 23:24:32 +01:00
Claudio Ortolina 4ec913008e [presto] Dockerignore presto files 2026-05-05 23:23:59 +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 0a9fafd35e Add micro_cover_url 2026-05-05 23:22:37 +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
Claudio Ortolina be76d0f214 Provide mini covers (150px) 2026-05-05 16:33:43 +01:00
Claudio Ortolina 3e36d0887a Update dependencies
mix:
  phoenix_live_view 1.1.29 => 1.1.30
2026-05-05 16:33:43 +01:00
Claudio Ortolina 3b4558ab9a ML-165: follow-up to fix non-working uppercase shortcuts 2026-05-05 16:33:43 +01:00
Claudio Ortolina cccd28a9f9 ML-165: implementation 2026-05-05 13:43:18 +01:00
Claudio Ortolina 008dc20ff4 Update sqlite for dev console 2026-05-05 13:11:36 +01:00
Claudio Ortolina 34ead6e8b5 ML-165: research and plan 2026-05-05 13:11:19 +01:00