360 Commits

Author SHA1 Message Date
57e90e2b6f Add additional states to StateTag component
- Introduced new states: 'sent', 'acknowledged', 'ordered', 'received', 'invoiced', 'planned', 'partiallyShipped', 'shipped', 'delivered', and 'paid' with corresponding badge statuses and texts.
- Updated badge properties to handle custom colors for non-standard statuses.
2025-12-27 13:51:10 +00:00
50bc816e97 Added edit mode to tables. 2025-12-27 13:50:30 +00:00
38cafdb4a4 Bug fix: re-render tree when type, masterFiter etc changes. 2025-12-27 13:50:17 +00:00
556b16a5dc Add fixedNumber prop to ObjectProperty component for number formatting. 2025-12-27 13:49:26 +00:00
ab56a3abd4 Add navigation after object deletion in ObjectForm component. 2025-12-27 13:49:13 +00:00
100bfb69dc Initialize objectData state with defaultValues and set _isEditing to true in NewObjectForm component 2025-12-27 13:48:55 +00:00
1b6137fe77 Add Acknowledge, Cancel, and Post Purchase Order components
- Introduced AcknowledgePurchaseOrder, CancelPurchaseOrder, and PostPurchaseOrder components for managing purchase order actions.
- Each component includes a confirmation dialog and integrates with the ApiServerContext for handling respective operations.
- Added loading states and success messages for user feedback upon successful actions.
2025-12-27 13:48:42 +00:00
f83069a7fb Add updateMultipleObjects and sendObjectFunction methods to ApiServerContext
- Implemented updateMultipleObjects for batch updates of objects via PUT request.
- Added sendObjectFunction to invoke specific functions on objects with POST requests.
- Enhanced error handling for both methods to retry on failure.
2025-12-27 13:47:45 +00:00
a7cd374375 Refactor StatsDisplay component to use Tag and Badge for visual indicators
- Replaced Alert with Tag for displaying stat colors.
- Updated color mapping function to return Tag colors instead of Alert types.
- Enhanced layout and styling for better visual representation of stats.
- Introduced Badge component for status indication alongside stat labels.
2025-12-27 13:47:19 +00:00
b3c5357064 Enhance color theme in HistoryDisplay and ThemeContext
- Updated color mapping in HistoryDisplay to include new colors: cyan, pink, purple, magenta, and volcano.
- Added corresponding color definitions in ThemeContext for improved theme customization.
2025-12-27 13:46:58 +00:00
0a780b6d85 Add MessageDialogView component for displaying messages. 2025-12-27 13:46:26 +00:00
c03a47a833 Integrate Finance routes and sidebar into the dashboard layout
- Added FinanceRoutes to App component for navigation.
- Included FinanceSidebar in DashboardLayout to support finance-related views.
- Updated layout logic to handle finance-specific paths.
2025-12-27 13:46:06 +00:00
cabc68c932 Add finance dashboard components and routes
- Introduced FinanceOverview, FinanceSidebar, and Invoices components for the finance dashboard.
- Added InvoiceInfo and NewInvoice components for managing invoices.
- Created SVG icons for finance and invoice.
- Updated routing to include finance-related paths.
- Enhanced DashboardBreadcrumb and DashboardNavigation to support finance navigation.
- Defined Invoice model with actions and properties for invoice management.
2025-12-27 13:45:26 +00:00
d7827ecb6d Implemented new message context. 2025-12-14 23:06:42 +00:00
c6088361cd Change port back. 2025-12-14 23:06:27 +00:00
5e7e9510fb Refactored electron code and added spotlight feature. 2025-12-14 22:11:23 +00:00
d86a0a3c09 Added routes json for cloudflare. 2025-12-13 21:58:42 +00:00
dffbb9d8e5 Updated icon. 2025-12-13 21:06:05 +00:00
a4e68b5088 Updated models. 2025-12-13 21:06:01 +00:00
bbadede777 Used computed on object save. 2025-12-13 21:05:47 +00:00
3b3d4e3ff0 Changed production config. 2025-12-13 21:05:35 +00:00
c3b695b76c Updated NetGrossDisplay component to parse net and gross values as floats for accurate numerical representation. 2025-12-13 21:05:20 +00:00
045948dbcc Added wrangler support. 2025-12-13 21:05:03 +00:00
1486790292 Added code splitting for performance. 2025-12-13 21:04:48 +00:00
236f0606fd Added design files 2025-12-09 02:16:29 +00:00
34d919d88e Updated @ant-design/charts dependency from version 2.6.2 to 2.6.5 in package.json and yarn.lock for improved features and bug fixes. 2025-12-09 02:11:52 +00:00
705c517acf Added totalTime field to Job and SubJob models for duration calculation, and updated OrderItem model to include reference field and reorder properties for improved data structure. 2025-12-09 02:11:43 +00:00
c96f223176 Added labelWidth property to PrinterInfo component for improved layout consistency. 2025-12-09 02:10:53 +00:00
bf1b61179f Added labelWidth property to ObjectInfo components in NewJob and NewPrinter for consistent layout adjustments. 2025-12-09 02:10:45 +00:00
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
7f11168b25 Updated App.css to include new styles for picker components and adjusted button width for outlined variant. 2025-12-09 02:09:56 +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