Notification UI #3
Quality Gate passed
Annotations
Check failure on line 73 in src/hooks/useAccessibility.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `.dataset` over `setAttribute(…)`.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJDSPU4l3pg_eQVg&open=AZ0wNJDSPU4l3pg_eQVg&pullRequest=3
Check warning on line 47 in src/components/NotificationContainer.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJCmPU4l3pg_eQVW&open=AZ0wNJCmPU4l3pg_eQVW&pullRequest=3
Check warning on line 42 in src/components/NotificationItem.tsx
sonarqubecloud / SonarCloud Code Analysis
Prefer `globalThis` over `window`.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJC8PU4l3pg_eQVZ&open=AZ0wNJC8PU4l3pg_eQVZ&pullRequest=3
Check warning on line 3 in src/components/NotificationActionList.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJCxPU4l3pg_eQVX&open=AZ0wNJCxPU4l3pg_eQVX&pullRequest=3
Check warning on line 54 in src/components/NotificationItem.tsx
sonarqubecloud / SonarCloud Code Analysis
Prefer `globalThis` over `window`.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJC8PU4l3pg_eQVb&open=AZ0wNJC8PU4l3pg_eQVb&pullRequest=3
Check warning on line 42 in src/__tests__/NotificationProvider.test.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJB7PU4l3pg_eQVR&open=AZ0wNJB7PU4l3pg_eQVR&pullRequest=3
Check warning on line 7 in src/components/NotificationProgress.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJCbPU4l3pg_eQVT&open=AZ0wNJCbPU4l3pg_eQVT&pullRequest=3
Check warning on line 119 in src/components/NotificationItem.tsx
sonarqubecloud / SonarCloud Code Analysis
`tabIndex` should only be declared on interactive elements.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJC8PU4l3pg_eQVd&open=AZ0wNJC8PU4l3pg_eQVd&pullRequest=3
Check warning on line 1 in src/utils/index.ts
sonarqubecloud / SonarCloud Code Analysis
export statement without specifiers is not allowed.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJDvPU4l3pg_eQVj&open=AZ0wNJDvPU4l3pg_eQVj&pullRequest=3
Check warning on line 20 in src/components/NotificationContainer.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJCmPU4l3pg_eQVU&open=AZ0wNJCmPU4l3pg_eQVU&pullRequest=3
Check warning on line 120 in src/components/NotificationItem.tsx
sonarqubecloud / SonarCloud Code Analysis
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJC8PU4l3pg_eQVc&open=AZ0wNJC8PU4l3pg_eQVc&pullRequest=3
Check warning on line 48 in src/components/NotificationItem.tsx
sonarqubecloud / SonarCloud Code Analysis
Prefer `globalThis` over `window`.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJC8PU4l3pg_eQVa&open=AZ0wNJC8PU4l3pg_eQVa&pullRequest=3
Check warning on line 25 in src/components/NotificationItem.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJC8PU4l3pg_eQVY&open=AZ0wNJC8PU4l3pg_eQVY&pullRequest=3
Check warning on line 33 in src/hooks/useAccessibility.ts
sonarqubecloud / SonarCloud Code Analysis
'If' statement should not be the only statement in 'else' block
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJDSPU4l3pg_eQVf&open=AZ0wNJDSPU4l3pg_eQVf&pullRequest=3
Check warning on line 53 in src/components/NotificationIcon.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJDHPU4l3pg_eQVe&open=AZ0wNJDHPU4l3pg_eQVe&pullRequest=3
Check warning on line 87 in src/store/notificationStore.ts
sonarqubecloud / SonarCloud Code Analysis
Member 'listeners' is never reassigned; mark it as `readonly`.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJDfPU4l3pg_eQVi&open=AZ0wNJDfPU4l3pg_eQVi&pullRequest=3
Check warning on line 24 in src/components/NotificationProvider.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJCPPU4l3pg_eQVS&open=AZ0wNJCPPU4l3pg_eQVS&pullRequest=3
Check warning on line 33 in src/components/NotificationContainer.tsx
sonarqubecloud / SonarCloud Code Analysis
Use <section aria-label=...>, or <section aria-labelledby=...> instead of the "region" role to ensure accessibility across all devices.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJCmPU4l3pg_eQVV&open=AZ0wNJCmPU4l3pg_eQVV&pullRequest=3
Check failure on line 74 in src/hooks/useAccessibility.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `.dataset` over `setAttribute(…)`.
See more on https://sonarcloud.io/project/issues?id=CISCODE-MA_NotificationKit-UI&issues=AZ0wNJDSPU4l3pg_eQVh&open=AZ0wNJDSPU4l3pg_eQVh&pullRequest=3