Skip to content

chore: exclude focus and blur events from CEM output#11386

Merged
web-padawan merged 1 commit into
mainfrom
chore/cem-filter-focus-events
Mar 23, 2026
Merged

chore: exclude focus and blur events from CEM output#11386
web-padawan merged 1 commit into
mainfrom
chore/cem-filter-focus-events

Conversation

@web-padawan
Copy link
Copy Markdown
Member

Summary

  • Exclude focus and blur native events from CEM output by adding them to the ignoredEvents deny list
  • These events are picked up by CEM from internal dispatchEvent calls without @fires annotations and are not part of the component public API

Test plan

  • Run yarn release:cem and verify no errors
  • Verify no focus or blur events remain in any custom-elements.json file

🤖 Generated with Claude Code

These native events are picked up by CEM without @fires annotations
and are not part of the component public API. Filter them out alongside
the existing eventName false positive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Maintainability 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

@web-padawan web-padawan removed the request for review from tomivirkki March 23, 2026 12:30
@web-padawan web-padawan merged commit a649168 into main Mar 23, 2026
9 of 10 checks passed
@web-padawan web-padawan deleted the chore/cem-filter-focus-events branch March 23, 2026 12:30
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.

2 participants