Commit Graph

59 Commits

Author SHA1 Message Date
Donkie
23818c1005 Made a nicer button for Show Spools in filament show page 2024-01-23 18:58:58 +01:00
Donkie
f5b2ffa029 Fixed show page titles double-escaping HTML entities
Fixes #187
2023-12-17 20:46:03 +01:00
Donkie
b0fbe7dea7 Formatted some client files 2023-12-17 20:36:13 +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
Connor Cleveland
a61c99b93d Add SaveAndAdd footer buttons to keep create consistent 2023-10-26 16:14:24 -05:00
Connor Cleveland
a08e32078c remove now unused formatVendor 2023-10-25 00:52:44 -05:00
Connor Cleveland
517996d7a8 #76 spool list, no reload on page change 2023-10-25 00:32:57 -05:00
Donkie
886519e3b4 Added live updates to filaments in client 2023-10-15 21:35:49 +02:00
Donkie
3f5902516c Added max values on density and diameter inputs
This is to prevent accidentally putting in a too big value
2023-10-10 20:45:27 +02:00
Donkie
30d4019d7d Number inputs now show error if bad value
Previously it just prevented you from inputting it, which was a bit bad UX
2023-10-10 20:45:01 +02:00
Donkie
bdc47fd0a2 Localized create filament page title 2023-10-08 17:45:00 +02:00
Donkie
5fdd218ead Localized show page titles 2023-10-08 17:45:00 +02:00
Donkie
f722adec22 Client: Fixed incorrect column name keys 2023-09-16 13:47:50 +02:00
Donkie
dc5e3a0fbd Client: Filament name filtering/sorting now works 2023-09-16 11:13:30 +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
d03a9510a5 Client: Sort filament/vendor dropdowns 2023-08-13 12:11:15 +02:00
Donkie
980284be1d Client: Improved show page titles 2023-08-13 10:14:48 +02:00
Donkie
373067bd09 Client: Filament and vendor links in show pages
Resolves #70
2023-08-13 10:06:39 +02:00
Donkie
6934748b14 Client: Enabled search in vendor/filament dropdown
Closes #60
2023-08-12 21:10:44 +02:00
Donkie
ecabc425c3 Client: Rich URLs in comments
Closes #51
2023-08-12 20:59:37 +02:00
Donkie
0631c5f7a1 Client: Made decimals more consistent
Closes #58
2023-08-12 20:20:25 +02:00
Donkie
e81bf8b8e7 Client: Reformatted all files with new line length 2023-08-12 19:54:24 +02:00
Donkie
bfb63cbfdc Client: Added some missing columns in table
Also configured the default columns to show
2023-07-14 12:05:05 +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
c8974c505d Client: Improved layout of new spool icon 2023-07-10 12:40:32 +02:00
Donkie
9561111b90 Client: Added a colored spool icon in the lists
To indicate the filament color_hex field

Resolves #23
2023-07-08 23:21:13 +02:00
Donkie
517cbfc8b6 Client: Clarify weight/spool_weight a bit 2023-07-07 18:16:52 +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
f36eb86fc7 Client: Added clear filters button 2023-07-06 19:33:30 +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
e42b206d7d Client: Filter state is now saved in local storage 2023-07-06 19:18:11 +02:00
Donkie
a954ef3df5 Client: Added filtering capabilities to filaments 2023-07-06 19:00:32 +02:00
Donkie
391d38a3a5 Client: Moved defaultSortOrder func to utils 2023-07-06 18:59:26 +02:00
Donkie
f76c18ea3a Client: Define vendor_name field in list 2023-07-06 18:26:04 +02:00
Donkie
5ac96c7166 Client: Some type fixes 2023-07-06 18:16:20 +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
f0403b3afb Client: Filament table is now sortable
Can only sort by 1 column for now
2023-07-06 15:36:10 +02:00
Donkie
97170719b2 Client: 20 item pagination 2023-07-06 14:54:48 +02:00
Donkie
fe85caa44b Client: Fixed filament clone fail if no vendor 2023-07-06 14:52:41 +02:00
Donkie
43a3e3f1f2 Client: Better locale comma support 2023-06-27 22:51:22 +02:00
Donkie
e24834f161 Client: Added clone button for filaments 2023-06-25 18:08:46 +02:00