rcourtman
|
6eb1a10d9b
|
Refactor: Code cleanup and localStorage consolidation
This commit includes comprehensive codebase cleanup and refactoring:
## Code Cleanup
- Remove dead TypeScript code (types/monitoring.ts - 194 lines duplicate)
- Remove unused Go functions (GetClusterNodes, MigratePassword, GetClusterHealthInfo)
- Clean up commented-out code blocks across multiple files
- Remove unused TypeScript exports (helpTextClass, private tag color helpers)
- Delete obsolete test files and components
## localStorage Consolidation
- Centralize all storage keys into STORAGE_KEYS constant
- Update 5 files to use centralized keys:
* utils/apiClient.ts (AUTH, LEGACY_TOKEN)
* components/Dashboard/Dashboard.tsx (GUEST_METADATA)
* components/Docker/DockerHosts.tsx (DOCKER_METADATA)
* App.tsx (PLATFORMS_SEEN)
* stores/updates.ts (UPDATES)
- Benefits: Single source of truth, prevents typos, better maintainability
## Previous Work Committed
- Docker monitoring improvements and disk metrics
- Security enhancements and setup fixes
- API refactoring and cleanup
- Documentation updates
- Build system improvements
## Testing
- All frontend tests pass (29 tests)
- All Go tests pass (15 packages)
- Production build successful
- Zero breaking changes
Total: 186 files changed, 5825 insertions(+), 11602 deletions(-)
|
2025-11-04 21:50:46 +00:00 |
|
rcourtman
|
a885fb5472
|
Surface LXC interface IPs via PVE interfaces API (#596)
|
2025-10-23 08:07:32 +00:00 |
|
rcourtman
|
b95c01066e
|
Capture dynamic LXC IP metrics (#596)
|
2025-10-23 07:50:45 +00:00 |
|
rcourtman
|
be85459db2
|
Add LXC config metadata for guest drawers (#596)
|
2025-10-23 07:30:32 +00:00 |
|
rcourtman
|
aac3dacd63
|
Improve LXC guest metrics visibility (#596)
|
2025-10-22 22:24:33 +00:00 |
|
rcourtman
|
c9543e8a7e
|
Add qemu guest agent version metadata
|
2025-10-22 15:24:07 +00:00 |
|
rcourtman
|
13e2577c57
|
Handle FreeBSD guest agent disk counters
Refs #580
|
2025-10-22 14:06:45 +00:00 |
|
rcourtman
|
32421b36b8
|
Refs #533: add total-minus-used memory fallback
|
2025-10-15 18:19:54 +00:00 |
|
rcourtman
|
7e5fa9a147
|
fix: restore cache-aware node memory on PVE 8.4
|
2025-10-14 16:40:45 +00:00 |
|
rcourtman
|
2163d6f5a8
|
Use guest meminfo available for VM memory usage
|
2025-10-12 11:03:56 +00:00 |
|
rcourtman
|
f46ff1792b
|
Fix settings security tab navigation
|
2025-10-11 23:29:47 +00:00 |
|