DOS App - v0.0.3-alpha Patch Notes
Summary
This update brings new monitoring features, admin support, code organization improvements, and shared utilities for better maintainability.
Changes
CPU / Memory Monitor
I added a RAM monitor right next to the CPU one on the main page. It shows your memory usage in real-time with a nice smooth graph, tells you the current percentage, and how much RAM you have total. Both update every second so you get live info. Oh, and I tweaked the colors - cyan background with purple lines by default, and when you hover, it flips to purple background with cyan lines. Looks pretty cool!
Status Board Integration
I put together a Status Board on the Overview page, just below the System monitor. It keeps an eye on your admin privileges and the Windows Install Helper progress in real-time. Green means everything's good and online, red means offline or inactive. Hover over them for tooltips that explain what each one does.
Administrator Elevation Support
Now you can run the dev server with admin rights using 'npm run dev:adm'. This is handy for testing stuff that needs elevated permissions, like checking if you're an admin or poking around Windows update info.
CSS Modularization
I broke down the big App.css file into 13 smaller, focused files: variables.css, layout.css, content.css, buttons.css, badges.css, toasts.css, toggles.css, utilities.css, status-board.css, tooltip.css, steps.css, monitors.css, and updates.css. Makes everything way easier to manage and edit without messing up other parts.
Shared Utilities Refactoring
I cleaned up some repeated code by moving common helpers into one shared spot. Took the 'withBase' function from sidebar.js and the '$' and '$all' DOM helpers from win-install-helper.js, and put them all in domUtils.js. Updated the pages to use this shared module, so everything works the same but without the duplication.