Commit Graph

188 Commits

Author SHA1 Message Date
e509e6b0bb Make the default collapsed state of grid filters configurable through a variable 2025-01-31 11:31:38 +01:00
4a6f5592c7 Make filters collapsible 2025-01-31 11:23:38 +01:00
366df9d5c6 Make the grid controls normal sized 2025-01-31 11:22:50 +01:00
73fa71e380 Use a with block rather than set to avoid leaking variables 2025-01-31 11:05:19 +01:00
4278e088a4 Rename solo and attribute to value and metadata in grid filter 2025-01-31 10:54:11 +01:00
2c90afb644 Configure the Grid search through data- attributes 2025-01-31 10:19:59 +01:00
399daa375a Make checkbox clickable in the entire width of their container 2025-01-30 23:34:47 +01:00
bd21803298 Fix database counters display 2025-01-30 23:25:42 +01:00
6f0e132a36 Make grid filters controlled through data- fields 2025-01-30 23:24:22 +01:00
ccbc904a25 Create dedicated object for Grid filter 2025-01-30 22:40:53 +01:00
fca69aca7c Create dedicated javascript object for Grid sort 2025-01-30 22:30:14 +01:00
3af89ad558 Split the grid javascript code 2025-01-30 22:10:47 +01:00
4ca7a50492 Remove sort-target attribute, handle it internally 2025-01-30 22:07:09 +01:00
1213e9e176 Separate the filters from the search and sort in the set grid 2025-01-30 21:57:42 +01:00
a6f0bdafa0 Move the checkbox logic inside the macro 2025-01-30 17:39:55 +01:00
3a6e1ac9c9 Fix admin status error 2025-01-30 16:54:22 +01:00
cd70fb28dc Rename checkboxes (too generic) to status (and some bug fixes) 2025-01-30 15:03:16 +01:00
4e88b33c1f Create a Metadata object as a base for checkboxes 2025-01-30 12:27:21 +01:00
a3cb409749 Rename checkox_error 2025-01-30 09:33:54 +01:00
3550d7a867 Rename database_error 2025-01-29 22:49:17 +01:00
40142b7e62 Theme override nobody cares actually 2025-01-29 21:27:58 +01:00
0ad9cff7a0 Set theme override 2025-01-29 19:28:00 +01:00
a79f0ffd6a Move set management to its own file 2025-01-29 18:14:44 +01:00
b0327d9771 Don't display the set management section when deleting it 2025-01-29 17:42:13 +01:00
bfae90c247 Add a clear button for dynamic input 2025-01-29 16:14:52 +01:00
e8a8899b3c Rename read_only_missing to a more generic read_only 2025-01-29 16:11:48 +01:00
fd479d40f9 Move dynamic input to BrickChanger 2025-01-29 15:58:41 +01:00
ead0b1f90d Add visually hidden label for dynamic input, move read-only logic in the macro 2025-01-29 15:57:19 +01:00
cc87495aba Move the dynamic input into a macro 2025-01-29 15:12:10 +01:00
f32ea0b1b3 Display prints based on a part 2025-01-29 14:03:48 +01:00
bb096f76d6 Visual fix for Any/No color 2025-01-29 11:43:18 +01:00
5dfa1d5fba Use data-sort to sort colums with complex data 2025-01-29 10:37:22 +01:00
75f730ae7f Display RGB color, transparency and prints for parts 2025-01-29 10:36:43 +01:00
deb4a36604 Collapsible grid controls 2025-01-28 23:31:20 +01:00
b55999327b Add a refresh mode for sets 2025-01-28 23:07:12 +01:00
d541b1b351 Deduplicated parts and missing parts 2025-01-28 19:48:14 +01:00
096bb754de Cosmetics 2025-01-28 11:00:39 +01:00
426f0bb123 Fix hide instructions block placement 2025-01-27 23:19:26 +01:00
1519f33e98 Deduplicate minifigures 2025-01-27 23:19:26 +01:00
fa44b31f51 Grey out legacy database tables in the admin 2025-01-27 23:17:31 +01:00
3bbcf2c21c Add a flag to hide instructions in a set card 2025-01-27 23:17:31 +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
1685867494 Fix border around checkboxes depending if there are any displayed or not 2025-01-24 12:30:44 +01:00
c518c405c2 Use table.rebrickable rather than badge.rebrickable in the wishes table to be more consistent with the other tables 2025-01-24 12:04:50 +01:00