Commit Graph

3371 Commits

Author SHA1 Message Date
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 aa6651b19d [pi] Add shape-draft prompt template 2026-05-15 10:04:17 +01:00
Claudio Ortolina 8c19ff7406 Restructure commit hooks task draft 2026-05-15 09:56:38 +01:00
Claudio Ortolina 3775a62865 [presto] Show scrobbled albums task draft 2026-05-15 09:56:18 +01:00
Claudio Ortolina 2ec19f3a88 ML-184: presto testing harness (plan) 2026-05-15 09:54:18 +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 2d451d2807 [presto] ignore emulator cache files 2026-05-15 07:26:17 +01:00
Claudio Ortolina 3f1908d45a [presto] lock dependencies 2026-05-15 07:26:00 +01:00
Claudio Ortolina 8391cf275a ML-180: remove backup download feature
Delete ArchiveController, its routes, the maintenance UI backup
button, and the test file. Management scripts and Litestream
supersede this functionality.
2026-05-15 07:13:33 +01:00
Claudio Ortolina 93e414cf15 ML-182: document PhoenixTest patterns and migration guide in testing skill 2026-05-15 07:07:37 +01:00
Claudio Ortolina 74b4e2524f ML-182.3; update more tests and findings 2026-05-15 07:04:04 +01:00
Claudio Ortolina 73c469e83d ML-182.3: migrate scrobble rules tests to PhoenixTest 2026-05-15 07:00:15 +01:00
Claudio Ortolina 9eda49ed46 ML-182.3: migrate record_set/show tests to PhoenixTest 2026-05-15 06:47:25 +01:00
Claudio Ortolina bd09840443 ML-182.3: convert record_set_live/index_test to PhoenixTest 2026-05-15 06:31:50 +01:00
Claudio Ortolina 9b7ed2ae8b ML-182.6: wave 6 conversion 2026-05-14 23:25:15 +01:00
Claudio Ortolina f20a7af5d7 ML-182.5: wave 5 conversion 2026-05-14 23:25:05 +01:00
Claudio Ortolina 3cb7509a4b ML-182.4: wave 4 conversion 2026-05-14 23:24:45 +01:00
Claudio Ortolina 2237c7db20 ML-182.3: partial progress in conversion 2026-05-14 23:23:15 +01:00
Claudio Ortolina dda700ad96 ML-182: convert 4 test files to PhoenixTest only
Waves 1-2: scrobble_live/index, scrobbled_tracks_live/index, release_group_show, release_show. Dropped unwrap/2 bridges and page_title/1 usage. Search form tests use visit with query params. page_title tests use assert_has("title", ...).
2026-05-14 23:22:02 +01:00
Claudio Ortolina 8843f0ad4f ML-182: migration to phoenix_test (plan) 2026-05-14 22:42:42 +01:00
Claudio Ortolina 7cf634a421 Enable NoOpenBrowser phoenix_test credo check 2026-05-14 22:37:37 +01:00
Claudio Ortolina efc9d14331 Update dependencies
mix:
  erlex 0.2.8 => 0.2.9
2026-05-14 22:04:25 +01:00
Claudio Ortolina f108e6f062 ML-174: add empty action to record set dropdown menu
Add RecordSets.empty_record_set/1 that bulk-deletes all items in a set via
a single DELETE query and returns the reloaded empty set. Add Empty button
with confirmation prompt to both index and show view dropdowns.
2026-05-14 17:15:06 +01:00
Claudio Ortolina a59dd22a18 ML-168: broadcast index_changed event after background import
Import workers now broadcast :records_index_changed on
"records:index_changed" after successful import via
Records.broadcast_index_changed/0.

CollectionLive.Index and WishlistLive.Index subscribe to the
topic in mount/3 and reload their record streams on receipt,
with a live_action guard to skip reloads when the grid is
hidden behind a modal (:import, :barcode_scan).

IndexActions.handle_index_changed/1 refreshes total_entries
before reloading to keep the pagination bar accurate.
2026-05-14 17:15:06 +01:00
Claudio Ortolina d878364423 Add mise task to run pi tests 2026-05-14 12:35:36 +01:00
Claudio Ortolina 484735a789 Update dependencies
castore 1.0.18 => 1.0.19
2026-05-14 12:09:20 +01:00
Claudio Ortolina 544bf44ec6 Research swapping OpenAI with Mistral 2026-05-14 11:37:12 +01:00
Claudio Ortolina d30e6d2d8f Add Credo refactor checks and fix double Enum.map
Add 9 enabled + 1 disabled Credo checks from ex_slop README.
Fix MapMap finding in ListeningStats.update/1 (single pass).
Disable AppendSingleItem (10 pre-existing violations).
2026-05-14 10:47:13 +01:00
Claudio Ortolina 1f7d552727 Switch ex_slop to plugin-based config
Replace 39 individual ExSlop checks with the {ExSlop, []}
plugin that registers 30 recommended checks automatically.
2026-05-14 10:38:15 +01:00
Claudio Ortolina a084d4c62e Update dependencies
mix:
  ex_slop 0.4.0 => 0.4.1
  plug 1.19.1 => 1.19.2
2026-05-14 10:32:23 +01:00
Claudio Ortolina 2a9c54cb42 Sync docs: Elixir 1.20.0-rc.5, Oban pruner 7d, Docker builder 2026-05-13 21:13:51 +01:00
Claudio Ortolina c86ce9d485 Ml-174: add labels 2026-05-13 21:05:34 +01:00
Claudio Ortolina 9c67591c6d ML-181: add labels 2026-05-13 20:37:26 +01:00
Claudio Ortolina 344d88127d ML-181: hardening asset routes (plan) 2026-05-13 20:28:35 +01:00
Claudio Ortolina 533fe8a8c4 Streamline function implementation (no double negative) 2026-05-13 20:14:58 +01:00
Claudio Ortolina 3406561a44 Update elixir to 1.20.0-rc.5 2026-05-13 20:14:58 +01:00
Claudio Ortolina 8aefcc3b2c Add security review documents 2026-05-13 19:29:31 +01:00
Claudio Ortolina ff57735c52 Add template for application security review 2026-05-13 19:29:11 +01:00
Claudio Ortolina 6513007ac0 Analyze possibility of having a dedicated assets repo 2026-05-13 16:14:38 +01:00
Claudio Ortolina d14b0ad32c Update dependencies
mix:
  bandit 1.11.0 => 1.11.1
  oban_met 1.1.0 => 1.2.0
2026-05-13 15:43:45 +01:00
Claudio Ortolina 3f4ea5d760 Update to debian trixie-20260505 2026-05-13 07:12:28 +01:00
Claudio Ortolina a51226d68a Increase retetion of completed oban jobs 2026-05-12 17:07:29 +01:00
Claudio Ortolina d1c520f2ed Update dependencies
ex_ast 0.11.1 => 0.11.2
finch 0.21.0 => 0.22.0 (minor)
2026-05-12 16:45:29 +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