feat(ingestion-progress): total assets, run-start emit, agent on discovery#29753
Quality Gate passed
Annotations
Check warning on line 94 in src/components/AuditLog/AuditLogList.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
'parsed' will use Object's default stringification format ('[object Object]') when stringified.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815npXRa_Fh20wwqiF&open=AZ815npXRa_Fh20wwqiF&pullRequest=29753
Check warning on line 65 in src/components/Database/SampleDataWithMessages/MessageCard.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `String#replaceAll()` over `String#replace()`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815aUORa_Fh20wwqX3&open=AZ815aUORa_Fh20wwqX3&pullRequest=29753
Check failure on line 427 in src/components/OntologyExplorer/hooks/useOntologyExplorer.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=AZ815nX5Ra_Fh20wwqh5&open=AZ815nX5Ra_Fh20wwqh5&pullRequest=29753
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Visible, non-interactive elements with click handlers must have at least one keyboard listener.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815iQ6Ra_Fh20wwqd-&open=AZ815iQ6Ra_Fh20wwqd-&pullRequest=29753
Check warning on line 115 in src/components/KnowledgeGraph3D/KnowledgeGraph3DScene.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=AZ815fHIRa_Fh20wwqbb&open=AZ815fHIRa_Fh20wwqbb&pullRequest=29753
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
'selectedKey' is deprecated.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815h70Ra_Fh20wwqdr&open=AZ815h70Ra_Fh20wwqdr&pullRequest=29753
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=AZ815ZdhRa_Fh20wwqXb&open=AZ815ZdhRa_Fh20wwqXb&pullRequest=29753
Check warning on line 74 in src/utils/RecentActivityUtils.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Remove this useless assignment to variable "newData".
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815qIzRa_Fh20wwqj7&open=AZ815qIzRa_Fh20wwqj7&pullRequest=29753
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Use Array.isArray() instead of isArray() from lodash.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ82xg7pkVUPSpCuJrd3&open=AZ82xg7pkVUPSpCuJrd3&pullRequest=29753
Check failure on line 2271 in src/pages/ColumnBulkOperations/ColumnGrid/ColumnGrid.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this code to not nest functions more than 4 levels deep.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815vx5Ra_Fh20wwqpL&open=AZ815vx5Ra_Fh20wwqpL&pullRequest=29753
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=AZ815ekIRa_Fh20wwqa7&open=AZ815ekIRa_Fh20wwqa7&pullRequest=29753
Check warning on line 34 in src/components/Tag/TagsV1/TagsV1.interface.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Consider removing 'undefined' type or '?' specifier, one of them is redundant.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815fLCRa_Fh20wwqbm&open=AZ815fLCRa_Fh20wwqbm&pullRequest=29753
Check failure on line 163 in src/components/WorkflowDefinitions/WorkflowBuilder/NodeFormSidebar.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this code to not nest functions more than 4 levels deep.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815hk5Ra_Fh20wwqdV&open=AZ815hk5Ra_Fh20wwqdV&pullRequest=29753
Check warning on line 148 in src/components/common/atoms/actions/useDelete.tsx
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=AZ815atDRa_Fh20wwqYJ&open=AZ815atDRa_Fh20wwqYJ&pullRequest=29753
Check warning on line 128 in src/components/KnowledgeGraph3D/KnowledgeGraph3DControls.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
'onSelectionChange' is deprecated.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815fFrRa_Fh20wwqbZ&open=AZ815fFrRa_Fh20wwqbZ&pullRequest=29753
Check warning on line 90 in src/components/Explore/ExploreTree/ExploreTree.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
'node.data?.dataId ?? node.title' may use Object's default stringification format ('[object Object]') when stringified.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815jxdRa_Fh20wwqfA&open=AZ815jxdRa_Fh20wwqfA&pullRequest=29753
Check warning on line 126 in src/components/KnowledgeGraph3D/KnowledgeGraph3DControls.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
'selectedKey' is deprecated.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815fFrRa_Fh20wwqbY&open=AZ815fFrRa_Fh20wwqbY&pullRequest=29753
Check warning on line 97 in src/components/Glossary/GlossaryTerms/tabs/GlossaryTermReferences.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=AZ815i8KRa_Fh20wwqeg&open=AZ815i8KRa_Fh20wwqeg&pullRequest=29753
Check warning on line 49 in src/components/common/atoms/TagChip/TagChip.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer using nullish coalescing operator (`??`) instead of a ternary expression, as it is simpler to read.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815aa5Ra_Fh20wwqX8&open=AZ815aa5Ra_Fh20wwqX8&pullRequest=29753
Check warning on line 176 in src/components/Glossary/GlossaryTerms/tabs/GlossaryTermReferences.tsx
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=AZ815i8KRa_Fh20wwqeh&open=AZ815i8KRa_Fh20wwqeh&pullRequest=29753
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=AZ815k__Ra_Fh20wwqfz&open=AZ815k__Ra_Fh20wwqfz&pullRequest=29753
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this code to not nest functions more than 4 levels deep.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815gbhRa_Fh20wwqcc&open=AZ815gbhRa_Fh20wwqcc&pullRequest=29753
Check failure on line 607 in src/components/Auth/AuthProviders/AuthProvider.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `throw error` over `return Promise.reject(error)`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ815mQ_Ra_Fh20wwqgy&open=AZ815mQ_Ra_Fh20wwqgy&pullRequest=29753
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Consider Object.entries() instead of entries() from lodash; check that the behavior is equivalent because the library handles nullish values differently from the native API.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ82xgLmkVUPSpCuJrdf&open=AZ82xgLmkVUPSpCuJrdf&pullRequest=29753
Check warning on line 198 in src/components/ActivityFeed/ActivityFeedCard/ActivityFeedCard.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=AZ815gZwRa_Fh20wwqcY&open=AZ815gZwRa_Fh20wwqcY&pullRequest=29753