297 Commits

Author SHA1 Message Date
d8bfc19917 Added new InfoCollapse sections for Online Printers and Queued Jobs in ProductionOverview, including ObjectTable components for data display and updated collapse states for better user interaction. 2025-12-09 02:10:35 +00:00
5f33ed69fb Refined interval calculation in ApiServerProvider to adjust polling frequency based on time range, introducing new thresholds for intervals over 1, 2, and 3 days. 2025-12-09 02:10:23 +00:00
b7e81e2caa Enhanced ObjectSelect component to handle array inputs by normalizing values to a string of IDs, improving identity detection for in-place updates. 2025-12-09 02:10:09 +00:00
3d17a08a71 Enhanced HistoryDisplay component with custom date range selection and improved loading states. 2025-12-09 02:09:48 +00:00
2d2aff125c Added destroyOnHidden property to the new job modal for improved resource management. 2025-12-09 02:09:36 +00:00
7a4dec3f54 Added total weight to filament stocks. 2025-12-08 23:03:47 +00:00
f2036a7a69 API stats implementation. 2025-12-08 23:03:20 +00:00
0a1540325b Updated colours to match theme. 2025-12-08 23:03:04 +00:00
d3a3aafb04 Change to now go to overview page by default. 2025-12-08 23:02:50 +00:00
32373ba350 Added parent type to note. 2025-12-08 23:02:25 +00:00
35a6b847e6 Added inventory overview. 2025-12-08 23:01:34 +00:00
98ca73791f Overhauled printer overview page (now working, with charts and realtime updates to current state) 2025-12-08 23:00:58 +00:00
aaeeb4013e Fixed infinite loop 2025-12-08 22:59:35 +00:00
e19200c059 Update DocumentTemplateInfo to set label width for improved layout consistency 2025-12-07 02:42:55 +00:00
8508442d2e Implement modal for adding new order items in PurchaseOrderInfo component
- Integrated NewOrderItem component within a modal to facilitate the addition of new order items.
- Managed modal visibility state with useState hook.
- Updated ObjectTable to display order items associated with the purchase order.
2025-12-07 02:42:50 +00:00
8945bb9a17 Update PartStockInfo to set label width for improved layout consistency 2025-12-07 02:42:44 +00:00
cd902d8f13 Add Order Items and Shipments to Inventory Sidebar and Update Purchase Order Info
- Enhanced InventorySidebar by adding new entries for Order Items and Shipments with corresponding icons and paths.
- Updated PurchaseOrderInfo to include a modal for adding new order items, integrating the NewOrderItem component and managing its visibility state.
- Adjusted label width in PartStockInfo and DocumentTemplateInfo for improved layout consistency.
2025-12-07 02:42:37 +00:00
aad5326c7e Update ObjectTypeSelect component to adjust label positioning for improved display
- Modified the label rendering in ObjectTypeSelect to include a style adjustment, positioning the ObjectTypeDisplay component slightly higher for better visual alignment.
2025-12-07 02:42:26 +00:00
f7532338b6 Refactor ObjectTable component to utilize refs for table filter and sorter management
- Replaced state management for tableFilter and tableSorter with refs for improved performance and reduced re-renders.
- Introduced tableData state to manage flattened data for display.
- Updated data fetching logic to reference current filter and sorter values from refs.
- Enhanced useEffect to flatten pages array for table display.
2025-12-07 02:42:18 +00:00
2879b8648d Enhance ObjectSelect component with value identity tracking and loading optimizations
- Introduced valueRef and prevValueIdentityRef to track changes in selected object values.
- Added getValueIdentity function to normalize object values for comparison.
- Updated treeSelectValue handling to prevent unnecessary fetches and improve performance.
- Enhanced useEffect dependencies for accurate value change detection and logging.
2025-12-07 02:42:10 +00:00
c10daf008e Enhance ObjectProperty component with readOnly handling and reference case support
- Added functionality to process readOnly as a function for dynamic object data handling.
- Updated rendering logic to include a new 'reference' case, allowing for the display of ID references with appropriate components.
- Improved ObjectDisplay rendering by passing showHyperlink prop for enhanced interactivity.
2025-12-07 02:42:02 +00:00
b955f42b88 Refactor ObjectForm component to improve computed value handling
- Introduced a working copy of currentData to facilitate sequential updates of computed values.
- Updated property processing logic to utilize workingData for accurate calculations.
- Removed unnecessary parameters in processProperty function for cleaner code.
- Enhanced dependency array in useEffect to include calculateComputedValues and model for better reactivity.
2025-12-07 02:41:55 +00:00
6da485bc8f Enhance IdDisplay component with reference and plainCode props
- Added reference prop to allow custom display of IDs.
- Introduced plainCode prop to toggle between code and text display styles.
- Updated rendering logic to accommodate new props for improved flexibility in ID presentation.
2025-12-07 02:41:45 +00:00
8b481a9617 Add routes for OrderItems and Shipments in InventoryRoutes
- Introduced new routes for OrderItems and OrderItemInfo components.
- Added routes for Shipments and ShipmentInfo components to enhance inventory management functionality.
2025-12-07 02:41:31 +00:00
f24bc27e2c Add OrderItem and Shipment models to database schema
- Introduced OrderItem and Shipment models with associated properties and actions.
- Updated ObjectModels to include new models for better integration.
- Refactored existing models to remove unnecessary ID references and improve hyperlink support for related objects.
- Enhanced various models by removing deprecated fields and ensuring consistency in object references.
2025-12-07 02:41:17 +00:00
2f323181f5 Refactor form components to accept defaultValues prop for enhanced flexibility
- Updated NewFilamentStock, NewPartStock, NewPurchaseOrder, NewStockAudit, NewCourierService, NewCourier, NewDocumentPrinter, NewDocumentSize, NewDocumentTemplate, NewPart, NewProduct, NewTaxRate, NewTaxRecord, NewVendor, NewGCodeFile, NewJob, and NewPrinter components to accept a defaultValues prop.
- Merged defaultValues with existing default values in each component to allow for more customizable form initialization.
2025-12-07 02:40:32 +00:00
3673a7a1ec Add Order Items and Shipments components with associated icons and forms
- Introduced OrderItems and Shipments components for managing order items and shipments.
- Added NewOrderItem and NewShipment forms for creating new entries.
- Implemented ObjectTable for displaying lists in different view modes.
- Created SVG icons for OrderItem and Shipment.
- Removed deprecated OrderItemsIcon component.
2025-12-07 02:39:45 +00:00
4995d37aa2 Removed console.log statements from various components to clean up the code and improve performance. 2025-12-07 02:38:39 +00:00
9f05bfd929 Enhanced ObjectDisplay component with spotlight data fetching and hyperlink support. Added props for showHyperlink and showSpotlight, and improved rendering logic for object names with optional popover tooltips. 2025-12-07 02:37:28 +00:00
863f0ad90c Added address to Vendor 2025-12-03 23:47:24 +00:00
13bbcbe50e Added tax rates, tax records and minor style improvements. 2025-12-03 23:35:30 +00:00
d0911c1166 Implemented server updates to printer controls. 2025-12-03 15:46:52 +00:00
6f46587f5e Added ref spotlight lookup. 2025-12-03 13:11:39 +00:00
f80ab801e8 Enable hyperlink display in ObjectInfo components for improved navigation. 2025-12-03 12:45:52 +00:00
17a4a5abd5 Added purchase orders and couriers. 2025-12-03 03:40:00 +00:00
735826bdb9 Use wizard view for "new" windows. 2025-12-03 00:15:34 +00:00
f2bdb973d1 Fixed masterFilter being present. 2025-12-03 00:09:01 +00:00
10a4b33620 Group subjobs by job. 2025-12-03 00:08:43 +00:00
2e8f627c83 Updated object select to use better child handling with API mods. 2025-12-03 00:06:43 +00:00
05d7864da8 A lot of UI fixes updated packages etc. 2025-12-02 18:29:09 +00:00
15a9764762 More small macOS fixes. 2025-11-30 00:17:29 +00:00
5ac11dc59e Small macOS fix. 2025-11-30 00:17:13 +00:00
59632c3060 Set FilamentStockInfo component's disabled prop to true 2025-11-30 00:15:44 +00:00
ba1bba1a24 Add 'unconsumed' state to StateTag component with corresponding success status 2025-11-30 00:15:34 +00:00
d5d0040871 Added scroll box for custom scroll bars. 2025-11-30 00:13:52 +00:00
97f0c816ad Minor tweaks 2025-11-29 01:25:43 +00:00
8198f6a607 Increased border radius 2025-11-29 01:25:33 +00:00
2190da21ba Fixed auth retry 2025-11-29 01:25:24 +00:00
87a6198173 Now uses ApiContext 2025-11-29 01:25:13 +00:00
df85d99aaf Implemented DocumentPrinters and DocumentJobs 2025-11-29 01:24:57 +00:00