Commit Graph

28 Commits

Author SHA1 Message Date
Donkie
40d3a3184f Implemented extra fields for spools and vendors as well 2024-01-23 19:27:34 +01:00
Donkie
fb23024ed0 Extra fields now finished for filaments 2024-01-23 18:58:58 +01:00
Donkie
53b0875569 Re-ordered action list to have the show button be first 2023-10-30 22:30:11 +01:00
Donkie
bc55f5e9af Fixed table layout being fixed by the new sticky headers
This caused the columns to not get auto-sized, which broke it especially bad on iOS
2023-10-30 22:30:01 +01:00
Donkie
151c3c7f4f Client Table update
* Columns are now specified using the ant design columns property instead of being Table.Column components. This should make this WoW a bit more sense, we're not pretending to be components anymore. column.tsx now only returns objects, not nodes.
* Added filament/spool collapsing as a useTable queryOptions so that the output object is directly the one we want, which will make the types play better together.
* Added a more unified record action system. This enables us to add actions to column rightclick/long press, which is better UX for mobile devices.
* Actions column is now hidden on smaller screens thanks to the above bullet.
2023-10-29 20:37:58 +01:00
Donkie
e31aeebe97 Added sticky table headers
Resolves #133
2023-10-29 19:00:45 +01:00
Donkie
d5bd18f931 Added live updates to vendors in client 2023-10-15 21:36:02 +02:00
Donkie
f62f9d899b Client: Now uses server side sorting
Still some stuff left to do #98
2023-09-16 11:13:30 +02:00
Donkie
ecabc425c3 Client: Rich URLs in comments
Closes #51
2023-08-12 20:59:37 +02:00
Donkie
e81bf8b8e7 Client: Reformatted all files with new line length 2023-08-12 19:54:24 +02:00
Donkie
9fe37b315c Client: Added default exports to all pages 2023-07-13 22:56:54 +02:00
Donkie
f21834ce2d Client: Full localization, dynamic title 2023-07-13 22:20:54 +02:00
Donkie
e5ef306aa2 Client: Added show/hide columns feature 2023-07-13 19:12:38 +02:00
Donkie
eeac30a963 Client: Fixed up pagination, now also stored 2023-07-06 23:18:39 +02:00
Donkie
58833f2203 Client: Apply some memoization 2023-07-06 23:00:08 +02:00
Donkie
b1af320a54 Client: Stricter typing 2023-07-06 22:36:41 +02:00
Donkie
30934842ff Client: Save/load state cleanup, sync with rest 2023-07-06 19:49:04 +02:00
Donkie
3c8e414aef Client: Make table use the refine sorters/filters
That way, Refine is in charge of the sorters/filters state, instead of Refine and AntD each having their own state for it.
2023-07-06 19:32:48 +02:00
Donkie
391d38a3a5 Client: Moved defaultSortOrder func to utils 2023-07-06 18:59:26 +02:00
Donkie
2b33f73b28 Client: Typing for spool and vendor useTable 2023-07-06 16:41:25 +02:00
Donkie
096f75ffb5 Client: Sort state is now saved in local storage 2023-07-06 16:18:14 +02:00
Donkie
4c17b8ea30 Client: Perform pagination using AntD instead
If we let Refine do the pagination, it will only return a page's worth of items in the dataSource. This makes the sorting useless if the items span multiple pages.

Now we let Ant Design to the pagination instead.
2023-07-06 16:06:04 +02:00
Donkie
23a3b3bbe1 Client: Vendor table is now sortable 2023-07-06 15:40:07 +02:00
Donkie
97170719b2 Client: 20 item pagination 2023-07-06 14:54:48 +02:00
Donkie
8c6675beb0 Client: Added clone button for vendors 2023-06-25 18:10:58 +02:00
Donkie
646ade1721 Client: Date time zones now handled correctly 2023-05-18 13:38:38 +02:00
Donkie
caa25ccf93 Client: Better datetime field support 2023-05-14 20:06:44 +02:00
Donkie
0269518175 Added a basic web UI 2023-05-10 21:11:10 +02:00