Skip to content

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

Open
hari-kuriakose wants to merge 140 commits into
mainfrom
feat/shadcn-oss-migration
Open

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

feat(frontend): let the adapter, workflow and enforce-type pickers be…

dcf6e82
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 26, 2026 in 1m 30s

Annotations

Check warning on line 1271 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 894 in frontend/src/components/ui/shims/antd-structure.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'unknown' overrides all other types in this union type.

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

Check warning on line 76 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-imtcsd4VLx8tNEydY&open=AZ-imtcsd4VLx8tNEydY&pullRequest=2212

Check warning on line 4 in frontend/src/components/metrics-dashboard/LLMUsageTable.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'Tag'.

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

Check warning on line 1128 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=AaA973R2I8RdA0Esu7Zw&open=AaA973R2I8RdA0Esu7Zw&pullRequest=2212

Check warning on line 7 in frontend/src/components/workflows/workflow/Workflows.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import of 'Pagination'.

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

Check warning on line 767 in frontend/src/components/navigations/side-nav-bar/SideNavBar.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <img alt=...>, or <img alt=...> instead of the "img" role to ensure accessibility across all devices.

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

Check warning on line 121 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 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 42 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-imtcsd4VLx8tNEydW&open=AZ-imtcsd4VLx8tNEydW&pullRequest=2212

Check warning on line 445 in frontend/src/components/ui/shims/antd-form.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-u5OCTSjFqP5Yu-nFt&open=AZ-u5OCTSjFqP5Yu-nFt&pullRequest=2212

Check warning on line 63 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-gyQFzhe4vAc1NbJDU&open=AZ-gyQFzhe4vAc1NbJDU&pullRequest=2212

Check warning on line 486 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 failure on line 1919 in frontend/src/components/ui/shims/antd-structure.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.

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

Check warning on line 52 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-gyQFzhe4vAc1NbJDT&open=AZ-gyQFzhe4vAc1NbJDT&pullRequest=2212

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'unknown' overrides all other types in this union type.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'tab' PropType is defined but prop is never used

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected a `for-of` loop instead of a `for` loop with this simple iteration.

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

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'raw' may use Object's default stringification format ('[object Object]') when stringified.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaA973R2I8RdA0Esu7Zx&open=AaA973R2I8RdA0Esu7Zx&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 469 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 384 in frontend/src/components/ui/shims/antd-overlays.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not use nested template literals.

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

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

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-0Y1g_20ESPB3h2RPF&open=AZ-0Y1g_20ESPB3h2RPF&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 43 in frontend/src/components/ui/alert.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Headings must have content and the content must be accessible by a screen reader.

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