128 Commits

Author SHA1 Message Date
aee3370b6d Refactor object form. 2025-08-31 21:29:46 +01:00
4d01a6a04f Overhaul printer control 1. 2025-08-31 21:29:00 +01:00
23b5300a2c Upgrade packages. 2025-08-31 21:27:47 +01:00
5c69fa5fda Added color to object display. 2025-08-31 21:27:37 +01:00
eba1a87664 Refactor EditObjectForm to ObjectForm 2025-08-30 23:42:05 +01:00
be2109505f Fixed filament number data types. 2025-08-30 23:39:27 +01:00
2b092cb846 Removed test action. 2025-08-30 23:39:10 +01:00
c38ed74f21 Fixed auth not removing session token. 2025-08-30 23:39:01 +01:00
71c83f6147 Fixed ws updating. 2025-08-30 23:38:51 +01:00
3f353c1f70 Fixed collapse button not being at bottom. 2025-08-24 10:50:59 +01:00
1a59ad9618 Started work on scroll bars. 2025-08-24 00:08:26 +01:00
a2b8c2f75e Added NSIS windows schema fix. 2025-08-24 00:08:13 +01:00
bbf21a3bb1 Fixed info page height to work better on diferent clients. 2025-08-23 23:45:30 +01:00
c5cd9b42b1 Show Developer menu when running in dev only. 2025-08-23 22:30:33 +01:00
31905d6bb5 Windows control buttons now work when a modal is visible. 2025-08-23 22:13:03 +01:00
5f20f81a2c Using cross-env and fixed login error handling. 2025-08-23 22:04:39 +01:00
894b6af3c8 Removed .git 2025-08-23 21:24:54 +01:00
ea2ec8eba1 Remove rollup/rollup-win32-x64-msvc as a dep. 2025-08-23 21:17:16 +01:00
4fe54182b5 Switched to yarn 2025-08-23 21:16:57 +01:00
339e83c2ae Defaults to DEV. 2025-08-23 21:16:32 +01:00
2dad5afcb7 Windows UI fixes. 2025-08-23 21:09:03 +01:00
8535dbb0df Fixed product name. 2025-08-23 19:33:38 +01:00
b1484bf127 Electron fixes and new menu icon. 2025-08-23 19:20:59 +01:00
7276633f3e Fixed electron dev so it uses a local web server for redirection alongside UI tweaks. 2025-08-23 13:55:02 +01:00
ae494039f7 Moved asset designs and fixed electron launching. 2025-08-23 12:15:48 +01:00
3a9c3b5c1f Moved assets folder out of src 2025-08-23 11:49:09 +01:00
e563a03ad2 SVG minification is now automatic. 2025-08-23 11:42:50 +01:00
caa50709dd Fixed warnings 2025-08-23 11:21:59 +01:00
fbb0dd7b32 Bugfix: Fixed object update and creation ws. 2025-08-23 11:21:37 +01:00
5680b067a8 Fixed warnings and info pages. 2025-08-23 00:53:47 +01:00
bb047651ae Fixed incorrect var 2025-08-22 22:18:50 +01:00
9255f6bbe8 Fixed error due to same values. 2025-08-22 22:17:13 +01:00
5d6fe05227 Fixed warnings and removed logging. 2025-08-22 22:16:09 +01:00
78fcd4293d Fixed warnings 2025-08-22 21:08:47 +01:00
871f260661 Fix initialization check in EditObjectForm to ensure proper state management 2025-08-22 21:07:48 +01:00
bd0c443260 Bugfix: user doesn't persist between session reloads. 2025-08-22 20:42:00 +01:00
8dd423a77e Fixed readme 2025-08-22 20:31:22 +01:00
4c3d37a7d0 Migration to Vite. 2025-08-22 20:28:50 +01:00
e7fe26f2da Object Type is required if present. 2025-08-19 23:59:21 +01:00
296fbe55df Enhance TemplateEditor component with new features and UI improvements
- Added a disabled state to the info button based on global object data.
- Adjusted preview scale increment and decrement values for finer control.
- Introduced a read-only button to display the current preview scale.
- Wrapped the ObjectProperty component in a scrollable div for better visibility in the modal.
- Increased modal width for improved layout and user experience.
2025-08-19 23:58:46 +01:00
97d5bfcee7 Update Filament and Printer models for improved data structure
- Added 'createdAt' to the sorters array in the Filament model for enhanced sorting capabilities.
- Refactored the Printer model to change 'moonraker.host' to 'host' and introduced a new 'host._id' field for better object representation and clarity.
- Updated the 'hostname' field to improve consistency in naming conventions.
2025-08-18 01:05:18 +01:00
ee90e75133 Refactor PrinterInfo component for improved state management and UI consistency
- Updated the PrinterInfo component to utilize React hooks for managing edit form state and actions.
- Replaced the previous job-related collapsible sections with a unified audit logs section for better clarity.
- Enhanced the layout and structure of the component to improve user experience and maintainability.
- Updated imports to ensure consistency with file extensions and component organization.
2025-08-18 01:05:07 +01:00
2eccf6736f Refactor PrinterState import to use StateDisplay component
- Updated imports in LoadFilamentStock and ControlPrinter components to replace PrinterState with StateDisplay for improved consistency in state representation.
- This change aligns with recent refactoring efforts to unify state display components across the application.
2025-08-18 01:04:58 +01:00
963f36194e Add route exports for application structure
- Created a new index.js file to export routes for Production, Inventory, Management, and Developer sections.
- This centralizes route management and enhances modularity within the application.
2025-08-18 01:04:32 +01:00
a18831e67a Add document management section to ManagementSidebar
- Introduced a new 'Documents' section in the ManagementSidebar with sub-items for Document Printers, Document Templates, and Document Sizes.
- Updated existing keys for consistency, changing 'notetypes' to 'noteTypes' and 'auditlogs' to 'auditLogs'.
- Enhanced routeKeyMap to include new document-related paths for improved navigation.
2025-08-18 01:04:23 +01:00
8e823603f7 Enhance PropertyChanges component to support minimal rendering
- Added a 'minimal' prop to ObjectProperty components within PropertyChanges for improved rendering control.
- Updated both old and new object data displays to utilize the new 'minimal' prop, enhancing component flexibility.
2025-08-18 01:03:54 +01:00
11c76a0725 Refactor PrinterJobsTree component to enhance state display
- Replaced JobState and SubJobState components with a unified StateDisplay component for improved consistency in state representation.
- Updated the rendering logic to utilize StateDisplay for both job and sub-job states, enhancing code clarity and maintainability.
2025-08-18 01:03:44 +01:00
9a406bb7df Add ObjectTypeDisplay and ObjectTypeSelect components for enhanced object type management
- Introduced ObjectTypeDisplay component to visually represent object types with optional icons and labels.
- Created ObjectTypeSelect component to allow users to select object types from a dropdown, utilizing ObjectTypeDisplay for rendering options.
- Implemented prop types for both components to ensure proper type checking and documentation clarity.
2025-08-18 01:03:17 +01:00
b4763e01af Refactor ObjectTable component to improve real-time update handling
- Updated subscription methods to use more descriptive names for clarity.
- Simplified the new event handler to always reload data on updates.
- Enhanced code readability by restructuring useEffect dependencies and callback functions.
2025-08-18 01:03:05 +01:00
dcf90469f4 Refactor ObjectSelect component to improve code clarity and maintainability
- Removed unnecessary whitespace to enhance code readability.
- Streamlined data handling logic for better performance and consistency.
- Improved structure of the loadData function for clearer data fetching and processing.
2025-08-18 01:02:48 +01:00