Commit Graph

504 Commits (feb2ab11f9366bdd4b3af179bc3ce1f1f5336ad1)

Author SHA1 Message Date
Tudor Stanciu feb2ab11f9 Implement useGuardedMutation hook for enhanced error handling in MachineContainer and update related components 2024-11-16 14:11:32 +02:00
Tudor Stanciu 181c565b3c Remove debugger statements and streamline error handling in MachineContainer 2024-11-16 04:16:10 +02:00
Tudor Stanciu 82a4750c76 Refactor SWR mutation handling: replace Error with NetworkError for improved error management and add error handling in fetchers 2024-11-16 04:05:16 +02:00
Tudor Stanciu 8f9c03f400 Remove commented-out deleteFetcher function from fetchers.ts to clean up code 2024-11-16 02:47:51 +02:00
Tudor Stanciu a664a4ade9 Bump version to 1.3.1 and update release notes with SWR integration and progress bar implementation 2024-11-16 02:36:15 +02:00
Tudor Stanciu 52af1ef10b Refactor axios.js: remove unused axios utility functions to streamline codebase 2024-11-16 02:17:49 +02:00
Tudor Stanciu 49ac48e1f8 Refactor api.js: migrate from JavaScript to TypeScript, enhancing type safety and maintainability 2024-11-16 02:14:30 +02:00
Tudor Stanciu 0a3e402013 Refactor WakeComponent: enable periodic ping retriggering by uncommenting setTimeout logic 2024-11-16 02:13:12 +02:00
Tudor Stanciu 174f383968 Refactor api.js: rename powerActionsRoute to resurrectorRoute for clarity in API endpoint usage 2024-11-16 02:12:47 +02:00
Tudor Stanciu ad27fa477d Refactor api.js: simplify error handling, remove unused functions, and rename routes to endpoints 2024-11-16 02:12:21 +02:00
Tudor Stanciu 04e80a0ac0 Refactor WakeComponent: integrate useSWRMutation for waking machines, update API endpoint usage, and enhance type definitions 2024-11-16 02:11:09 +02:00
Tudor Stanciu 618bfb38e1 Refactor WakeComponent: update ping interval and starting time handling, streamline ping logic, and improve dependency management 2024-11-16 02:03:47 +02:00
Tudor Stanciu 09e447f4b3 Refactor MachineContainer and WakeComponent: implement usePingTrigger for pinging machines, update action result types, and clean up API calls 2024-11-16 01:52:47 +02:00
Tudor Stanciu 7234b857a6 Refactor MachineContainer: convert to TypeScript, implement SWR for data fetching, and update action handling 2024-11-16 01:29:18 +02:00
Tudor Stanciu 253ee1953c Refactor WakeComponent: convert to TypeScript, update API routes, and enhance logging functionality 2024-11-11 02:13:03 +02:00
Tudor Stanciu 8148da132d Refactor MachinesContainer: convert to TypeScript, implement SWR for data fetching, and update API routes 2024-11-11 02:04:02 +02:00
Tudor Stanciu 338aa17fe8 Refactor SWR imports: consolidate fetcher and mutationFetcher into units/swr, update component imports accordingly 2024-11-11 01:54:01 +02:00
Tudor Stanciu 0468af03be Refactor UserPermissionsProvider to TypeScript, remove unused permissions API routes, and enhance cache reset functionality 2024-11-11 01:48:15 +02:00
Tudor Stanciu ca388cb639 Refactor cache reset functionality: replace old CacheSettingsContainer with TypeScript version, update SystemController to handle reset cache, and enhance SWR mutation fetcher. 2024-11-11 01:29:07 +02:00
Tudor Stanciu 8af7b64a60 Add version display to TimelineComponent in release notes 2024-11-10 23:25:14 +02:00
Tudor Stanciu 19415f312a Refactor ReleaseNotesContainer to TypeScript, implement SWR for data fetching, and update release note structure 2024-11-10 23:21:37 +02:00
Tudor Stanciu 9389058b1f Refactor SystemVersionComponent to update styling and add dtos to types 2024-11-10 02:27:30 +02:00
Tudor Stanciu 5f234938b8 Refactor SystemVersionComponent to remove unused imports and update styling 2024-11-10 02:19:57 +02:00
Tudor Stanciu 97b22c7047 Refactor SystemVersionComponent and add dtos to types 2024-11-10 02:16:25 +02:00
Tudor Stanciu 74a176b9aa Refactor SystemVersionContainer and add dtos to types 2024-11-10 02:05:32 +02:00
Tudor Stanciu c5ba810605 blip toast proxy 2024-11-10 01:52:39 +02:00
Tudor Stanciu f8d0d7c486 Refactor handleOpenInNewTab function in AboutSystemContainer.js 2024-11-10 01:12:01 +02:00
Tudor Stanciu 1ba19eb96c Refactor handleOpenInNewTab function in AboutSystemContainer.js 2024-11-10 01:11:02 +02:00
Tudor Stanciu 0a3257dca3 move themes in units 2024-08-16 00:58:40 +03:00
Tudor Stanciu b1fa0e1c6a refactor: Update progress bar component and provider 2024-08-16 00:52:54 +03:00
Tudor Stanciu 8a95bd9886 dockerfile fix 2024-07-14 03:06:01 +03:00
Tudor Stanciu 958fa44344 Upgrade Node.js version in frontend Dockerfile 2024-07-14 02:55:05 +03:00
Tudor Stanciu e80d246fc0 Merged PR 83: Frontend Upgrades - The frontend has been upgraded to leverage TypeScript, React 18, and Material UI 5, enhancing code quality, UI consistency, and leveraging the latest features of these technologies.
• Frontend Upgrades - The frontend has been upgraded to leverage TypeScript, React 18, and Material UI 5, enhancing code quality, UI consistency, and leveraging the latest features of these technologies.
      • Build process overhaul - I've switched from react-scripts to react-app-rewired. This gives me more control to tweak the webpack configuration as I need. Plus, it's now set up to handle CommonJS (CJS) modules.
      • TypeScript refactoring - Several components have been rewritten in TypeScript, improving type safety and predictability in our codebase.
2024-07-13 18:49:29 +00:00
Tudor Stanciu 6d451162b1 theme enhancements 2024-07-13 21:06:42 +03:00
Tudor Stanciu e3af87cd88 refactor: Update theme configuration and remove unused code 2024-07-13 20:32:04 +03:00
Tudor Stanciu 4235323c4a refactor: Improve padding in ActionButton and WakeComponent 2024-07-13 19:54:22 +03:00
Tudor Stanciu b695cd6014 refactor: Update ActionsGroup component to improve readability and maintainability 2024-07-13 18:38:26 +03:00
Tudor Stanciu e2f724dd97 . 2024-06-03 11:59:38 +03:00
Tudor Stanciu b34f8cf888 package lock 2024-06-03 11:37:49 +03:00
Tudor Stanciu c6a3290891 Theme fix 2024-04-01 01:14:21 +03:00
Tudor Stanciu 6798057b2d Fix media query in profile styles 2024-04-01 01:01:57 +03:00
Tudor Stanciu 7685a7595d LanguageComponent fix 2024-04-01 00:58:11 +03:00
Tudor Stanciu 038b97ff84 Remove outdated notes on REACT v4 and theming 2024-04-01 00:33:18 +03:00
Tudor Stanciu 76b2bf64f3 Update TimelineComponent and CacheSettingsComponent 2024-04-01 00:30:18 +03:00
Tudor Stanciu 5f2f701611 Bump version to 1.3.0 and updated release notes 2024-03-31 23:38:21 +03:00
Tudor Stanciu 8f4c0bb2fa Fix useState hook placement in SystemVersionComponent.js 2024-03-31 23:24:05 +03:00
Tudor Stanciu 56d80a9dd1 Update MachineTableRow component styles 2024-03-31 23:19:24 +03:00
Tudor Stanciu f25f0d5438 MachineAccordion component upgrade 2024-03-31 22:57:58 +03:00
Tudor Stanciu 367db653f1 Refactor useEffect in WakeComponent.js 2024-03-31 22:07:02 +03:00
Tudor Stanciu 2265676c81 Update fetchTuitioData import in axios.js 2024-03-31 21:18:21 +03:00