Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADM-999 [frontend]: fix frontend error when get data error in the metrics page #1606

Merged
merged 5 commits into from
Sep 13, 2024

ADM-999 [frontend]: fix test

83cb0be
Select commit
Loading
Failed to load commit list.
Merged

ADM-999 [frontend]: fix frontend error when get data error in the metrics page #1606

ADM-999 [frontend]: fix test
83cb0be
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis succeeded Sep 13, 2024 in 0s

Your pull request is up to standards!

Codacy Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- frontend/src/hooks/useGetSourceControlConfigurationCrewEffect.tsx  1
- frontend/src/hooks/useGetSourceControlConfigurationBranchEffect.tsx  1
- frontend/src/hooks/useGetSourceControlConfigurationRepoEffect.tsx  1
- frontend/__tests__/client/SourceControlClient.test.ts  1
         

Complexity decreasing per file
==============================
+ frontend/src/containers/MetricsStep/SouceControlConfiguration/SourceControlMetricSelection/index.tsx  -1
         

Clones added
============
- frontend/__tests__/hooks/useGetSourceControlConfigurationRepoEffect.test.tsx  4
- frontend/__tests__/hooks/useGetSourceControlConfigurationCrewEffect.test.tsx  6
- frontend/__tests__/containers/MetricsStep/SourceControlConfiguration/SourceControlConfiguration.test.tsx  3
         

Clones removed
==============
+ frontend/__tests__/hooks/useGetSourceControlConfigurationBranchEffect.test.tsx  -4
+ frontend/__tests__/containers/MetricsStep/SourceControlConfiguration/SourceControlMetricSelection.test.tsx  -1
+ frontend/src/hooks/useGetSourceControlConfigurationCrewEffect.tsx  -1
+ frontend/src/hooks/useGetSourceControlConfigurationBranchEffect.tsx  -1
+ frontend/__tests__/client/SourceControlClient.test.ts  -4
+ frontend/src/clients/sourceControl/SourceControlClient.ts  -8
         

See the complete overview on Codacy