Commit Graph

86 Commits

Author SHA1 Message Date
Claudio Ortolina 467961128b Validate order attribute values in pagination component 2024-12-29 21:22:42 +00:00
Claudio Ortolina 65b4f5c06b Fix flash colors in dark mode 2024-12-29 21:06:23 +00:00
Claudio Ortolina 6427710029 Enable sorting options in collection view 2024-12-29 15:47:37 +00:00
Claudio Ortolina 6bcce558c4 Restyle flash messages 2024-12-25 19:22:38 +00:00
Claudio Ortolina 2e73e810ea Remove flash message for client error 2024-12-25 19:08:43 +00:00
Claudio Ortolina 326b226d96 Remove unnecessary fallback to empty image version string
Images always have a hash now, so fallback is not needed anymore.
2024-12-23 23:30:57 +00:00
Claudio Ortolina f71fa6fa25 Make search smaller on desktop, full width on mobile 2024-12-23 17:11:39 +00:00
Claudio Ortolina 8b877e7ede Shrink input text size at smallest viewport 2024-12-23 17:08:44 +00:00
Claudio Ortolina fe05efb06d Prevent pinch to zoom
I wouldn't normally do this, but I'm the only user and I'm ok with it.
2024-12-23 17:04:31 +00:00
Claudio Ortolina 3e07b50bdf Add red accent to navigation menu 2024-12-23 16:38:04 +00:00
Claudio Ortolina 45df749200 No need to create a range when total_pages is 0
Fixes:

warning: Range.new/2 and first..last default to a step of -1 when last < first.
Use Range.new(first, last, -1) or first..last//-1, or pass 1 if that was your intention
2024-12-19 19:07:08 +00:00
Claudio Ortolina c60108292a Scroll to top when paginating on small viewports 2024-12-16 18:03:26 +00:00
Claudio Ortolina 04d60b09a4 Extract search component 2024-12-13 23:22:21 +03:00
Claudio Ortolina 91b81de0f8 Remove duplication around MusicBrainz URL generation 2024-12-11 23:54:21 +03:00
Claudio Ortolina 8d7fe4d660 Extract record list component 2024-12-11 22:47:23 +03:00
Claudio Ortolina 31b6100687 Shrink buttons on mobile 2024-12-10 18:48:49 +03:00
Claudio Ortolina 7e31c95839 Smooth scroll to top when paginating records 2024-12-08 15:18:14 +01:00
Claudio Ortolina 24319b1bff Annotate templates with TODOs for markup replacement
To open source the project down the line, it makes sense to have either
everything custom or using OSS components in order to keep licensing as
simple as possible.
2024-12-04 14:43:07 +00:00
Claudio Ortolina ccefc6e697 Update to new interpolation syntax
Includes a fix to a brittle test that failed due to changes in the
number of linebreaks.
2024-12-03 00:08:32 +00:00
Claudio Ortolina df9d18a21f Add nav link to dev dashboard
Invisible on mobile portrait layout - visible if device is turned to
landscape. Reasoning is that the dev dashboard is pretty unusable in
portrait mode anyway.
2024-11-29 08:33:29 +00:00
Claudio Ortolina 95e11d45d5 Tighten navigation menu on mobile 2024-11-29 08:29:21 +00:00
Claudio Ortolina 60fef06dc1 Uniform nav and footer dividers 2024-11-28 08:55:57 +00:00
Claudio Ortolina 3a813f9b4a Add personal website link in footer 2024-11-28 08:48:49 +00:00
Claudio Ortolina 7701ef9bc5 Add missing translation 2024-11-27 23:45:57 +00:00
Claudio Ortolina 452a6a3f5b Fix footer on mobile 2024-11-27 23:45:47 +00:00
Claudio Ortolina 9f6791909d Add a footer 2024-11-27 23:41:11 +00:00
Claudio Ortolina be2f866830 Remove wrong background color in pagination component 2024-11-27 22:42:51 +00:00
Claudio Ortolina 1cf681db05 Fix misalignment of buttons and inputs in search form 2024-11-27 22:41:13 +00:00
Claudio Ortolina 02d126ac90 Blur background when modal is open 2024-11-25 16:46:24 +00:00
Claudio Ortolina 09115a635f Reduce vertical margins and paddings 2024-11-21 10:42:33 +00:00
Claudio Ortolina 5b3aab51ed Change routes from "/records/*" to "/collection/*" 2024-11-20 15:43:25 +00:00
Claudio Ortolina 3cbfde1940 Fix layout max width glitches between different views 2024-11-18 16:51:02 +00:00
Claudio Ortolina 67389f6b24 Use a button group for show record actions 2024-11-16 09:28:52 +00:00
Claudio Ortolina 5c4c87e5c1 Make dark mode backgrounds darker 2024-11-07 19:12:26 +00:00
Claudio Ortolina c9cf3360d2 Use zinc everywhere 2024-11-05 08:42:30 +00:00
Claudio Ortolina 678e61ecbc Uniform usage of inputs (with border correction) 2024-11-05 08:42:10 +00:00
Claudio Ortolina c0f039f2ee Use icon instead of custom svg in options menu 2024-11-01 09:30:06 +00:00
Claudio Ortolina 01798b343c Use live navigation between sections 2024-10-29 16:43:10 +00:00
Claudio Ortolina 850a3c7d90 Disable autocorrect/autocomplete in import query input 2024-10-28 10:50:55 +00:00
Claudio Ortolina 1ca9663bb6 Track favicon assets
So that if they change, the UI can notify the user for a reload
2024-10-27 17:30:20 +00:00
Claudio Ortolina 793dbcabb8 Add favicons 2024-10-27 17:28:01 +00:00
Claudio Ortolina 94161f60c3 Update colors in form component 2024-10-27 08:29:24 +00:00
Claudio Ortolina 60ae641902 Redesign record show page 2024-10-26 23:09:33 +01:00
Claudio Ortolina 750dae431b Redesign import dialog 2024-10-25 23:20:13 +01:00
Claudio Ortolina 91fa92b0de Update part of colours for import component 2024-10-24 09:36:05 +01:00
Claudio Ortolina e2643f1801 Update colors for collection list and pagination 2024-10-23 23:17:16 +01:00
Claudio Ortolina a91edb7949 Update colours for wishlist 2024-10-23 21:31:13 +01:00
Claudio Ortolina eba1e2eca8 Fix border colours for navigation
Remove drop shadow as it doesn't work in dark mode
2024-10-23 20:21:44 +01:00
Claudio Ortolina c45ba43c46 Update colors in navigation bar 2024-10-23 10:28:37 +01:00
Claudio Ortolina 9b305ff06a Add wishlist section with paginated list 2024-10-21 18:25:56 +01:00