Commit Graph

119 Commits

Author SHA1 Message Date
TomW1605
d60b93349a fix spool weight < 0 check 2024-10-27 15:20:53 +08:00
TomW1605
efae0d8466 add archive/un archive button to spool view page 2024-10-26 13:48:27 +08:00
Donkie
7108b0e7a1 Optimized and organized all clients imports 2024-08-07 12:46:37 +02:00
Donkie
8413e33895 Minor fix to ActionsColumn function
No longer uses hooks but instead takes in the title
2024-08-07 12:40:54 +02:00
Donkie
3bd93cb0af Removed React prefix to some use hooks 2024-08-06 14:28:09 +02:00
Donkie
701ed2fae6 Added button to adjust filament
Resolves #428
Resolves #30
2024-08-06 11:34:47 +02:00
Donkie
00e35584f4 Fixed item cloning not handling extra fields properly
Resolves #424
2024-08-05 19:56:42 +02:00
Donkie
48ef3a23f2 Fixed client showing wrong spool price if overridden to 0
Resolves #431
2024-08-05 19:43:05 +02:00
Donkie
f3711f3789 Formatting 2024-08-05 19:26:35 +02:00
Donkie
5afe53e05b Merge pull request #423 from tzahari/master
Optimized list views
2024-08-05 19:16:50 +02:00
Donkie
f8c518e808 Added print page header and back functionality 2024-08-05 18:11:44 +02:00
Donkie
b764e9ecd9 Spools to print are now stored using query parameters 2024-08-05 15:41:07 +02:00
Donkie
9318ef5c19 Label printing page updates
No longer a modal
Use flex divs instead of a table
2024-08-05 15:39:38 +02:00
Thomas Zahari
7e87751caf Added right alignment for NumberColumns and price
Removed seconds from date / times
Removed decimals from spool length and weight
2024-07-12 16:42:26 +02:00
Donkie
f1b27b441d New spool icon updates 2024-06-11 17:09:54 +02:00
Donkie
e2df888e96 New spool color indication that supports multi colors 2024-06-09 19:23:43 +02:00
Donkie
52c52bcfd8 Updated external db sync to handle spool types and new color hex format 2024-05-20 22:39:25 +02:00
Donkie
090cbadf3b Fixed selected filament re-rendering too much 2024-05-15 19:40:34 +02:00
Donkie
55471062ab External filament select for edit spool form 2024-05-12 22:08:47 +02:00
Donkie
4598d8f520 Some cleanup in create spool page 2024-05-12 21:58:01 +02:00
Donkie
3de2c94098 Create internal filament from external flow done 2024-05-12 21:58:01 +02:00
Donkie
36945f449d Show external filaments in spool create 2024-05-12 21:58:00 +02:00
Donkie
8d03a53228 Formatted client files 2024-05-12 21:57:43 +02:00
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