Commit graph

13 commits

Author SHA1 Message Date
csawatzky
cabc0146ed replaced uses of getGrainUnit to the users grainUnit function to pull form logged in users settings rather than local storage 2026-03-26 12:47:16 -06:00
csawatzky
62c2f6a63c finished updating for US tons 2026-03-06 10:24:12 -06:00
csawatzky
29d9e7377c working on US ton stuff 2026-03-04 12:51:10 -06:00
csawatzky
3401cc7c15 added entries to the grain form for imperial fields, filling the imperial will calculate its metric counterpart 2026-02-27 12:56:46 -06:00
csawatzky
eef687746e finished the supported grain view for desktop and the mobile view for both 2026-01-06 10:41:07 -06:00
csawatzky
586c971795 finished implementing the custom grain functionality on the grains page and the basic desktop view, and also am now using permissions to disable the buttons ro add/update/remove 2025-12-31 13:58:38 -06:00
csawatzky
27590da78f changed the component used in the bin and component settings to the grain selector and split out the form into another component that handles just the form and passing up a grainSettings object from its fields 2025-12-23 10:16:31 -06:00
csawatzky
be8dc1d11f various display updates to use the custom grain name and colors 2025-12-17 14:04:37 -06:00
csawatzky
ce1ee67fdc fixed variable 2025-12-16 14:16:02 -06:00
csawatzky
7697ec5474 renamed prop 2025-12-16 14:15:25 -06:00
csawatzky
42110f8821 some updates to the form so that it uses the passed in grain to initialize it but not change when it changes 2025-12-16 14:14:54 -06:00
csawatzky
fb1434f817 putting the grain form in the component form and adding a custom grain toggle, also tweaked the form to be just the form when no grains are saved and to use a search select and put the form in an accordion when there are saved custom grains 2025-12-15 16:29:54 -06:00
csawatzky
d6c670fb78 updated the grain describers to use the new enum in the pond for the moisture calculation, changed the extract moisture function to account for custom grain types, and if there is no equation set it will return the humidity, updated instances where the bin uses that function to pass in the grain settings in its inventory 2025-12-12 15:17:37 -06:00