Commit Graph

140 Commits

Author SHA1 Message Date
c40911d484 Fix: corrigida discrepância de contagem e severidade entre resumo global e detalhamento 2025-10-16 20:45:57 -03:00
e1bad8eec1 Fix: Adicionar cores de severidade para Other Issues 2025-10-16 17:06:01 -03:00
8f84830447 Fix: Corrigir loading infinito no namespace resource-governance 2025-10-16 15:57:54 -03:00
38bde1ac53 Fix: Corrigir lógica de cores baseada em severidade e mostrar todas as issues 2025-10-16 15:18:10 -03:00
96e0feb6b2 feat: improve recommendation badges - use subtle left border instead of aggressive solid background 2025-10-16 15:04:55 -03:00
636feb5b2a feat: implement phase 2 - reorganize accordion layout with pod cards, specific recommendations and action buttons 2025-10-16 14:57:19 -03:00
48f97ed24c feat: improve loading feedback UX with enhanced spinner, progress bar and contextual messages 2025-10-16 14:45:33 -03:00
1518bb9f2c feat: implement cache system and refresh button to avoid unnecessary cluster re-analysis 2025-10-16 09:30:34 -03:00
0243062889 fix: improve chart readability with larger fonts, rotated labels, and horizontal bar chart for namespace distribution 2025-10-15 22:34:37 -03:00
9faa4516f2 fix: revert to working API endpoints while fixing batch processing configuration 2025-10-15 16:42:37 -03:00
cea7e2c0cd feat: integrate batch processing into UI with intelligent progress tracking and batch statistics 2025-10-15 16:30:19 -03:00
4c6ce49526 fix: increase page_size to load all validations and show resource-governance namespace issues 2025-10-06 16:36:21 -03:00
b4249d9b79 fix: completely disable showError for metrics-grid to prevent error alerts 2025-10-06 15:54:53 -03:00
2ffcb9059e fix: remove showError calls that were hiding the 4 first metric cards 2025-10-06 15:52:18 -03:00
817478f4f9 fix: prevent showError from removing the 4 first metric cards 2025-10-06 15:48:33 -03:00
16a0429cc6 remove: eliminate all mock data and placeholder comments 2025-10-06 15:33:39 -03:00
ae5f261818 fix: add null check for loading-progress element to prevent JavaScript errors 2025-10-06 15:15:08 -03:00
6f8ffe1e49 feat: implement Phase 2 - Sequential Pipeline with Celery Workers 2025-10-06 10:44:43 -03:00
6111579b24 Debug: add logging to updateMetricsCards function 2025-10-06 10:17:56 -03:00
170e1b641e Implement smart loading system with intelligent timeout and graceful error handling 2025-10-06 10:04:56 -03:00
b2da86bfc7 Center the progress bar in loading modal 2025-10-06 10:01:55 -03:00
e21c69a503 Increase API timeout to 50s and loading timeout to 60s for large clusters 2025-10-06 09:59:11 -03:00
49779c7053 Add timeout handling for API requests to prevent infinite loading 2025-10-06 09:56:52 -03:00
56a13424ba Implement fullscreen loading modal with blur background 2025-10-06 09:53:18 -03:00
19926a37d8 Add loading states and UX improvements for dashboard charts 2025-10-06 09:48:55 -03:00
8d92d19433 Fix: Dashboard charts now use real cluster data instead of mock data 2025-10-06 09:35:08 -03:00
7e1d26174b Restore original Victory.js pie chart with real data
- Revert to Victory.VictoryPie component (original format)
- Keep real data from /api/v1/namespace-distribution
- Maintain hover effects and summary statistics
- Fix chart rendering while preserving data accuracy
2025-10-04 11:54:54 -03:00
f9a071e338 Fix dashboard charts to use real data instead of mock data
- Replace Victory pie chart with HTML-based visualization for namespace distribution
- Update resource utilization trend to use real cluster metrics
- Update issues timeline to use real validation data
- Add proper error handling and empty states
- Remove all mock/sample data from charts
2025-10-04 11:51:20 -03:00
eddc492d0e Add real namespace distribution data for dashboard chart
- Create new API endpoint /api/v1/namespace-distribution
- Replace mock data with real cluster data
- Add CPU and memory parsing functions
- Update frontend to use real data with enhanced chart
- Add hover effects and summary statistics
2025-10-04 11:43:22 -03:00
34f4993510 Add S2I support and cleanup unused files
- Add complete Source-to-Image (S2I) deployment support
- Create .s2i/ directory with assemble/run scripts and environment config
- Add openshift-s2i.yaml template for S2I deployment
- Add scripts/deploy-s2i.sh for automated S2I deployment
- Add README-S2I.md with comprehensive S2I documentation
- Update README.md and AIAgents-Support.md with S2I information
- Clean up unused files: Dockerfile.simple, HTML backups, daemonset files
- Remove unused Makefile and openshift-git-deploy.yaml
- Update kustomization.yaml to use deployment instead of daemonset
- Update undeploy-complete.sh to remove deployment instead of daemonset
- Maintain clean and organized codebase structure
2025-10-04 08:38:55 -03:00
221b68be49 Add comprehensive dashboard charts section
- Implement 5 new charts using Victory.js and PatternFly styling:
  1. Resource Utilization Trend (24h) - Line chart showing CPU/Memory over time
  2. Namespace Resource Distribution - Pie chart showing resource allocation
  3. Issues by Severity Timeline - Stacked area chart for Critical/Warnings
  4. Top 5 Workloads by Resource Usage - Horizontal bar chart
  5. Overcommit Status by Namespace - Grouped bar chart for CPU/Memory

- Add responsive chart cards with PatternFly styling
- Include chart legends and proper color schemes
- Load charts automatically when dashboard loads
- Use real data from APIs where available, simulated data for demos
- All charts follow OpenShift console design patterns
2025-10-03 20:54:43 -03:00
692d647abd Fix: remove Actions column from Historical Analysis table and increase chart padding to prevent label cutoff 2025-10-03 18:26:42 -03:00
cca51841bf Clean up: remove unnecessary header icons, keep only help and user menu 2025-10-03 17:26:33 -03:00
4d431959a2 Rename: change Scanner to Analyzer in application titles and documentation 2025-10-03 16:39:58 -03:00
efa487424d Fix: use correct API endpoint for namespace validations 2025-10-03 15:51:46 -03:00
ff2bafe621 Refactor: convert Requests & Limits to accordion interface with pre-loaded data 2025-10-03 15:48:26 -03:00
8e1d80addd Fix: use UTC timezone for chart time labels to match Prometheus data 2025-10-03 13:05:18 -03:00
6ae9cbcef6 Fix: increase tickCount to 12 for better X-axis tick distribution in Victory.js charts 2025-10-03 10:30:45 -03:00
f49de1c6a3 Fix: add tickCount to Victory.js charts for better X-axis tick distribution 2025-10-03 10:28:11 -03:00
3087bcaecb Fix: add domainPadding to Victory.js charts for better data point rendering 2025-10-03 10:23:20 -03:00
958e76f513 Fix: correct dropdown order and add day format for 7d/30d charts 2025-10-03 09:57:19 -03:00
eb2c0c23b5 Fix: improve chart dimensions and aspect ratio to prevent squeezed appearance 2025-10-03 09:38:17 -03:00
5c812acef1 Fix: make chart titles dynamic based on selected time range filter 2025-10-03 09:34:20 -03:00
9ce6a0fb88 Fix: format X-axis timestamps to readable time format in Victory.js charts 2025-10-03 09:29:34 -03:00
37a6681cd6 Fix: adjust Victory.js charts to fill container width and height properly 2025-10-03 09:25:02 -03:00
a2a5acf861 Migrate charts from Chart.js to Victory.js for PatternFly consistency 2025-10-03 09:14:36 -03:00
7744ea9889 improve: remove redundant Load Details button and auto-load accordion data
- Remove Load Details button from workload table
- Replace with simple 'Click to expand' text
- Auto-load data when accordion is expanded
- Simplify user experience by removing redundant action
- Data loads automatically on accordion toggle
2025-10-03 09:00:01 -03:00
ff932a56f0 fix: update loadWorkloadDetails to use PatternFly dropdown
- Fix timeRange selection in loadWorkloadDetails function
- Replace timeRangeSelect with timeRangeText from PatternFly dropdown
- Add proper time range mapping for 1h, 6h, 24h, 7d, 30d
- Fix Historical Analysis workload details loading with different time ranges
2025-10-03 08:56:45 -03:00
a67c244070 fix: remove duplicate loadWorkloadDetails function
- Remove duplicate loadWorkloadDetails function that was causing accordion loading issues
- Keep only the version with index parameter for accordion functionality
- Fix Historical Analysis workload details loading in accordions
2025-10-03 08:42:18 -03:00
28a3cbbae3 fix: resolve Historical Analysis loading and implement PatternFly dropdown
- Fix Historical Analysis loading issue by updating loadHistoricalAnalysis function
- Replace native HTML select with PatternFly dropdown for time range selector
- Add PatternFly-compliant CSS styling for dropdown component
- Implement proper dropdown functionality with toggle, selection, and outside click
- Add accessibility features with ARIA attributes
- Integrate dropdown with existing API calls
- Improve user experience with consistent PatternFly design
2025-10-03 08:35:42 -03:00