Skip to content

🎨 Palette: Add 'B' keyboard shortcut for Watch Later and UI hints#203

Open
ruhdevops wants to merge 1 commit into
mainfrom
palette/watch-later-shortcut-16227352940846452898
Open

🎨 Palette: Add 'B' keyboard shortcut for Watch Later and UI hints#203
ruhdevops wants to merge 1 commit into
mainfrom
palette/watch-later-shortcut-16227352940846452898

Conversation

@ruhdevops

Copy link
Copy Markdown
Owner

💡 What: The UX enhancement added

Implemented the 'B' keyboard shortcut to toggle the Watch Later feature and added visual/accessible hints to the UI.

🎯 Why: The user problem it solves

Improves efficiency for power users by providing a quick way to save videos or access the Watch Later list without using the mouse.

♿ Accessibility: Any a11y improvements made

  • Added shortcut hints to aria-label attributes to ensure screen reader users are aware of the shortcut.
  • Synced dynamic state updates with aria-labels.
  • Shortcut listener respects input/textarea focus to avoid interfering with text entry.

PR created automatically by Jules for task 16227352940846452898 started by @ruhdevops

- Implement 'B' keyboard shortcut to toggle Watch Later (toggles video if open, otherwise toggles panel).
- Add (B) shortcut hints to 'title' and 'aria-label' attributes for discoverability and accessibility.
- Sync dynamic aria-label updates in JS with shortcut hints.

Co-authored-by: ruhdevops <203426218+ruhdevops@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@vercel

vercel Bot commented Jun 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
yt-studio Error Error Jun 6, 2026 3:57am
yt-studio-production Error Error Jun 6, 2026 3:57am

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
ytstudio cc6c38b Jun 06 2026, 03:57 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
ytstudio cc6c38b Jun 06 2026, 03:57 AM

@netlify

netlify Bot commented Jun 6, 2026

Copy link
Copy Markdown

Deploy Preview for ytr-studio failed.

Name Link
🔨 Latest commit cc6c38b
🔍 Latest deploy log https://app.netlify.com/projects/ytr-studio/deploys/6a239a8cf6a6410009a74210

@netlify

netlify Bot commented Jun 6, 2026

Copy link
Copy Markdown

Deploy Preview for elegant-seahorse-d9d460 ready!

Name Link
🔨 Latest commit cc6c38b
🔍 Latest deploy log https://app.netlify.com/projects/elegant-seahorse-d9d460/deploys/6a239a8c13ad37000864242a
😎 Deploy Preview https://deploy-preview-203--elegant-seahorse-d9d460.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@ruhdevops ruhdevops marked this pull request as ready for review June 10, 2026 16:38

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cc6c38bdab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread js/app.js
if (AppState.current) {
toggleWatchLater(AppState.current);
} else if (DOM.watchLaterPage) {
const isVisible = window.getComputedStyle(DOM.watchLaterPage).display !== 'none';

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use aria-hidden to detect Watch Later visibility

On a fresh page load, the Watch Later panel is hidden off-canvas by .side-panel[aria-hidden]/right, but its computed display is still block, so the first press of B outside a video takes this branch as “visible” and calls closeWatchLater() instead of opening the panel. This makes the advertised shortcut require two presses until the panel has been closed once via inline display: none; checking aria-hidden (or the right/open state) would match how the panel is initially hidden.

Useful? React with 👍 / 👎.

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.

1 participant