12 Commits

Author SHA1 Message Date
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
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
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