41 Commits

Author SHA1 Message Date
f0cb4b3b83 Add ApiContextDebug component for API server debugging and testing functionality; removed PrintServerContextDebug component. 2025-09-05 23:17:08 +01:00
4d01a6a04f Overhaul printer control 1. 2025-08-31 21:29:00 +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
5f20f81a2c Using cross-env and fixed login error handling. 2025-08-23 22:04:39 +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
e563a03ad2 SVG minification is now automatic. 2025-08-23 11:42:50 +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
5d6fe05227 Fixed warnings and removed logging. 2025-08-22 22:16:09 +01:00
bd0c443260 Bugfix: user doesn't persist between session reloads. 2025-08-22 20:42:00 +01:00
4c3d37a7d0 Migration to Vite. 2025-08-22 20:28:50 +01:00
177b439c48 Enhance AuthContext to manage user profile in session storage
- Added functionality to store and retrieve user profile data from session storage.
- Updated authentication logic to check for user data alongside token and expiration.
- Ensured user profile is cleared upon logout and set to null when authentication fails.
- Improved logging for better debugging of user authentication flow.
2025-08-18 00:59:37 +01:00
a9a2801e27 Refactor ObjectProperty component and introduce StateDisplay
- Removed unused components (PrinterState, SubJobState, JobState, FilamentStockState).
- Added new StateDisplay component for handling state representation.
- Enhanced ObjectProperty to support new properties and rendering logic for code blocks and object types.
- Updated import paths and prop types accordingly for improved clarity and functionality.
2025-08-18 00:58:10 +01:00
93848602bb Refactor ApiServerContext to improve socket event handling and authentication
- Updated socket connection to use 'user' type for authentication.
- Refactored event handling methods for object updates and new objects to use more descriptive names.
- Enhanced subscription methods for object updates and types, ensuring better organization and clarity.
- Introduced new methods for fetching template previews, generating host OTP, and sending object actions.
- Improved logging for better debugging and tracking of socket events.
2025-08-18 00:56:39 +01:00
9fd2b8ffa6 Removed unsed flag library and upgraded libraries. 2025-08-14 19:30:45 +01:00
08311a4a94 Added big fixes allowing dynamic obtaining of the token. 2025-07-20 22:50:40 +01:00
a20235a953 Refactor routing logic in App component to conditionally use HashRouter or BrowserRouter based on the environment. Update AuthContext and related components to replace 'authenticated' with 'token' for improved authentication handling. Enhance NotesPanel and ObjectTable components to manage loading states and data fetching more effectively, ensuring better user experience and error handling. 2025-07-20 20:20:30 +01:00
587ef7f480 Enhance Electron integration by adding ElectronContext for managing window state and external URL handling. Update AuthContext to support Electron-specific login flows and improve session management. Add new icons and adjust App.css for better UI consistency. 2025-07-20 18:29:36 +01:00
8dbd87ff4c Remove debug logging statements from ApiServerContext and AuthContext to clean up the code and improve performance. 2025-07-19 21:35:20 +01:00
0a897e663c Removed unnecessary wrapper elements and improving readability. 2025-07-14 23:04:44 +01:00
3ad0002bbb Moved more common functions into ApiServerContext 2025-07-14 23:04:18 +01:00
9ba65075be New flag display, updated old components to use model system. Implemented some inventory features. 2025-07-12 20:14:40 +01:00
3c2d3ec858 Refactored management components to enhance data handling and UI consistency. Integrated ObjectTable for audit logs across various entities, including Parts, Products, and Users. Updated column visibility management and removed unused imports for cleaner code. Improved error handling in API interactions and streamlined component structures for better maintainability. 2025-07-07 00:30:38 +01:00
fdc862d16c Refactored management components to utilize ObjectTable for consistent data representation and improved functionality. Updated column visibility handling and integrated new model properties for better data management. Removed unused imports and streamlined code for enhanced readability. 2025-07-06 01:51:14 +01:00
fe85250838 Refactored components to replace DashboardTable with ObjectTable for improved consistency and functionality. Updated FilamentStockInfo, PartStocks, StockAudits, and other inventory management components to utilize NotesPanel instead of DashboardNotes. Removed unused DashboardNotes and DashboardTable components to streamline the codebase. 2025-07-04 21:29:27 +01:00
9ccf7faa2f Added dayjs dependency for date manipulation and refactored components to replace IdText with IdDisplay for consistent ID representation. Updated logging to use loglevel for improved debugging and removed console logs for cleaner code. 2025-06-29 22:38:11 +01:00
0634919bb6 Refactored application to replace SocketContext with PrintServerContext for WebSocket communication. Updated related components to utilize print server events for real-time updates. Removed unused SocketContext and NotificationContext files. Updated package dependencies to use loglevel instead of log4js for improved logging capabilities. 2025-06-29 02:28:01 +01:00
c4ba3ae91c Added font styles for typography components, removed unused CSS files, and updated session button text for clarity. Enhanced layout styles for collapsible components and adjusted sidebar dimensions. 2025-06-28 15:06:25 +01:00
f220d81722 Enhanced UI with new view modes for inventory components, added audit log displays, and improved loading states. Updated configuration for production URLs and removed unused components. Refactored styles for better consistency. 2025-06-28 00:17:58 +01:00
bd5085cded Updated dependencies, improved UI elements, and refactored components for better performance. Added new features including audit logs and enhanced loading states. Removed unused print jobs component. 2025-06-08 18:31:06 +01:00
9a9b2a8326 Added more icons and fixed some ui elements. 2025-06-02 02:01:02 +01:00
da07c882a5 Added system theming and fixed particles background to match theme. 2025-06-01 23:45:50 +01:00
60f62df55a Added better app loading and error handling 2025-06-01 23:32:02 +01:00
2ccf770525 Added more icons, ui tweaks etc. 2025-06-01 22:24:00 +01:00
792d2e1c1c Added config file 2025-06-01 00:18:15 +01:00
e56a563e98 Added filament stock functionality and improves some performance 2025-05-19 00:28:00 +01:00
47ce2dfe8e Added more functionality. 2025-05-09 22:23:51 +01:00
f3129f7fa3 Added more functionality 2025-05-09 22:16:13 +01:00
9fc1f7c8f7 Initial Commit 2024-07-28 17:54:38 +01:00