Commit Graph
5 Commits
Author SHA1 Message Date
angryzeroandCopilot 7847f6e6ae fix: NVD3 1.8.1 API compat, null guards, missing brace
- Removed useInteractiveGuideline (not in NVD3 1.8.1 on CDN)
- Added null guards in updateData + updateCharts for navigation-away
- Fixed missing closing brace in updateCharts if block

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 18:02:14 +02:00
angryzeroandCopilot 1bfca0d1e0 fix: add loading indicators to all pages
- 'Loading…' shown in charts/fields/output areas while waiting for server response
- Console + chat: clears loading state on first output line
- Player list: table body shows loading row until refresh completes
- Player info / Server info: fields show loading until data arrives

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 18:00:31 +02:00
angryzeroandCopilot 19c5247c90 fix: router add() signature, setActivePage typo, connect race condition
- Router.add() now takes 3 params (pattern, title, onEnter) matching app.js usage
- Fixed setActiveSidebar → setActivePage in all route callbacks
- Removed premature hash-setting from connect.js — app.js now sole navigator
  (was firing router into a hidden container before showConnected ran)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 17:57:48 +02:00
angryzeroandCopilot c5679feb82 fix: navbar single-line, chart sizing, text visibility
- Removed hamburger menu — all stats inline on one navbar row
- Disconnect button at top-right (ms-auto)
- Added data-bs-theme=dark for proper BS5 dark mode text inheritance
- Restored explicit width/height on chart SVGs (required by NVD3)
- Changed text-muted → text-white-50 for field labels on dark bg
- Added flex-nowrap to navbar container
- Overrode --bs-body-bg to maintain original dark shade

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 17:56:05 +02:00
angryzeroandCopilot 0a178d17b9 feat: full de-Angularization with Bootstrap 5 migration
- Removed AngularJS 1.4.8 completely — no more framework dependency
- Extracted core RCON logic into pure vanilla JS (js/rcon.js)
- Added lightweight hash-based SPA router (js/router.js)
- Rewrote all 6 pages as vanilla JS modules in js/pages/
- Migrated Bootstrap 3 → Bootstrap 5 (cards instead of panels, bootstrap-icons instead of glyphicons)
- Removed jQuery dependency (Bootstrap 5 is vanilla JS)
- Purged all Angular templates from html/
- Removed npm artifacts (package.json, node_modules)
- Added nginx.example.conf for static hosting
- Updated rcon.css dark theme for BS5 variables
- Static file only — no Node.js backend required

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-13 17:51:50 +02:00