Tom Butcher tom
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-08 02:07:53 +00:00
7611d11655 Refactor Filament, FilamentSku, PartSku, and ProductSku models to improve code readability by restructuring columns, filters, and sorters. Enhance Filament model with a visibility condition for the divider. Clean up formatting for better consistency across models.
tom pushed to main at farmcontrol/farmcontrol-api 2026-03-08 01:58:58 +00:00
b4837c8b8c Added mock for deleteObject in filaments test suite to support new delete functionality tests.
tom pushed to main at farmcontrol/farmcontrol-api 2026-03-08 01:53:37 +00:00
0300e00c8f Enhanced delete functionality for filaments by adding a route handler that checks for dependencies before deletion. Updated the database service to support this check, ensuring objects in use cannot be deleted. Refactored related routes for consistency.
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-08 01:53:26 +00:00
2ca29d1ef5 Add delete functionality to FilamentInfo component and update Filament model with delete action
tom pushed to main at farmcontrol/farmcontrol-api 2026-03-08 01:32:48 +00:00
6645898471 Added tests.
tom pushed to main at farmcontrol/farmcontrol-ws 2026-03-08 01:28:51 +00:00
b2c854bce9 Implemented materials.
7a500ffa58 Added missing SKUs.
bea9e45cd4 Implemented Part SKUs.
41c221c477 Gitignore test results.
Compare 4 commits »
tom pushed to main at farmcontrol/farmcontrol-api 2026-03-08 01:28:46 +00:00
4458a1d828 Implemented materials and export improvements.
acd4b375af Fixed SKUs updating.
7eb774a297 Added missing SKUs.
73fbb50b34 Implemented Part SKUs.
17e46f6aee Gitignore test results.
Compare 5 commits »
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-08 01:28:41 +00:00
6870320ab4 Implemented materials.
6d1946b91a Added missing SKUs.
5ba205c6cc Implemented Part SKUs.
cb9e7fcc23 Added test results to gitignore.
Compare 4 commits »
tom pushed to main at farmcontrol/farmcontrol-ws 2026-03-07 22:42:20 +00:00
d1dbbe2b11 Implemented Product SKU.
tom pushed to main at farmcontrol/farmcontrol-api 2026-03-07 22:42:15 +00:00
4ea168f17f Implemented Product SKU.
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-07 22:42:12 +00:00
1882ec8e32 Implemented product skus.
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-07 20:48:24 +00:00
785e1054d0 Seperate out mac os packages.
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-07 20:38:23 +00:00
5ec394cbc0 Add PostProductStock component and integrate posting functionality for product stocks. Update NewProductStock to set default state to 'draft'. Enhance ProductStockInfo with modal for posting stocks and update action visibility based on stock state.
tom pushed to main at farmcontrol/farmcontrol-api 2026-03-07 20:38:18 +00:00
866c29f33f Set default state as 'draft' and introduced 'postedAt' field. Implemented postProductStock route handler to transition product stock from draft to posted state, including state validation checks. Updated related service functions for consistency.
tom pushed to main at farmcontrol/farmcontrol-ws 2026-03-07 20:38:12 +00:00
f358eaa1d0 Updated product stock schema to include default state as 'draft', added 'postedAt' field, and introduced rollup configurations for 'draft' and 'posted' states.
tom pushed to main at farmcontrol/farmcontrol-api 2026-03-07 20:36:33 +00:00
1b2d505a30 Updated tests.
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-07 20:32:52 +00:00
04d26600fd Refactor NotificationContext to simplify notification fetching logic by removing redundant useEffect. Update condition checks for authenticated and notificationCenterVisible to use strict equality.
52fd0ebd63 Enhance FilePreview and FileUpload components with error handling and minimal display option. Refactor AuthContext to improve user info retrieval and session management.
Compare 2 commits »
tom pushed to main at farmcontrol/farmcontrol-api 2026-03-07 20:32:47 +00:00
420ab75467 Added user existence check in userRouteHandler to return 401 status if user is not found, enhancing authentication flow.
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-07 20:00:49 +00:00
845b330242 Fixed border radius.
tom pushed to main at farmcontrol/farmcontrol-ui 2026-03-07 19:44:20 +00:00
835db6e49f Enhance UserProfilePopover component by adding a Card wrapper for the user icon, improving visual presentation and layout. Refactor icon action filtering for better readability.
b5dd009d1a Refactor FileUpload component to ensure onChange is called consistently after file selection, improving state management for file uploads.
Compare 2 commits »