Perceived-latency P1: ETag/304, deferred tab fetches, lazy widgets #28014
Quality Gate passed
Annotations
Check warning on line 24 in src/utils/EdgeStyleUtils.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Function 'calculateEdgeStyle' has too many parameters (9). Maximum allowed is 7.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T-A7TAfGjqw6itJ2R&open=AZ4T-A7TAfGjqw6itJ2R&pullRequest=28014
Check warning on line 288 in src/utils/CSV/CSVUtilsClassBase.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Update this function so that its implementation is not identical to the one on line 259.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T9_viAfGjqw6itJ0C&open=AZ4T9_viAfGjqw6itJ0C&pullRequest=28014
Check warning on line 97 in src/components/common/NavigationBlocker/NavigationBlocker.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `globalThis` over `window`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T91ZlAfGjqw6itJm7&open=AZ4T91ZlAfGjqw6itJm7&pullRequest=28014
Check warning on line 147 in src/utils/DataMarketplace/DataMarketplaceClassBase.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T-AxbAfGjqw6itJ1y&open=AZ4T-AxbAfGjqw6itJ1y&pullRequest=28014
Check warning on line 149 in src/utils/SearchIndexUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T-BRtAfGjqw6itJ2w&open=AZ4T-BRtAfGjqw6itJ2w&pullRequest=28014
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Missing "key" prop for element in iterator
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T98TGAfGjqw6itJvI&open=AZ4T98TGAfGjqw6itJvI&pullRequest=28014
Check warning on line 1515 in src/utils/EntityLineageUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Unexpected negated condition.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T-Bt2AfGjqw6itJ3s&open=AZ4T-Bt2AfGjqw6itJ3s&pullRequest=28014
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `Number.parseInt` over `parseInt`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T946fAfGjqw6itJqu&open=AZ4T946fAfGjqw6itJqu&pullRequest=28014
Check warning on line 111 in src/components/BlockEditor/Extensions/File/FileNodeView.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Media elements such as <audio> and <video> must have a <track> for captions.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T9zU-AfGjqw6itJkV&open=AZ4T9zU-AfGjqw6itJkV&pullRequest=28014
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T9z6hAfGjqw6itJk7&open=AZ4T9z6hAfGjqw6itJk7&pullRequest=28014
Check warning on line 33 in src/rest/rdfAPI.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Handle this exception or don't catch it at all.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T-CuJAfGjqw6itJ5N&open=AZ4T-CuJAfGjqw6itJ5N&pullRequest=28014
Check warning on line 40 in src/components/MlModel/MlModelDetail/MlModelFeaturesList.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
useState call is not destructured into value + setter pair
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T98XPAfGjqw6itJvJ&open=AZ4T98XPAfGjqw6itJvJ&pullRequest=28014
Check failure on line 826 in src/components/OntologyExplorer/hooks/useOntologyGraph.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 38 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T982mAfGjqw6itJv3&open=AZ4T982mAfGjqw6itJv3&pullRequest=28014
Check warning on line 38 in src/components/common/DomainDisplay/DomainDisplay.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
A fragment with only one child is redundant.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T9033AfGjqw6itJmT&open=AZ4T9033AfGjqw6itJmT&pullRequest=28014
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Use <input type="button">, <input type="image">, <input type="reset">, <input type="submit">, or <button> instead of the "button" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T96CiAfGjqw6itJsD&open=AZ4T96CiAfGjqw6itJsD&pullRequest=28014
Check warning on line 43 in src/hooks/useClipBoard.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Handle this exception or don't catch it at all.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T-Cc0AfGjqw6itJ4q&open=AZ4T-Cc0AfGjqw6itJ4q&pullRequest=28014
Check warning on line 931 in src/components/common/Table/TableV2.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer using an optional chain expression instead, as it's more concise and easier to read.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T90rBAfGjqw6itJmM&open=AZ4T90rBAfGjqw6itJmM&pullRequest=28014
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T93A_AfGjqw6itJox&open=AZ4T93A_AfGjqw6itJox&pullRequest=28014
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T93ttAfGjqw6itJpj&open=AZ4T93ttAfGjqw6itJpj&pullRequest=28014
Check warning on line 399 in src/components/KnowledgeCenter/KnowledgeCard/KnowledgeCard.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T96rvAfGjqw6itJs8&open=AZ4T96rvAfGjqw6itJs8&pullRequest=28014
Check failure on line 224 in src/rest/columnAPI.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T-CsfAfGjqw6itJ5M&open=AZ4T-CsfAfGjqw6itJ5M&pullRequest=28014
Check warning on line 214 in src/utils/IngestionUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `.some(…)` over `.find(…)`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T9_nQAfGjqw6itJz4&open=AZ4T9_nQAfGjqw6itJz4&pullRequest=28014
Check warning on line 124 in src/pages/EditConnectionFormPage/EditConnectionFormPage.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since it does not change the type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T9_KEAfGjqw6itJzJ&open=AZ4T9_KEAfGjqw6itJzJ&pullRequest=28014
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T97G9AfGjqw6itJtx&open=AZ4T97G9AfGjqw6itJtx&pullRequest=28014
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4T9kZ3AfGjqw6itJkI&open=AZ4T9kZ3AfGjqw6itJkI&pullRequest=28014