Skip to content

[P0-P4] Remove Ant Design from the OSS frontend (shadcn/ui + Midnight Bloom) - #2212

Draft
hari-kuriakose wants to merge 112 commits into
mainfrom
feat/shadcn-oss-migration
Draft

[P0-P4] Remove Ant Design from the OSS frontend (shadcn/ui + Midnight Bloom)#2212
hari-kuriakose wants to merge 112 commits into
mainfrom
feat/shadcn-oss-migration

fix(frontend): restore onRow and tableLayout on the table shim

c9562d1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 11, 2026 in 2m 53s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 408 in frontend/src/components/ui/shims/antd-inputs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-0Y1NE20ESPB3h2RPE&open=AZ-0Y1NE20ESPB3h2RPE&pullRequest=2212

Check warning on line 1177 in frontend/src/components/ui/shims/antd-structure.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ_ENmyqmaZPOCQ7BtqK&open=AZ_ENmyqmaZPOCQ7BtqK&pullRequest=2212

Check warning on line 71 in frontend/src/hooks/useConfirm.test.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `findByRole` query over using `waitFor` + `getByRole`

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-gyQFzhe4vAc1NbJDV&open=AZ-gyQFzhe4vAc1NbJDV&pullRequest=2212

Check warning on line 875 in frontend/src/components/ui/shims/antd-structure.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / 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=Zipstack_unstract&issues=AZ-u-nwEdG9wccH3sszC&open=AZ-u-nwEdG9wccH3sszC&pullRequest=2212

Check warning on line 391 in frontend/src/components/ui/shims/antd-inputs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-0Y1NE20ESPB3h2RPD&open=AZ-0Y1NE20ESPB3h2RPD&pullRequest=2212

Check warning on line 24 in frontend/src/components/ui/shims/antd-overlays.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'DialogDescription'.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-u9KQ_8F2RbBTumW_A&open=AZ-u9KQ_8F2RbBTumW_A&pullRequest=2212

Check warning on line 390 in frontend/src/components/ui/shims/antd-inputs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-0Y1NE20ESPB3h2RPC&open=AZ-0Y1NE20ESPB3h2RPC&pullRequest=2212

Check warning on line 1144 in frontend/src/components/ui/shims/antd-overlays.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'showArrow' PropType is defined but prop is never used

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-xowfS1mSvuoDuW96P&open=AZ-xowfS1mSvuoDuW96P&pullRequest=2212

Check warning on line 241 in frontend/src/components/ui/shims/antd-inputs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-u5OHTSjFqP5Yu-nFu&open=AZ-u5OHTSjFqP5Yu-nFu&pullRequest=2212

Check warning on line 87 in frontend/src/components/ui/form.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The object passed as the value prop to the Context provider changes every render. To fix this consider wrapping it in a useMemo hook.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-u5OIzSjFqP5Yu-nF2&open=AZ-u5OIzSjFqP5Yu-nF2&pullRequest=2212

Check warning on line 117 in frontend/src/App.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A fragment with only one child is redundant.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-iUlESx-lBk-G4-4qs&open=AZ-iUlESx-lBk-G4-4qs&pullRequest=2212

Check warning on line 20 in frontend/src/components/widgets/top-bar/TopBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This debounced function is recreated on every render, which resets its timer and defeats debouncing. Move it outside the component or hook, or wrap it in useMemo.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ_r92bsZNe834dWkNS5&open=AZ_r92bsZNe834dWkNS5&pullRequest=2212

Check warning on line 603 in frontend/src/components/ui/shims/antd-structure.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-wMhMzJ1sPaRM7Z9uy&open=AZ-wMhMzJ1sPaRM7Z9uy&pullRequest=2212

Check warning on line 62 in frontend/src/components/ui/shims/antd-overlays.scrolllock.test.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `findByText` query over using `waitFor` + `getByText`

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-imtcsd4VLx8tNEydX&open=AZ-imtcsd4VLx8tNEydX&pullRequest=2212

Check warning on line 388 in frontend/src/components/ui/shims/antd-inputs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseFloat` over `parseFloat`.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-0Y1NE20ESPB3h2RPB&open=AZ-0Y1NE20ESPB3h2RPB&pullRequest=2212

Check warning on line 670 in frontend/src/components/ui/shims/antd-inputs.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-ymoWySylws-Og3NrQ&open=AZ-ymoWySylws-Og3NrQ&pullRequest=2212

Check warning on line 354 in frontend/src/components/ui/shims/antd-structure.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-u-nwEdG9wccH3ssy9&open=AZ-u-nwEdG9wccH3ssy9&pullRequest=2212

Check warning on line 307 in frontend/src/components/ui/shims/antd-layout.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-u5OHfSjFqP5Yu-nFy&open=AZ-u5OHfSjFqP5Yu-nFy&pullRequest=2212

Check warning on line 1157 in frontend/src/components/ui/shims/antd-structure.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ_ENmyqmaZPOCQ7BtqJ&open=AZ_ENmyqmaZPOCQ7BtqJ&pullRequest=2212

Check warning on line 1143 in frontend/src/components/ui/shims/antd-overlays.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'header' PropType is defined but prop is never used

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-xowfS1mSvuoDuW96O&open=AZ-xowfS1mSvuoDuW96O&pullRequest=2212

Check warning on line 380 in frontend/src/components/ui/shims/antd-form.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Mark the props of the component as read-only.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-u5OCTSjFqP5Yu-nFs&open=AZ-u5OCTSjFqP5Yu-nFs&pullRequest=2212

Check warning on line 28 in frontend/src/components/connectors/connector-list-modal/ConnectorListModal.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This debounced function is recreated on every render, which resets its timer and defeats debouncing. Move it outside the component or hook, or wrap it in useMemo.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ_r92sAZNe834dWkNS6&open=AZ_r92sAZNe834dWkNS6&pullRequest=2212

Check warning on line 140 in frontend/src/components/metrics-dashboard/MetricsSummary.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "===" check; it will always be false. Did you mean to use "=="?

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-u1KLPCMhX7g6Bfh1O&open=AZ-u1KLPCMhX7g6Bfh1O&pullRequest=2212

Check warning on line 228 in frontend/src/components/ui/shims/antd-leaves.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-u71255FLToPsu3xMA&open=AZ-u71255FLToPsu3xMA&pullRequest=2212

Check warning on line 381 in frontend/src/components/data-table/DataTable.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not use Array index in keys

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-00SkMJ13m9rvSj4ug&open=AZ-00SkMJ13m9rvSj4ug&pullRequest=2212