fix(ui): match Tier/Certification tag FQNs by prefix, not substring #27700
Quality Gate passed
Annotations
Check warning on line 78 in src/utils/EdgeStyleUtils.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Function 'computeEdgeStyle' has too many parameters (10). Maximum allowed is 7.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G9QF7fRyFn65t6aX&open=AZ2_G9QF7fRyFn65t6aX&pullRequest=27700
Check warning on line 59 in src/utils/EntityByFqnUtils.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Reduce the number of non-empty switch cases from 39 to at most 30.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G9CN7fRyFn65t6Zq&open=AZ2_G9CN7fRyFn65t6Zq&pullRequest=27700
Check warning on line 39 in src/components/common/CopyLinkButton/CopyLinkButton.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=AZ2_G4yq7fRyFn65t6Px&open=AZ2_G4yq7fRyFn65t6Px&pullRequest=27700
Check warning on line 216 in src/components/Certification/Certification.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Provide multiple methods instead of using "visible" to determine which action to take.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G72W7fRyFn65t6Wl&open=AZ2_G72W7fRyFn65t6Wl&pullRequest=27700
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
The empty object is useless.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G8Hi7fRyFn65t6XI&open=AZ2_G8Hi7fRyFn65t6XI&pullRequest=27700
Check warning on line 284 in src/pages/TasksPage/RequestTagPage/RequestTagPage.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=AZ2_G8Bb7fRyFn65t6W-&open=AZ2_G8Bb7fRyFn65t6W-&pullRequest=27700
Check warning on line 37 in src/components/common/atoms/asyncTreeSelect/useTreeVirtualization.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Complete the task associated to this "TODO" comment.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G3so7fRyFn65t6NW&open=AZ2_G3so7fRyFn65t6NW&pullRequest=27700
Check failure on line 71 in src/components/common/atoms/asyncTreeSelect/useTreeSearch.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=AZ2_G3r47fRyFn65t6NV&open=AZ2_G3r47fRyFn65t6NV&pullRequest=27700
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Unexpected negated condition.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G3ZO7fRyFn65t6M7&open=AZ2_G3ZO7fRyFn65t6M7&pullRequest=27700
Check failure on line 273 in src/components/Glossary/GlossaryTermTab/GlossaryTermTab.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G6U67fRyFn65t6TM&open=AZ2_G6U67fRyFn65t6TM&pullRequest=27700
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Promise-returning function provided to variable where a void return was expected.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G4_F7fRyFn65t6QE&open=AZ2_G4_F7fRyFn65t6QE&pullRequest=27700
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=AZ2_G3467fRyFn65t6OA&open=AZ2_G3467fRyFn65t6OA&pullRequest=27700
Check warning on line 273 in src/pages/EditIngestionPage/EditIngestionPage.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=AZ2_G8Ii7fRyFn65t6XJ&open=AZ2_G8Ii7fRyFn65t6XJ&pullRequest=27700
Check warning on line 87 in src/components/DataInsight/DataInsightSummary.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=AZ2_G7Dz7fRyFn65t6Uc&open=AZ2_G7Dz7fRyFn65t6Uc&pullRequest=27700
Check warning on line 226 in src/components/ActivityFeed/TaskFeedCard/TaskFeedCard.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Unexpected negated condition.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G5i07fRyFn65t6RO&open=AZ2_G5i07fRyFn65t6RO&pullRequest=27700
Check warning on line 146 in src/components/MyData/Widgets/KPIWidget/KPILegend/KPILegend.tsx
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=AZ2_G5YO7fRyFn65t6Q0&open=AZ2_G5YO7fRyFn65t6Q0&pullRequest=27700
Check failure on line 825 in src/utils/EntityUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 36 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G9Fp7fRyFn65t6Zv&open=AZ2_G9Fp7fRyFn65t6Zv&pullRequest=27700
Check failure on line 73 in src/components/common/DescriptionSourceBadge/DescriptionSourceBadge.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G4IR7fRyFn65t6OW&open=AZ2_G4IR7fRyFn65t6OW&pullRequest=27700
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=AZ2_G5t07fRyFn65t6R_&open=AZ2_G5t07fRyFn65t6R_&pullRequest=27700
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Unexpected negated condition.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G7Ag7fRyFn65t6UY&open=AZ2_G7Ag7fRyFn65t6UY&pullRequest=27700
Check warning on line 112 in src/components/common/QueryBuilderWidgetV1/QueryBuilderWidgetV1.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
The signature '(tree: ImmutableTree<_TreeI>, config: Config): ImmutableTree<_TreeI>' of 'QbUtils.checkTree' is deprecated.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G4qQ7fRyFn65t6Pl&open=AZ2_G4qQ7fRyFn65t6Pl&pullRequest=27700
Check failure on line 280 in src/utils/BlockEditorUtils.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `.dataset` over `setAttribute(…)`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G8-_7fRyFn65t6Zj&open=AZ2_G8-_7fRyFn65t6Zj&pullRequest=27700
Check warning on line 75 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=AZ2_G6fT7fRyFn65t6Tc&open=AZ2_G6fT7fRyFn65t6Tc&pullRequest=27700
Check warning on line 2033 in src/constants/mockTourData.constants.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Don't use a zero fraction in the number.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ2_G91t7fRyFn65t6b9&open=AZ2_G91t7fRyFn65t6b9&pullRequest=27700
Check warning on line 112 in src/components/WorkflowDefinitions/WorkflowBuilder/CustomNodes.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=AZ2_G5wQ7fRyFn65t6SJ&open=AZ2_G5wQ7fRyFn65t6SJ&pullRequest=27700