Commit Graph

96 Commits

Author SHA1 Message Date
Donkie
bc32f1e890 Now supports running under a sub path
Just set the SPOOLMAN_BASE_PATH environment variable and it should work.

Resolves #95
2024-05-10 11:37:09 +02:00
Matt Gerega
153b21408b Merge branch 'master' into feature/spool_revisions 2024-04-17 17:26:14 -04:00
Donkie
640ca8c430 Fixed spool clone showing white screen
Resolves #326
2024-04-14 10:36:51 +02:00
Matt Gerega
c6f9abeced Changed initial_weight to be net weight, not gross weight 2024-04-10 11:00:46 -04:00
Matt Gerega
3ea4937f24 Updated spool UIs (create/edit) 2024-03-27 14:47:05 -04:00
Matt Gerega
1d6830d769 Added initial_weight and empty_weight to spool 2024-03-26 13:55:44 -04:00
Donkie
c65bc4201b Currency setting is now utilized in filament/spool lists, edit pages etc 2024-02-02 23:06:06 +01:00
Donkie
23f383dd63 Fixed edit forms refreshing after you start editing 2024-01-30 20:02:54 +01:00
Donkie
41a40d9fa3 Minor spool edit cleanup, added enum 2024-01-30 19:29:17 +01:00
Donkie
36926c9ccf Added "Add Spool" button on filament list page
Resolves #281
2024-01-30 18:57:23 +01:00
Donkie
4d65dea1e9 Fixed sorting by filament in spool page
Previously it sorted by filament ID which gave wonky results, now it properly sorts by filament combined name instead

Resolves #219
2024-01-30 18:20:53 +01:00
Donkie
9d3fb02231 Fixed spool edit page being in render loop 2024-01-26 17:30:34 +01:00
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
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
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
82eaaccd9b add support for multiple spool adds 2023-10-26 03:53:06 -05:00
Donkie
f064ea589c Formatted all .ts files 2023-10-18 19:21:57 +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
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
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
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