Skip to content

[website] Tweak demo actions and update OG image#69

Merged
aurorascharff merged 4 commits into
mainfrom
tweak-website
May 31, 2026
Merged

[website] Tweak demo actions and update OG image#69
aurorascharff merged 4 commits into
mainfrom
tweak-website

Conversation

@aurorascharff
Copy link
Copy Markdown
Owner

[website] Tweak demo actions and update OG image

Copilot AI review requested due to automatic review settings May 31, 2026 10:09
@vercel
Copy link
Copy Markdown

vercel Bot commented May 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
click-light Ready Ready Preview, Comment May 31, 2026 10:32am

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the website demo’s live keyboard shortcut overlay to more closely mirror the macOS app behavior, including improved key labeling and a fade-out animation.

Changes:

  • Added a displayKey() helper to map KeyboardEvent input to on-screen shortcut labels (e.g., arrows, delete/backspace, function keys).
  • Updated shortcut overlay timing to use separate “visible” and “fade” phases, with explicit timeout cleanup.
  • Added CSS for fading the shortcut overlay via an opacity transition.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
website/app/page.tsx Refines keydown handling and shortcut overlay lifecycle (labeling + fade/remove timers).
website/app/globals.css Adds .shortcut-display opacity transition and a .fading state.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread website/app/page.tsx Outdated
@aurorascharff aurorascharff merged commit bfb080a into main May 31, 2026
5 checks passed
@aurorascharff aurorascharff deleted the tweak-website branch May 31, 2026 10:32
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