Repository navigation
feat(ui): replace Ant Design with the Slim v2 design system - #451
igoroctaviano wants to merge 215 commits into
Quality Gate passed
Annotations
Check warning on line 115 in src/utils/slideDisplay.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `.at(…)` over `[….length - index]`.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD3ls8NyGMIwaMM0bg7&open=AaD3ls8NyGMIwaMM0bg7&pullRequest=451
Check warning on line 39 in src/components/slim/DisplayOptionsPanel.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD05coadiWp6r0ZT6s7&open=AaD05coadiWp6r0ZT6s7&pullRequest=451
Check warning on line 34 in src/components/AnnotationCategoryList.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD3ltzSyGMIwaMM0bh5&open=AaD3ltzSyGMIwaMM0bh5&pullRequest=451
Check warning on line 105 in src/features/worklist/components/WorklistCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFZZ4rAkF_pmV8vbHi_&open=AaFZZ4rAkF_pmV8vbHi_&pullRequest=451
Check failure on line 26 in src/features/viewer/services/loadAnnotationGroups.ts
sonarqubecloud / 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=ImagingDataCommons_slim&issues=AaFejETDpqrievFzNvdm&open=AaFejETDpqrievFzNvdm&pullRequest=451
Check warning on line 353 in src/features/worklist/components/WorklistTable.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD0wOpu1FAvXSsSY4bK&open=AaD0wOpu1FAvXSsSY4bK&pullRequest=451
Check warning on line 73 in src/components/DicomTagBrowser/TagRow.tsx
sonarqubecloud / SonarCloud Code Analysis
Interactive elements should not be assigned non-interactive roles.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFb0ALWxWTY1gd26VRI&open=AaFb0ALWxWTY1gd26VRI&pullRequest=451
Check failure on line 261 in src/utils/measurementReport.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFejEODpqrievFzNvdl&open=AaFejEODpqrievFzNvdl&pullRequest=451
Check warning on line 49 in src/features/viewer/components/ToastHost.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <output> instead of the "status" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD3ltF5yGMIwaMM0bhK&open=AaD3ltF5yGMIwaMM0bhK&pullRequest=451
Check warning on line 28 in src/setupTests.tsx
sonarqubecloud / SonarCloud Code Analysis
Compare with `undefined` directly instead of using `typeof`.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD3luN8yGMIwaMM0big&open=AaD3luN8yGMIwaMM0big&pullRequest=451
Check warning on line 24 in src/features/viewer/components/sections/SeriesFilteredSection.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFFdatDHGQowHbgw_P1&open=AaFFdatDHGQowHbgw_P1&pullRequest=451
Check warning on line 45 in src/app/AppPage.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD3luLSyGMIwaMM0bia&open=AaD3luLSyGMIwaMM0bia&pullRequest=451
Check warning on line 160 in src/auth/testing/fakeUserManager.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `String.fromCodePoint()` over `String.fromCharCode()`.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD3luKDyGMIwaMM0biE&open=AaD3luKDyGMIwaMM0biE&pullRequest=451
Check warning on line 168 in scripts/seed-local-archive.mjs
sonarqubecloud / SonarCloud Code Analysis
Unexpected `await` inside a loop.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFErvG6S6b69tCR40GQ&open=AaFErvG6S6b69tCR40GQ&pullRequest=451
Check warning on line 97 in src/features/viewer/components/ViewerToolbar.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD0wOqt1FAvXSsSY4bV&open=AaD0wOqt1FAvXSsSY4bV&pullRequest=451
Check warning on line 40 in src/features/viewer/utils/toastQueue.ts
sonarqubecloud / SonarCloud Code Analysis
Use `.includes()` instead of `.some()` when checking value existence.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD3ltHdyGMIwaMM0bhL&open=AaD3ltHdyGMIwaMM0bhL&pullRequest=451
Check warning on line 60 in src/features/worklist/components/WorklistCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <td> instead of the "cell" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFeOUzS5Z8Oq5yjZ8Xa&open=AaFeOUzS5Z8Oq5yjZ8Xa&pullRequest=451
Check warning on line 55 in src/components/AnnotationItem.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD0wOj-1FAvXSsSY4ag&open=AaD0wOj-1FAvXSsSY4ag&pullRequest=451
Check warning on line 104 in src/features/worklist/components/WorklistTable.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <td> instead of the "cell" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFF5iJ_W1pCEb9gmKB_&open=AaFF5iJ_W1pCEb9gmKB_&pullRequest=451
Check warning on line 23 in src/components/panel/InlineOpacityRow.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD3ltfmyGMIwaMM0bhm&open=AaD3ltfmyGMIwaMM0bhm&pullRequest=451
Check warning on line 80 in src/components/ui/sheet.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFZZ4vBkF_pmV8vbHjD&open=AaFZZ4vBkF_pmV8vbHjD&pullRequest=451
Check warning on line 19 in src/setupTests.tsx
sonarqubecloud / 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=ImagingDataCommons_slim&issues=AaD3luN8yGMIwaMM0bic&open=AaD3luN8yGMIwaMM0bic&pullRequest=451
Check failure on line 66 in .cursor/skills/verify-slim/scripts/doctor.sh
sonarqubecloud / SonarCloud Code Analysis
Use '[[' instead of '[' for conditional tests. The '[[' construct is safer and more feature-rich.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFEwt4MGTgTWMbV-ZSW&open=AaFEwt4MGTgTWMbV-ZSW&pullRequest=451
Check warning on line 183 in src/features/worklist/components/ContainsPicker.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <img alt=...> instead of the "presentation" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaD5EGRBvddVYjqFHVWF&open=AaD5EGRBvddVYjqFHVWF&pullRequest=451
Check warning on line 32 in src/features/worklist/components/WorklistCard.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=ImagingDataCommons_slim&issues=AaFZZ4rAkF_pmV8vbHi8&open=AaFZZ4rAkF_pmV8vbHi8&pullRequest=451