Skip to content

Dim slideshow toolbar when idle - #67011

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-slideshow-toolbar-opacity
Oct 8, 2026
Merged

pelikhan merged 1 commit into
mainfrom
copilot/update-slideshow-toolbar-opacity

Conversation

Copilot AI commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

The slideshow toolbar should stay near-transparent when it is neither hovered nor focused, leaving more of the slide unobstructed.

  • Toolbar behavior: Keep the toolbar at 10% opacity when idle and restore full opacity on hover or focus. An expanded drawing panel alone no longer keeps it opaque.
  • Regression coverage: Add checks for idle, hover, and focus states.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI requested a review from pelikhan October 8, 2026 22:38
@pelikhan
pelikhan marked this pull request as ready for review October 8, 2026 22:57
Copilot AI balanced review requested due to automatic review settings October 8, 2026 22:57
@pelikhan
pelikhan merged commit d772d14 into main Oct 8, 2026
9 checks passed
@pelikhan
pelikhan deleted the copilot/update-slideshow-toolbar-opacity branch October 8, 2026 22:57

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.

🟡 Changes recommended

An existing test still expects the expanded drawing panel to keep the toolbar opaque, contradicting the new behavior.

1 open finding
What changed in this PR

Dims slideshow controls when idle while restoring full opacity on hover or focus.

Changes:

  • Uses :focus-within for toolbar focus state.
  • Adds idle, hover, and focus regression checks.
File Description
docs/​src/​components/​landing/​LandingSlideshow.astro Updates toolbar opacity selectors.
docs/​tests/​slideshow.spec.ts Adds toolbar-state coverage.

🧠 Review effort: Balanced


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

await page.goto("/gh-aw/");
});

test("dims the toolbar only when neither hovered nor focused", async ({ page }) => {
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.91.7

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.

3 participants