Commit graph

37 commits

Author SHA1 Message Date
csawatzky
13c15ec195 finished hooking up the inventory adjustment slider when using manual control on the bin page 2026-06-03 12:36:08 -06:00
csawatzky
b8a49197cb created a change grain dialog component and made the grain display a 'button' to be able to change the grain without going into the settings 2026-06-02 15:20:04 -06:00
csawatzky
b00f10b831 finished the bin sensor view to display connected components for a bin 2026-05-28 11:18:40 -06:00
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
762a630659 some permission changes
the team permission in the global state was coming back empty, so am now retrieving the team permissions for file uploads in grain transacitons, also adjusted the bin visualizer to disable the slider and inventory button when they do not have write permissions so they cant even open the transaction window, this should help prevent a case in the possible future where we allow bin transactions to have uploadable files from having a bin shared to them and uploading a file but not being able to create the transaction that it would be linked to thus causing the file to be uploaded to digital ocean, but not connected in our backend to anything
2026-02-13 12:51:26 -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
cd283a0ea1 set up the table for supported grains 2025-12-31 15:29:57 -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
49aa08f232 modified the matching check and confirmation dialog for when grain types dont match or at least one (destination or source) is using custom 2025-12-18 13:24:20 -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
csawatzky
37d87d062a added the new corn types for the other equations, also renamed the other oats and rye to include the equation names 2025-11-17 11:59:30 -06:00
csawatzky
8bcb2bf60c added rye, one for each equation to determine the most accurate 2025-09-02 09:22:16 -06:00
csawatzky
f7df4d92d8 added new grain types, still need the equations 2025-08-29 14:38:37 -06:00
csawatzky
e313fd10ae proto update for the test oats enum 2025-08-19 15:51:58 -06:00
csawatzky
8a9d7af6ae adding temp oats to the grain describer to have a user test which is more accurate 2025-08-19 15:34:47 -06:00
csawatzky
0266776e77 missed change 2025-07-21 13:21:30 -06:00
csawatzky
ed8ba4b3e4 added dry beans 2025-07-21 13:21:19 -06:00
csawatzky
59f7f7f4e1 updated all uses of as in the api files to use the global state as well as a passed in value, will give priority to the passed in value and fall back to the state if it is undefined. 2025-04-28 10:47:59 -06:00
csawatzky
b62c7dbe5c updated the component and device api's to have as be a parameter for the function 2025-04-22 14:33:19 -06:00
csawatzky
4912d319ff update as in the transaction api 2025-04-21 15:10:18 -06:00
csawatzky
1acbfe36b0 update as in the grain bag api 2025-04-21 13:58:37 -06:00
csawatzky
e2f5eb0557 modified th api's for bin, contract and task to have as passed in as a prop and not get it ffrom the global state directly in the api 2025-04-17 13:33:27 -06:00
csawatzky
d3431f5559 updated the columns for transactions 2025-04-08 14:39:24 -06:00
csawatzky
97bbd41492 adding the transaction page 2025-04-08 11:43:39 -06:00
Carter
65eeb9e8b4 got rid of material-ui references and fixed fan icon import 2025-03-18 11:40:16 -06:00
Carter
2d78947d2e added grain bag stuff and file selector/uploader stuff 2025-03-11 16:36:32 -06:00
csawatzky
f2cf950a6b updated the material ui imports for existing files that had not been updated yet 2025-03-04 12:35:36 -06:00
Carter
45ff49bcea added tons of files for component functionality; manual component adding added temporarily 2025-02-11 16:31:03 -06:00