Commit Graph

298 Commits

Author SHA1 Message Date
Claudio Ortolina 69e6cc67a2 Make page titles consistent with application structure
- All existing pages get a nice title
- Suffix is "Music Library"
- Fallback is current request path
2024-10-15 17:32:59 +01:00
Claudio Ortolina cac644e563 Add mix task to vacuum and backup locally
All in one go.
2024-10-15 17:25:35 +01:00
Claudio Ortolina 4229c5953c Add mix task to vacuum the production database 2024-10-15 17:25:35 +01:00
Claudio Ortolina 5ee98d5e07 Add mix task to migrate the production database 2024-10-15 17:25:18 +01:00
Claudio Ortolina d3b0057dea Move db_pull task under prod namespace 2024-10-15 17:06:25 +01:00
Claudio Ortolina c55b94c347 Test suspending instead of stopping on inactivity 2024-10-15 15:46:25 +01:00
Claudio Ortolina cbdf809e69 Format fly.toml file 2024-10-15 15:45:05 +01:00
Claudio Ortolina f89b9173f6 Navigate to individual artist from collection 2024-10-15 15:41:04 +01:00
Claudio Ortolina 754109f77e Remove layout repaint due to covers refresh 2024-10-15 15:24:35 +01:00
Claudio Ortolina 18937865bf Improve record details styling 2024-10-15 15:19:40 +01:00
Claudio Ortolina dafcd0ed6f Fix side padding inconsistencies in collection view 2024-10-15 14:58:14 +01:00
Claudio Ortolina 2cd376ae5d Improve styling of search bar
- Larger for more space
- Border color and focused state consistent with rest of application
2024-10-15 08:17:39 +01:00
Claudio Ortolina 2661c9f60d Display type stats 2024-10-14 22:33:05 +01:00
Claudio Ortolina 7a0d017965 Support filtering by type 2024-10-14 22:30:14 +01:00
Claudio Ortolina 5e7280176f Remove Sentry
Not used, and it has a quite a few outdated dependencies.
2024-10-14 18:58:10 +01:00
Claudio Ortolina 49f5ae30f2 Improve display of latest album in stats 2024-10-14 18:32:09 +01:00
Claudio Ortolina 9d76f3dfb7 Display releases in localized date format 2024-10-14 16:36:41 +01:00
Claudio Ortolina 6f7f0fed79 Add record indexes to optimize search 2024-10-14 15:18:47 +01:00
Claudio Ortolina 6e638b8f20 Improve stats interface
- Remove unnecessary buttons - can click directly on cards
- Enable shortcuts to lists filtered by format
2024-10-14 11:31:52 +01:00
Claudio Ortolina aa120f674e Ignore invalid formats 2024-10-14 11:31:31 +01:00
Claudio Ortolina f2959081ba Implement safer format parsing 2024-10-14 10:52:42 +01:00
Claudio Ortolina e0095909eb Enable search by format 2024-10-14 09:01:51 +01:00
Claudio Ortolina 6c9d1775d7 Rename application sections 2024-10-13 21:58:12 +01:00
Claudio Ortolina fd03f9450a Make search via mbid:* match on artist mbid 2024-10-10 22:06:12 +01:00
Claudio Ortolina 60e21e660a Update ecto, ecto_sql and exqlite 2024-10-10 21:48:44 +01:00
Claudio Ortolina e0b19707bf Use Inter font (without variable) 2024-10-10 17:33:45 +01:00
Claudio Ortolina d12a461a5d Improve error handling in db_pull task 2024-10-10 16:41:45 +01:00
Claudio Ortolina 9f383dfc5b Make db-dependent tests sync
As explained at
https://hexdocs.pm/ecto_sqlite3/Ecto.Adapters.SQLite3.html#module-async-sandbox-testing:

The Ecto SQLite3 adapter does not support async tests when used with
Ecto.Adapters.SQL.Sandbox. This is due to SQLite only allowing up one
write transaction at a time, which often does not work with the Sandbox
approach of wrapping each test in a transaction.
2024-10-10 15:54:22 +01:00
Claudio Ortolina 1451da1dee Don't fail import when cover fetch fails 2024-10-10 15:35:29 +01:00
Claudio Ortolina 21e773ff5e Formatting (line breaks) 2024-10-10 15:27:40 +01:00
Claudio Ortolina 1ff06bb178 Add disclaimer in search_parser module 2024-10-10 12:41:35 +01:00
Claudio Ortolina 02a071be28 Disable autocorrect and autocapizalize in search field 2024-10-10 10:59:03 +01:00
Claudio Ortolina 201c2edc01 Enable tagged search 2024-10-10 10:02:26 +01:00
Claudio Ortolina e30ba5ef3f Implement basic parser 2024-10-10 10:02:26 +01:00
Claudio Ortolina 1fdf36ea8a Include artists in record test fixture 2024-10-10 10:02:03 +01:00
Claudio Ortolina 10003c34f6 Include timestamps in record detail page 2024-10-10 08:00:07 +01:00
Claudio Ortolina e4c0ce58f6 Increase test pool size to avoid resource contention 2024-10-08 20:37:28 +01:00
Claudio Ortolina 52c1be1e32 Restructure stats
Split out count by format
2024-10-08 20:36:39 +01:00
Claudio Ortolina 36f1d44468 Add counts by format as a separate item 2024-10-08 20:21:38 +01:00
Claudio Ortolina 76907a4a6f Make all tests async
Doesn't make a difference at this stage, but it's a good foundation as
the application grows.
2024-10-08 16:53:47 +01:00
Claudio Ortolina ea8465b569 Show flash when static assets have changed 2024-10-08 09:49:48 +01:00
Claudio Ortolina 8e615658f8 Allow pagination component to be used multiple times
Enables further experimentation with multiple pagination controls on the
same page (not necessarily a good idea).
2024-10-08 08:56:25 +01:00
Claudio Ortolina b01e335db1 Increase pagination padding 2024-10-07 23:03:07 +01:00
Claudio Ortolina e404808c06 Add record count in records list 2024-10-07 22:59:38 +01:00
Claudio Ortolina 33f4cb11be Use a different icon for home stats 2024-10-07 15:26:04 +01:00
Claudio Ortolina bc2126cb8d Make pagination colors consistent with the everything else 2024-10-07 15:20:26 +01:00
Claudio Ortolina 1e245547bc Display no results notice in import dialog 2024-10-07 15:16:41 +01:00
Claudio Ortolina d4f93eae03 Shorten Import button text 2024-10-07 15:11:23 +01:00
Claudio Ortolina cd1331bbc6 Sort formats by descending count in stats 2024-10-07 15:05:54 +01:00
Claudio Ortolina ddbda5b4d2 Normalize display of artist names 2024-10-07 14:57:30 +01:00