Skip to content

🎨 Palette: Keyboard shortcut for Dashboard and UI hints#208

Open
ruhdevops wants to merge 4 commits into
mainfrom
palette-dashboard-shortcut-15904331516081921583
Open

🎨 Palette: Keyboard shortcut for Dashboard and UI hints#208
ruhdevops wants to merge 4 commits into
mainfrom
palette-dashboard-shortcut-15904331516081921583

Conversation

@ruhdevops

Copy link
Copy Markdown
Owner

💡 What: Added 'D' keyboard shortcut to toggle the Dashboard panel and updated the Dashboard button's title with the '(D)' hint.
🎯 Why: Improves power-user navigation and discoverability of features, ensuring consistency with existing Search (/) and Watch Later (B) shortcuts.
♿ Accessibility: Added shortcut hints to tooltips and ensured shortcuts don't conflict with input fields.
📸 Before/After: Dashboard button title changed from "View Dashboard" to "View Dashboard (D)". Keyboard navigation is now more complete.


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

- Implement 'D' keyboard shortcut to toggle Dashboard panel.
- Update #dashboardBtn title with '(D)' hint for discoverability.
- Consolidate 'B' and 'T' shortcuts in global keydown listener.
- Add e.preventDefault() to global shortcuts to prevent default browser actions.

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 14, 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 14, 2026 4:03am
yt-studio-production Error Error Jun 14, 2026 4:03am

@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 14, 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 756a21a Jun 14 2026, 04:04 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 14, 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 756a21a Jun 14 2026, 04:04 AM

@netlify

netlify Bot commented Jun 14, 2026

Copy link
Copy Markdown

Deploy Preview for ytr-studio failed.

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

@netlify

netlify Bot commented Jun 14, 2026

Copy link
Copy Markdown

Deploy Preview for elegant-seahorse-d9d460 ready!

Name Link
🔨 Latest commit 756a21a
🔍 Latest deploy log https://app.netlify.com/projects/elegant-seahorse-d9d460/deploys/6a2e281179cb0c00087e8d37
😎 Deploy Preview https://deploy-preview-208--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.

- Implement 'D' shortcut to toggle Dashboard.
- Update #dashboardBtn title with '(D)' hint.
- Refactor keydown listener to prevent default browser behavior.
- Remove significant redundant code blocks in js/app.js (duplicated nav listeners).
- Ensure shortcut consistency and better accessibility.

Co-authored-by: ruhdevops <203426218+ruhdevops@users.noreply.github.com>
- Implement 'D' keyboard shortcut to toggle Dashboard panel.
- Update #dashboardBtn title with '(D)' hint for discoverability.
- Add e.preventDefault() to 'T', 'B', and 'D' shortcuts to prevent default browser actions.
- Ensure 'B' shortcut is context-aware (toggles save state when modal is open).

Co-authored-by: ruhdevops <203426218+ruhdevops@users.noreply.github.com>
- Implement 'D' keyboard shortcut to toggle Dashboard panel.
- Update #dashboardBtn title with '(D)' hint for discoverability.
- Add e.preventDefault() to 'T', 'B', and 'D' shortcuts to prevent default browser actions.
- Ensure 'B' shortcut is context-aware (toggles save state when modal is open).

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

@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: 756a21a8a3

ℹ️ 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 (DOM.dashboardModal.style.display === 'block') {
closeDashboard();
} else {
openDashboard();

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 Do not open dashboard over an active panel

When another overlay is already open, this global shortcut still calls openDashboard() instead of closing or ignoring the existing panel. For example, open Watch Later, press D, then press D again: closeDashboard() clears body.modal-open/overflow and restores lastFocused even though Watch Later is still visible, leaving the background scrollable and focus state inconsistent. Please guard against other active panels/modals or close them before opening the dashboard.

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