Skip to content

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

Draft
hari-kuriakose wants to merge 68 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 68 commits into
mainfrom
feat/shadcn-oss-migration

fix(frontend): size prompt-card icons, and detect this class of bug p…

ccbcb78
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jul 30, 2026 in 1m 12s

Quality Gate failed

Failed conditions
B Security Rating on New Code (required ≥ A)
C Reliability 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 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 341 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 260 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 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 372 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 77 in frontend/src/components/ui/shims/antd-form.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-g0rRB7Nsapz3k2OYy&open=AZ-g0rRB7Nsapz3k2OYy&pullRequest=2212

Check warning on line 162 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-nFx&open=AZ-u5OHfSjFqP5Yu-nFx&pullRequest=2212

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

Check warning on line 1246 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-nwEdG9wccH3sszF&open=AZ-u-nwEdG9wccH3sszF&pullRequest=2212

Check warning on line 1174 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-nwEdG9wccH3sszE&open=AZ-u-nwEdG9wccH3sszE&pullRequest=2212

Check warning on line 346 in frontend/src/components/ui/shims/antd-overlays.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-u9KQ_8F2RbBTumW_C&open=AZ-u9KQ_8F2RbBTumW_C&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 82 in frontend/src/components/ui/shims/antd-datetime.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Consider removing 'undefined' type or '?' specifier, one of them is redundant.

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

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

Check warning on line 435 in frontend/src/components/ui/shims/antd-overlays.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-u9KQ_8F2RbBTumW_D&open=AZ-u9KQ_8F2RbBTumW_D&pullRequest=2212

Check warning on line 812 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 33 in frontend/src/components/ui/shims/antd-datetime.integration.test.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer "expect(await screen.findAllByRole("grid")).toHaveLength(2)" over this generic assertion for better reporting; it works on any object with a numeric length property.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AZ-noFvQA2bwI_hnJZLL&open=AZ-noFvQA2bwI_hnJZLL&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 433 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 84 in frontend/src/components/ui/shims/antd-form.test.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `findByDisplayValue` query over using `waitFor` + `getByDisplayValue`

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

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"default" | "error" | "warning" | "success" | "processing" | "blue" | "green" | "red" | "orange" | "purple" | "cyan" | "magenta" | "gold" | "lime" | "geekblue" | "volcano" is overridden by string in this union type.

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

Check warning on line 42 in frontend/src/hooks/useConfirm.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-gyQFzhe4vAc1NbJDS&open=AZ-gyQFzhe4vAc1NbJDS&pullRequest=2212