Skip to content

fix(utilization): harden chart ux and request state

38e6808
Select commit
Loading
Failed to load commit list.
Open

Rithika taking over for Aditya-feat: Add Smart Insights and Predictive Utilization Analysis to the Utilization Chart #5073

fix(utilization): harden chart ux and request state
38e6808
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 27, 2026 in 54s

Annotations

Check warning on line 19 in src/components/BMDashboard/UtilizationChart/ExportReportButton.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'endDate.toISOString' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhElpSFCu4-_V8A&open=AZ0tlwhElpSFCu4-_V8A&pullRequest=5073

Check warning on line 10 in src/components/BMDashboard/UtilizationChart/RecommendationPanel.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'recommendations.length' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwgOlpSFCu4-_V7w&open=AZ0tlwgOlpSFCu4-_V7w&pullRequest=5073

Check warning on line 8 in src/components/BMDashboard/UtilizationChart/ExportReportButton.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'startDate' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhElpSFCu4-_V79&open=AZ0tlwhElpSFCu4-_V79&pullRequest=5073

Check warning on line 9 in src/components/BMDashboard/UtilizationChart/InsightsSummaryBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'summary.totalToolTypes' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwg3lpSFCu4-_V71&open=AZ0tlwg3lpSFCu4-_V71&pullRequest=5073

Check warning on line 7 in src/components/BMDashboard/UtilizationChart/ForecastModeToggle.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'onChange' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwZblpSFCu4-_V7u&open=AZ0tlwZblpSFCu4-_V7u&pullRequest=5073

Check warning on line 8 in src/components/BMDashboard/UtilizationChart/ExportReportButton.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'project' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhElpSFCu4-_V78&open=AZ0tlwhElpSFCu4-_V78&pullRequest=5073

Check warning on line 38 in src/components/BMDashboard/UtilizationChart/ExportReportButton.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhElpSFCu4-_V8C&open=AZ0tlwhElpSFCu4-_V8C&pullRequest=5073

Check warning on line 4 in src/components/BMDashboard/UtilizationChart/MaintenanceAlertPanel.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'alerts' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwg9lpSFCu4-_V76&open=AZ0tlwg9lpSFCu4-_V76&pullRequest=5073

Check warning on line 3 in src/components/BMDashboard/UtilizationChart/ResourceBalancingPanel.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'suggestions' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhLlpSFCu4-_V8D&open=AZ0tlwhLlpSFCu4-_V8D&pullRequest=5073

Check warning on line 7 in src/components/BMDashboard/UtilizationChart/ForecastModeToggle.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'value' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwZblpSFCu4-_V7t&open=AZ0tlwZblpSFCu4-_V7t&pullRequest=5073

Check warning on line 14 in src/components/BMDashboard/UtilizationChart/ResourceBalancingPanel.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhLlpSFCu4-_V8G&open=AZ0tlwhLlpSFCu4-_V8G&pullRequest=5073

Check warning on line 9 in src/components/BMDashboard/UtilizationChart/ResourceBalancingPanel.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'suggestions.length' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhLlpSFCu4-_V8E&open=AZ0tlwhLlpSFCu4-_V8E&pullRequest=5073

Check warning on line 8 in src/components/BMDashboard/UtilizationChart/ExportReportButton.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'tool' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhElpSFCu4-_V77&open=AZ0tlwhElpSFCu4-_V77&pullRequest=5073

Check warning on line 13 in src/components/BMDashboard/UtilizationChart/InsightsSummaryBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'summary.averageUtilization' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwg3lpSFCu4-_V72&open=AZ0tlwg3lpSFCu4-_V72&pullRequest=5073

Check warning on line 13 in src/components/BMDashboard/UtilizationChart/ResourceBalancingPanel.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'suggestions.map' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhLlpSFCu4-_V8F&open=AZ0tlwhLlpSFCu4-_V8F&pullRequest=5073

Check warning on line 121 in src/components/BMDashboard/UtilizationChart/UtilizationChart.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unexpected negated condition.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwgwlpSFCu4-_V7y&open=AZ0tlwgwlpSFCu4-_V7y&pullRequest=5073

Check warning on line 21 in src/components/BMDashboard/UtilizationChart/InsightsSummaryBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'summary.underUtilized' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwg3lpSFCu4-_V74&open=AZ0tlwg3lpSFCu4-_V74&pullRequest=5073

Check warning on line 25 in src/components/BMDashboard/UtilizationChart/InsightsSummaryBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'summary.overUtilized' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwg3lpSFCu4-_V75&open=AZ0tlwg3lpSFCu4-_V75&pullRequest=5073

Check warning on line 7 in src/components/BMDashboard/UtilizationChart/InsightsSummaryBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <section aria-label=...>, or <section aria-labelledby=...> instead of the "region" role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwg3lpSFCu4-_V70&open=AZ0tlwg3lpSFCu4-_V70&pullRequest=5073

Check warning on line 3 in src/components/BMDashboard/UtilizationChart/InsightsSummaryBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'summary' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwg3lpSFCu4-_V7z&open=AZ0tlwg3lpSFCu4-_V7z&pullRequest=5073

Check warning on line 4 in src/components/BMDashboard/UtilizationChart/RecommendationPanel.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'recommendations' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwgOlpSFCu4-_V7v&open=AZ0tlwgOlpSFCu4-_V7v&pullRequest=5073

Check warning on line 17 in src/components/BMDashboard/UtilizationChart/InsightsSummaryBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'summary.normal' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwg3lpSFCu4-_V73&open=AZ0tlwg3lpSFCu4-_V73&pullRequest=5073

Check warning on line 8 in src/components/BMDashboard/UtilizationChart/ExportReportButton.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'endDate' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhElpSFCu4-_V7-&open=AZ0tlwhElpSFCu4-_V7-&pullRequest=5073

Check warning on line 31 in src/components/BMDashboard/UtilizationChart/ExportReportButton.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwhElpSFCu4-_V8B&open=AZ0tlwhElpSFCu4-_V8B&pullRequest=5073

Check warning on line 14 in src/components/BMDashboard/UtilizationChart/RecommendationPanel.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'recommendations.map' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=OneCommunityGlobal_HighestGoodNetworkApp&issues=AZ0tlwgOlpSFCu4-_V7x&open=AZ0tlwgOlpSFCu4-_V7x&pullRequest=5073