Skip to content

refactor(ui): migrate TagsForm from antd Form to React Hook Form + Autocomplete#29776

Open
Rohit0301 wants to merge 4 commits into
mainfrom
migrate-tagsform-to-hookform
Open

refactor(ui): migrate TagsForm from antd Form to React Hook Form + Autocomplete#29776
Rohit0301 wants to merge 4 commits into
mainfrom
migrate-tagsform-to-hookform

lint fix

301328e
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ui] SonarCloud Code Analysis succeeded Jul 6, 2026 in 9m 35s

Annotations

Check warning on line 163 in src/utils/EntityLineageEdgeUtils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Default parameters should be last.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jGns3xiXj4nSrB_5&open=AZ84jGns3xiXj4nSrB_5&pullRequest=29776

Check warning on line 146 in src/components/Alerts/AlertDetails/AlertConfigDetails/AlertConfigDetails.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

arrow function is equivalent to `Boolean`. Use `Boolean` directly.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jAWp3xiXj4nSrB56&open=AZ84jAWp3xiXj4nSrB56&pullRequest=29776

Check warning on line 167 in src/components/Entity/Task/TaskTab/TaskTabNew.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

'value ?? ''' will use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i_gJ3xiXj4nSrB5P&open=AZ84i_gJ3xiXj4nSrB5P&pullRequest=29776

Check warning on line 227 in src/components/Settings/Services/ServiceConfig/FiltersConfigForm.utils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i9CP3xiXj4nSrB3V&open=AZ84i9CP3xiXj4nSrB3V&pullRequest=29776

Check warning on line 34 in src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.interface.ts

See this annotation in the file changed.

@sonarqubecloud 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=AZ84i-b53xiXj4nSrB4Y&open=AZ84i-b53xiXj4nSrB4Y&pullRequest=29776

Check warning on line 435 in src/constants/profiler.constant.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Consider Object.values() instead of values() 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=AZ84jLC43xiXj4nSrCDU&open=AZ84jLC43xiXj4nSrCDU&pullRequest=29776

Check warning on line 210 in src/utils/KnowledgePagePureUtils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Default parameters should be last.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jF953xiXj4nSrB-7&open=AZ84jF953xiXj4nSrB-7&pullRequest=29776

Check failure on line 234 in src/components/common/Form/JSONSchema/JsonSchemaWidgets/LdapRoleMappingWidget/LdapRoleMappingWidget.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AZ84i4OG3xiXj4nSrBzj&open=AZ84i4OG3xiXj4nSrBzj&pullRequest=29776

Check warning on line 110 in src/pages/TableDetailsPageV1/TableConstraints/TableConstraints.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Consider Array.prototype.map() instead of map() from lodash; check that the behavior is equivalent because the library also accepts objects and nullish values.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jIug3xiXj4nSrCBa&open=AZ84jIug3xiXj4nSrCBa&pullRequest=29776

Check warning on line 62 in src/components/ActivityFeed/ActivityFeedCardNew/TaskCommentCard.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Convert the conditional to a boolean to avoid leaked value

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i77p3xiXj4nSrB2d&open=AZ84i77p3xiXj4nSrB2d&pullRequest=29776

Check warning on line 659 in src/utils/QueryBuilderElasticsearchFormatUtils.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `Number.isFinite` over `isFinite`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jGND3xiXj4nSrB_U&open=AZ84jGND3xiXj4nSrB_U&pullRequest=29776

Check failure on line 115 in src/components/BlockEditor/EditorSlots.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `.dataset` over `getAttribute(…)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i1wm3xiXj4nSrBxu&open=AZ84i1wm3xiXj4nSrBxu&pullRequest=29776

Check warning on line 98 in src/components/Visualisations/Chart/CardinalityDistributionChart.component.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AZ84jDAl3xiXj4nSrB79&open=AZ84jDAl3xiXj4nSrB79&pullRequest=29776

Check warning on line 352 in src/components/common/Form/JSONSchema/JSONSchemaTemplate/ConnectionObjectFieldTemplate.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i4Sv3xiXj4nSrBzm&open=AZ84i4Sv3xiXj4nSrBzm&pullRequest=29776

Check warning on line 244 in src/components/common/LogViewerModal/LogViewerModal.component.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AZ84i5oy3xiXj4nSrB0o&open=AZ84i5oy3xiXj4nSrB0o&pullRequest=29776

Check warning on line 303 in src/components/common/ServiceDocPanel/ServiceDocPanel.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i58C3xiXj4nSrB0-&open=AZ84i58C3xiXj4nSrB0-&pullRequest=29776

Check warning on line 116 in src/pages/TasksPage/RequestTagPage/RequestTagPage.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AZ84jIil3xiXj4nSrCBR&open=AZ84jIil3xiXj4nSrCBR&pullRequest=29776

Check warning on line 201 in src/utils/IngestionConfigUtils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Prefer `.some(…)` over `.find(…)`.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jGlS3xiXj4nSrB_4&open=AZ84jGlS3xiXj4nSrB_4&pullRequest=29776

Check failure on line 188 in src/components/OntologyExplorer/utils/graphBuilders.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Provide a compare function that depends on "String.localeCompare", to reliably sort elements alphabetically.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jBfN3xiXj4nSrB6r&open=AZ84jBfN3xiXj4nSrB6r&pullRequest=29776

Check warning on line 185 in src/utils/KnowledgePagePureUtils.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Default parameters should be last.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jF953xiXj4nSrB-6&open=AZ84jF953xiXj4nSrB-6&pullRequest=29776

Check warning on line 174 in src/components/common/ServiceDocPanel/ServiceDocPanel.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i58C3xiXj4nSrB04&open=AZ84i58C3xiXj4nSrB04&pullRequest=29776

Check warning on line 115 in src/components/ServiceInsights/AgentsStatusWidget/AgentsStatusWidget.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84jAbE3xiXj4nSrB5-&open=AZ84jAbE3xiXj4nSrB5-&pullRequest=29776

Check warning on line 80 in src/components/Settings/Users/UserProfileIcon/UserProfileIcon.component.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

Spread an array literal in array literal is unnecessary.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i9P33xiXj4nSrB3f&open=AZ84i9P33xiXj4nSrB3f&pullRequest=29776

Check warning on line 73 in src/hooks/useTableFilters.ts

See this annotation in the file changed.

@sonarqubecloud 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=AZ84jLXS3xiXj4nSrCD2&open=AZ84jLXS3xiXj4nSrCD2&pullRequest=29776

Check warning on line 66 in src/components/KnowledgeCenter/KnowledgeCard/KnowledgeCard.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis

'onUnFollow' PropType is defined but prop is never used

See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ84i--13xiXj4nSrB4z&open=AZ84i--13xiXj4nSrB4z&pullRequest=29776