Commit Graph

110 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
f9787158b8 Extra field settings UI done 2024-01-23 18:58:57 +01:00
Donkie
483c48151b Work on extra fields settings UI
Almost finished
2024-01-23 18:58:57 +01:00
Donkie
77e781f1ea Added settings menu with working currency editing 2024-01-23 18:58:57 +01:00
pdsccode
1ec1e05c40 Reverted changes to .pre-commit-config.yaml, changed en locales to reflect default and added filament price as default to spools/show.tsx 2024-01-10 19:22:26 +01:00
pdsccode
577ed1e680 Changed to show filament price if no spool price set and added tests 2024-01-06 21:42:09 +01:00
pdsccode
1eb78f01df Added pricing field for single spool 2023-12-30 07:29:27 +01:00
Donkie
8322451f26 Converted description translation to one line 2023-12-18 21:54:52 +01:00
Donkie
4dcb965b87 Translated help page 2023-12-18 21:52:22 +01:00
Donkie
0e57d93ec8 Moved help stuff to a new dedicated Help page
Also added some cool stats on home page
2023-12-18 21:25:23 +01:00
Donkie
d1a5690c81 Added beginnings of a home page 2023-12-18 20:20:48 +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
1c361d0e37 disable default warnWhenUnsavedChanges 2023-10-28 14:46:51 -05:00
Connor Cleveland
ec1966734e Change qty button to not need invasive CSS 2023-10-27 13:29:55 -05:00
Connor Cleveland
a61c99b93d Add SaveAndAdd footer buttons to keep create consistent 2023-10-26 16:14:24 -05:00
Connor Cleveland
82eaaccd9b add support for multiple spool adds 2023-10-26 03:53:06 -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
f064ea589c Formatted all .ts files 2023-10-18 19:21:57 +02:00
Donkie
d5bd18f931 Added live updates to vendors in client 2023-10-15 21:36:02 +02:00
Donkie
886519e3b4 Added live updates to filaments in client 2023-10-15 21:35:49 +02:00
Donkie
37ae1f7de1 Generalized the useLiveify hook 2023-10-15 21:20:56 +02:00
Donkie
f7faa6ccdc Auto-update for added/deleted spools in client 2023-10-15 21:05:42 +02:00
Donkie
0fab369518 Added live updates to spools in client
Will automatically refresh the list and show pages if any of the shown spools are updated in the backend.
On the edit page, it will warn you if the spool has been updated since you opened the page.
2023-10-15 15:28:08 +02:00
Donkie
1452a2828b Minor fix to spool weight editing 2023-10-10 21:16:20 +02:00
Donkie
41889ee83f Fixed spool weight field not being hidden 2023-10-10 21:03:56 +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
ea322559d9 Localized new location textbox 2023-10-10 20:36:55 +02:00
Donkie
43168fc75e Added dropdown of existing locations in spool edit
Resolves #119
2023-10-10 20:21:23 +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
1a031903de Start of serverside client tables 2023-09-16 11:13:30 +02:00
Thomas White
9336d13e2a remove debug logging 2023-09-11 13:48:40 +08:00
Thomas White
f6750830cc add new weight options to edit screen 2023-09-07 18:37:41 +08:00
Thomas White
d4f0a03a26 fixed selecting a spool with filament weight but no spool switching to the remaining weight option 2023-08-31 14:39:40 +08:00
Thomas White
f9a987b196 reformat 2023-08-31 14:12:43 +08:00
Thomas White
754c57ef26 readd radio buttons to select the weight to enter 2023-08-31 14:10:20 +08:00
Thomas White
d721e7d827 address PR comments 2023-08-26 01:53:24 +08:00
Thomas White
312aad55c0 change to hidden field and dummy inputs 2023-08-21 02:40:07 +08:00
Thomas White
eea74b8a43 add option to use measured or remaining weight 2023-08-20 12:00:29 +08:00
Donkie
d03a9510a5 Client: Sort filament/vendor dropdowns 2023-08-13 12:11:15 +02:00