Introduced a new Livewire component for statistics redirection and added a corresponding route to enhance navigation within the Proxmox extension. This update lays the groundwork for future statistics-related features.
2.1 KiB
2.1 KiB
Active Context
- Recent focus areas:
- Proxmox Statistics UI removed: The dedicated Statistics Livewire page,
statistics.blade.php, allpartials/statistics/*, routeproxmox.server.statistics, layout tab, preload fetch, and Help “Statistics Tab” section were removed.ServerStatisticsmodel, migrations, and hourlyPollServerStatisticsremain for Overview/Server and other consumers. Deploy target used:10.0.254.100(/var/www/paymenter) withgit reset --hard origin/main,composer dump-autoload -o,view:clear,cache:clear,optimize,php8.3-fpmrestart. - Proxmox Firewall Logs: Added search padding, multi-select filters, raw CSS styling, modal-based state views, and cross-links where Network Analysis existed (Statistics tab removed; verify any firewall → network deep-links still point at valid UI). Alpine state handles pagination, filtering, and log detail modals. Fixed filter persistence using Alpine.$persist so policy/protocol selections survive Livewire refreshes.
- Proxmox Overview Modals: Fixed duplicate
@keydown.escape.windowhandlers that were causing escape key events to fire twice. Removed escape handlers from modal container divs, keeping only on backdrop divs to eliminate redundancy. Also re-enabled the previously disabled Hostname Edit Modal. - Network Analysis (legacy): Was part of the removed Statistics surface; if similar behavior is reintroduced elsewhere, reuse
data-*/ query-param patterns from git history. - NavbarManager: Fixed parse errors, Filament compatibility, remediated navigation injection w/ schema guards, normalized icon entry to accept any Remix icon, and ensured migrations auto-run when tables missing.
- Announcements & Documentation: Removed automatic navigation tabs when no active data (or at user request) to declutter primary nav.
- Proxmox Statistics UI removed: The dedicated Statistics Livewire page,
- Pending considerations:
- Ensure other extensions that inject navigation guard against missing tables/data to prevent 500s.
- Keep knowledge base/announcement widgets in sync with navigation removals (verify there are alternate access points if needed).