Skip to content

feat: add close button to demo callout to exit mid-demo - #586

Merged
imantsk merged 2 commits into
release/v4.0.0/corefrom
feat/demo-callout-close/core
Oct 12, 2026
Merged

imantsk merged 2 commits into
release/v4.0.0/corefrom
feat/demo-callout-close/core

Conversation

@imantsk

@imantsk imantsk commented Oct 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds an Exit demo (X) button to the top-right of .demo-callout in the Blueprints, Cloud Library and AI Agent demos.
  • Clicking it ends the walkthrough the same way Skip animation does, jumping to the closing panel.
  • The callout text stays hidden from assistive technology (each stage is already announced by a live region); the close button is exposed with an accessible name.

Testing

  • ESLint and Stylelint pass on the changed files; no TypeScript errors in the changed files.
  • New Playwright test in tests/e2e/blueprints-demo.spec.ts: starts the demo, clicks Exit demo, and checks that the closing panel appears and the callout is gone.

@imantsk imantsk added the build Adding this label will trigger the zip build action label Oct 12, 2026
@code-snippets-bot

code-snippets-bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Download and install

📦 code-snippets.4.0.0.zip

@imantsk
imantsk merged commit b7744db into release/v4.0.0/core Oct 12, 2026
2 checks passed
@imantsk
imantsk deleted the feat/demo-callout-close/core branch October 12, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Adding this label will trigger the zip build action

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants