Skip to content

fix(frontend): mark the two click-to-close backdrops as reviewed for Sonar - #477

Merged
polterguy merged 2 commits into
masterfrom
fix/sonar-backdrop-smells
Dec 5, 2026
Merged

polterguy merged 2 commits into
masterfrom
fix/sonar-backdrop-smells

Conversation

@polterguy

Copy link
Copy Markdown
Owner

This PR is stacked on #476. Merge #476 first; this PR's diff then shrinks to the one commit below.

The two open code smells

SonarCloud reports two typescript:S6819 smells, the only two open:

  • frontend/src/app/components/CommandPalette.tsx, the palette backdrop
  • frontend/src/app/components/Layout.tsx, the mobile drawer backdrop

S6819 wants <img alt> in place of role="presentation". That fits images, not a backdrop that closes the palette or drawer when clicked. Both elements keep role="presentation" and now carry a // NOSONAR -- comment giving the reason. This follows the repo's existing convention, for example the status dot in TrainingTab.tsx.

Prettier and ESLint pass, and the pre-push hook's format check, lint, typecheck and tests all passed.

Bumps the version to v24.5.6.

🤖 Generated with Claude Code

…Sonar

Sonar's S6819 asks for an <img alt> instead of role="presentation", which
fits images, not a backdrop that closes the command palette or the mobile
drawer when clicked. Both keep role="presentation" and now carry a NOSONAR
with the reason, the same way TrainingTab's status dot does.

Bumps the version to v24.5.6.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

@polterguy
polterguy merged commit 161ac3c into master Dec 5, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant