Commit Graph

190 Commits

Author SHA1 Message Date
6262ac7889 Use badge macros in the card header 2025-01-31 20:57:07 +01:00
ece15e97fb Fix the similar prints icon 2025-01-31 20:57:07 +01:00
6011173c1f Make the default collapsed state of grid filters configurable through a variable 2025-01-31 20:57:07 +01:00
6ec4f160f7 Make filters collapsible 2025-01-31 20:57:06 +01:00
23515526c8 Make the grid controls normal sized 2025-01-31 20:57:06 +01:00
e9f97a6f5e Use a with block rather than set to avoid leaking variables 2025-01-31 20:57:06 +01:00
2260774a58 Rename solo and attribute to value and metadata in grid filter 2025-01-31 20:57:06 +01:00
1f73ae2323 Configure the Grid search through data- attributes 2025-01-31 20:57:06 +01:00
0e3637e5ef Make checkbox clickable in the entire width of their container 2025-01-31 20:57:06 +01:00
069ba37e13 Fix database counters display 2025-01-31 20:57:06 +01:00
ca3d4d09d5 Make grid filters controlled through data- fields 2025-01-31 20:57:06 +01:00
8e3816e2e2 Create dedicated object for Grid filter 2025-01-31 20:57:06 +01:00
d80728d133 Create dedicated javascript object for Grid sort 2025-01-31 20:57:06 +01:00
f854a01925 Split the grid javascript code 2025-01-31 20:57:06 +01:00
2eb8ebfeca Remove sort-target attribute, handle it internally 2025-01-31 20:57:06 +01:00
cf641b3199 Separate the filters from the search and sort in the set grid 2025-01-31 20:57:06 +01:00
d6a729b5a5 Move the checkbox logic inside the macro 2025-01-31 20:57:06 +01:00
637be0d272 Fix admin status error 2025-01-31 20:57:06 +01:00
7d16e491c8 Rename checkboxes (too generic) to status (and some bug fixes) 2025-01-31 20:57:06 +01:00
a832ff27f7 Create a Metadata object as a base for checkboxes 2025-01-31 20:57:06 +01:00
4fc96ec38f Rename checkox_error 2025-01-31 20:57:06 +01:00
bba741b4a5 Rename database_error 2025-01-31 20:57:06 +01:00
3893f2aa19 Theme override nobody cares actually 2025-01-31 20:57:06 +01:00
b2d2019bfd Set theme override 2025-01-31 20:57:06 +01:00
257bccc339 Move set management to its own file 2025-01-31 20:57:06 +01:00
69c7dbaefe Don't display the set management section when deleting it 2025-01-31 20:57:06 +01:00
cb58ef83cc Add a clear button for dynamic input 2025-01-31 20:57:06 +01:00
f016e65b69 Rename read_only_missing to a more generic read_only 2025-01-31 20:57:06 +01:00
e2b8b51db8 Move dynamic input to BrickChanger 2025-01-31 20:57:06 +01:00
f44192a114 Add visually hidden label for dynamic input, move read-only logic in the macro 2025-01-31 20:57:06 +01:00
cf11e4d718 Move the dynamic input into a macro 2025-01-31 20:57:06 +01:00
468cc7ede9 Display prints based on a part 2025-01-31 20:57:06 +01:00
a2aafbf93a Visual fix for Any/No color 2025-01-31 20:57:06 +01:00
e033dec988 Use data-sort to sort colums with complex data 2025-01-31 20:57:06 +01:00
d08b7bb063 Display RGB color, transparency and prints for parts 2025-01-31 20:57:06 +01:00
fe13cfdb08 Collapsible grid controls 2025-01-31 20:57:06 +01:00
fc6ff5dd49 Add a refresh mode for sets 2025-01-31 20:57:06 +01:00
c4bb3c7607 Deduplicated parts and missing parts 2025-01-31 20:57:06 +01:00
50e5981c58 Cosmetics 2025-01-31 20:57:06 +01:00
26fd9aa3f9 Fix hide instructions block placement 2025-01-31 20:57:05 +01:00
a0fd62b9d2 Deduplicate minifigures 2025-01-31 20:57:05 +01:00
0f53674d8a Grey out legacy database tables in the admin 2025-01-31 20:57:05 +01:00
4350ade65b Add a flag to hide instructions in a set card 2025-01-31 20:57:05 +01:00
c4a1a17cfd Dowloads instructions through a socket 2025-01-25 22:42:59 +01:00
9113d539f0 Split the JS socket with a generic part and one dedicated to load Rebrickable sets 2025-01-25 19:43:55 +01:00
ed44fb9bab Global cleanup of the code, implementing all the comments for the issue 2025-01-25 19:02:46 +01:00
52f73d5bf9 Moved code and added env variables 2025-01-24 21:22:57 +01:00
6abf4a314f Merge remote-tracking branch 'origin/master' into instructions 2025-01-24 19:40:30 +01:00
982a1fa8db Simplify the way javascript is loaded (we don't have that many scripts running) and use data attribute to instantiate grid and tables 2025-01-24 15:55:15 +01:00
623b205733 Add a custom search function to the tables capable of excluding some pills 2025-01-24 14:57:26 +01:00