Commit Graph

74 Commits

Author SHA1 Message Date
05a54b7855 feat: implement accordion for historical analysis with real data
- Add expandable rows in historical analysis table
- Implement accordion functionality with chevron icons
- Load real CPU and memory data from API endpoint
- Display current, average, and peak usage with progress bars
- Show recommendations based on historical data
- Improve UX with inline details instead of separate cards
2025-10-02 11:54:07 -03:00
53ea070957 feat: remove sidebar toggle button and ensure data loading
- Remove hamburger menu button from header
- Remove sidebar toggle JavaScript functionality
- Keep data loading functionality intact
- Maintain OpenShift Console visual identity
2025-10-02 11:46:10 -03:00
b2b47c4f1c feat: rebrand application to UWRU Scanner
- Change application name to UWRU Scanner (User Workloads and Resource Usage Scanner)
- Update title, header logo, and all references
- Update FastAPI app metadata and health check
- Update README.md with new branding
- Maintain OpenShift Console visual identity
2025-10-02 11:31:47 -03:00
a7c502d643 feat: implement OpenShift Console-like interface with dark mode
- Complete visual redesign to match OpenShift Console
- Dark mode by default with official OpenShift colors
- Red Hat typography (Red Hat Display, Red Hat Text)
- Sophisticated card-based layout
- OpenShift-style header with logo and navigation
- Professional sidebar with proper navigation structure
- Metrics cards with status indicators
- Enhanced visual effects and animations
- Responsive design for mobile devices
2025-10-02 11:12:17 -03:00
43c618cbc4 fix: add historical analysis endpoints and fix FontAwesome
- Add /api/v1/historical-analysis endpoint for workload list
- Add /api/v1/historical-analysis/{namespace}/{workload} for details
- Fix FontAwesome CDN to use working version
- Update todo list with progress
2025-10-02 10:51:33 -03:00
a2e0a73b14 feat: implement PatternFly 6.3.1 UI revolution
- Replace Bootstrap with PatternFly 6.3.1 components
- Create Workload Scanner as initial screen
- Implement Historical Analysis with breadcrumb navigation
- Add proper PatternFly styling and components
- Maintain all existing functionality with new UI
2025-10-02 10:49:32 -03:00
78c72d6815 UI: reorder elements - show Generate VPA YAML button before OpenShift commands 2025-10-02 10:23:02 -03:00
943fe4fcac Refactor: group smart recommendations by type and remove redundant View Details button 2025-10-02 10:15:51 -03:00
086b42dd6c Improve modal design: remove gradient, fix kubectl to oc, add YAML note 2025-10-02 08:53:52 -03:00
22385af77e Improve modal design: centered dialog with better styling 2025-10-02 08:43:32 -03:00
0db0457f84 Fix: implement missing showModal function 2025-10-02 08:29:15 -03:00
d3c57f6bba Add debug log to updateSmartRecommendations 2025-10-02 08:27:34 -03:00
43ccce80cd Fix: correct section ID for smart recommendations 2025-10-02 08:25:44 -03:00
4eb9b30e36 Fix summary data structure for smart recommendations 2025-10-02 08:23:33 -03:00
4c66565521 Add debug logging for smart recommendations 2025-10-02 08:22:13 -03:00
b10515fe43 Fix JavaScript error in showSection function 2025-10-02 08:18:54 -03:00
e39668e480 Implement Smart Recommendations Engine with dashboard and modals 2025-10-02 08:17:22 -03:00
f6de5a5f30 Add PromQL queries display in historical analysis
- Include PromQL queries in API response for workload metrics
- Display queries in historical analysis modal with copy functionality
- Add professional styling for query display sections
- Enable users to copy and validate queries in OpenShift Console
- Organize queries by category: cluster totals, usage, requests, limits
- Add copy-to-clipboard functionality with visual feedback
2025-10-02 07:34:02 -03:00
0686749aa8 Fix validation field name in namespace analysis
- Change validation.validation_type to validation.rule_name
- API returns rule_name field, not validation_type
- Fix undefined display in namespace analysis modal
- Ensure proper validation type display in detailed view
2025-10-01 16:17:09 -03:00
162af739e4 Fix Namespace Analysis code duplication
- Remove duplicate createNamespaceDetails() function
- Fix validation.rule_name to validation.validation_type
- Keep only showNamespaceDetailsSimple() function
- Eliminate redundant code in namespace analysis modal
- Improve code maintainability and reduce duplication
2025-10-01 16:12:21 -03:00
560fa69a3b Add Resource Utilization explanation modal
- Add info icon next to Resource Utilization metric
- Create showResourceUtilizationDetails() function
- Explain placeholder implementation status
- Show formula and purpose of Resource Utilization
- Indicate Phase 2 implementation plan
- Provide clear next steps for development
2025-10-01 15:58:43 -03:00
0ea86ef22f Fix modal close functionality
- Add proper closeModal() function
- Fix close button (X) click handler
- Fix click outside modal to close
- Remove modal from DOM instead of just hiding
- Improve modal user experience
2025-10-01 15:44:50 -03:00
2bb5266753 Improve overcommit UI with info icons and modals
- Replace tooltips with info icons (ℹ️) next to CPU/Memory Overcommit
- Add modal dialogs showing detailed overcommit calculations
- Change Resource Quota Coverage to Resource Utilization
- Add CSS styling for overcommit details modals
- Improve UX with clickable info icons instead of hover tooltips
- Show capacity, requests, overcommit percentage, and available resources
2025-10-01 15:41:43 -03:00
8984701bf3 Add detailed tooltips for overcommit metrics
- Add tooltips showing capacity, requests, and calculation details
- Include CPU and Memory capacity/requests in API response
- Add CSS styling for tooltip hover effects
- Show detailed breakdown: Capacity Total, Requests Total, and calculation formula
- Improve user experience with transparent overcommit information
2025-10-01 15:33:39 -03:00
b83c55bf08 Fix Cluster Overcommit Summary display
- Add overcommit data processing in /cluster/status endpoint
- Extract CPU/Memory capacity and requests from Prometheus
- Calculate overcommit percentages and resource quota coverage
- Update frontend to use new overcommit data structure
- Fix issue where Cluster Overcommit Summary was showing all zeros
2025-10-01 15:13:04 -03:00
ee20a09147 Fix data unification and efficiency calculations
- Unify Prometheus queries between namespace analysis and historical analysis
- Fix efficiency calculations to prevent division by zero
- Remove duplicate validations in validation service
- Improve frontend data display with clear numerical values
- Add proper error handling for missing data
2025-10-01 14:43:43 -03:00
6ad1997afd Remove simulated data and enable real Prometheus metrics 2025-09-30 21:13:46 -03:00
f3dff8be76 Fix JavaScript error in historical analysis modal - preserve DOM elements when loading metrics 2025-09-30 20:50:25 -03:00
5f3f737b3a Add simulated data fallback for historical analysis when Prometheus is not accessible 2025-09-30 18:06:10 -03:00
2b2b3c23b2 Fix: Historical analysis now shows real consumption numbers and percentages relative to cluster totals 2025-09-30 18:03:17 -03:00
f0d3831263 Feature: Add real Prometheus metrics visualization for historical analysis 2025-09-30 17:41:39 -03:00
1052740f21 Remove: Duplicate functions with alerts that were overriding the modal functionality 2025-09-30 13:49:13 -03:00
bd2af094e6 Fix: Remove alert from analyzeNamespace function and use proper modal 2025-09-30 13:46:16 -03:00
4ce538c35c Replace alerts with proper modals for namespace analysis and fix functionality 2025-09-30 13:44:17 -03:00
3bf0c99fd6 Add: Simple namespace analysis with detailed pod and container information 2025-09-30 13:40:55 -03:00
e2311b6967 Add: Detailed namespace analysis with modal popup showing pod and container details 2025-09-30 13:37:55 -03:00
96c29d4179 Fix: Problem Summary table displaying namespace names and pod counts correctly 2025-09-30 13:34:36 -03:00
af42204897 Fix API endpoint - use correct /api/v1/cluster/status 2025-09-30 12:14:17 -03:00
883c50a104 Simplify dashboard - remove redundancies and create pragmatic interface 2025-09-30 10:45:07 -03:00
fa8f3a41e5 Implement simplified UI/UX with health scores and grouped validations 2025-09-30 09:37:49 -03:00
222761dbda Fix: reorganizada navegação - Historical Analysis movido para o final com divisor 2025-09-29 21:45:36 -03:00
3f9dae993f UI: removido fundo roxo do Cluster Health Overview, deixado mais sóbrio como Resource Consumption 2025-09-29 21:11:54 -03:00
e732d05cd5 Fix: esclarecido que Top Resource Consumers mostra REQUESTS, não consumo real 2025-09-29 21:07:56 -03:00
d0eeeb2d1a Fix: corrigido erro JavaScript que impedia carregamento de dados do dashboard 2025-09-29 21:02:53 -03:00
79548ff3a6 Fix: removida redundância de métricas e adicionadas métricas específicas de saúde do cluster 2025-09-29 20:59:32 -03:00
b4190a9e97 MAJOR: corrigido valores hardcoded e implementado exibição inteligente de unidades (milicores/MiB) 2025-09-29 20:15:56 -03:00
c14a1e2674 Fix: corrigido conversão de capacidade de memória no JavaScript (já vem em GiB da API) 2025-09-29 20:06:01 -03:00
b56a9e6e14 Fix: corrigido QoS distribution no dashboard 2025-09-29 18:12:58 -03:00
379ce69b66 Fix: corrigido JavaScript do dashboard para exibir dados do cluster-health 2025-09-29 18:11:01 -03:00
19686e7866 Fix: adicionado CORS e corrigido endpoint cluster-health 2025-09-29 17:50:20 -03:00