Skip to content

Fix close - #891

Merged
SharonStrats merged 1 commit into
stagingfrom
fix/close
Oct 13, 2026
Merged

SharonStrats merged 1 commit into
stagingfrom
fix/close

Conversation

@SharonStrats

Copy link
Copy Markdown
Contributor

Forgot to handle the close, just added the button wasn't thinking 😅.

@SharonStrats SharonStrats self-assigned this Oct 13, 2026
@SharonStrats
SharonStrats marked this pull request as ready for review October 13, 2026 00:54
Copilot AI balanced review requested due to automatic review settings October 13, 2026 00:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The close behavior is correctly implemented and adequately tested.

0 open findings

What changed in this PR

Adds functional close handling to the error-state component while preserving an accessible button label.

Changes:

  • Dispatches a bubbling, composed close event when activated.
  • Adds screen-reader-only close text and event coverage.
File Description
src/​components/​error-state/​ErrorState.ts Implements accessible close-event handling.
test/​components/​error-state.test.ts Verifies the label and dispatched event.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@SharonStrats
SharonStrats merged commit 6a48954 into staging Oct 13, 2026
10 checks passed
@SharonStrats
SharonStrats deleted the fix/close branch October 13, 2026 19:54
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants