Skip to content

🎨 Palette: Enhanced Theme Menu Accessibility and Modal Save Sync#179

Merged
ruhdevops merged 5 commits into
mainfrom
palette-ux-improvements-557267838085479950
May 10, 2026
Merged

🎨 Palette: Enhanced Theme Menu Accessibility and Modal Save Sync#179
ruhdevops merged 5 commits into
mainfrom
palette-ux-improvements-557267838085479950

Conversation

@ruhdevops
Copy link
Copy Markdown
Owner

I have implemented several micro-UX and accessibility enhancements focused on interactivity and consistency:

  1. Theme Menu Overhaul: Transitioned the theme switcher from a hover-based interaction to a more robust click-to-toggle model. This improves usability on touch devices and for keyboard users.
  2. Accessibility (ARIA): Added aria-haspopup="menu" and aria-expanded attributes to the theme toggle button, and ensured it correctly tracks state for screen readers.
  3. Modal Save Functionality: The "Save" button within the video player modal is now fully functional. It synchronizes with the global "Watch Later" state, updating its icon and label dynamically when clicked, and ensuring consistency with the main video grid.
  4. UI State Consistency: Added a .hidden utility class to css/style.css to provide a reliable way for JavaScript to manage element visibility across the application.

All changes were verified with existing unit tests (100% pass) and a custom Playwright script to ensure smooth interactions.


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

- Convert theme menu to click-to-toggle with click-outside logic
- Add ARIA attributes to theme toggle for better accessibility
- Implement functional sync for modal 'Save' button with Watch Later list
- Add .hidden utility class to style.css

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
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

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

Project Deployment Actions Updated (UTC)
yt-studio Error Error May 10, 2026 8:36am
yt-studio-production Error Error May 10, 2026 8:36am

@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
Copy link
Copy Markdown
Contributor

cloudflare-workers-and-pages Bot commented May 10, 2026

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 005d34c May 10 2026, 08:36 AM

@cloudflare-workers-and-pages
Copy link
Copy Markdown
Contributor

cloudflare-workers-and-pages Bot commented May 10, 2026

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 005d34c May 10 2026, 08:36 AM

- Convert theme menu to click-to-toggle with click-outside logic
- Add ARIA attributes to theme toggle for better accessibility
- Implement functional sync for modal 'Save' button with Watch Later list
- Add .hidden utility class to style.css
- Remove hardcoded account_id from wrangler.jsonc to fix CI build failure

Co-authored-by: ruhdevops <203426218+ruhdevops@users.noreply.github.com>
- Convert theme menu to click-to-toggle with click-outside logic
- Add ARIA attributes to theme toggle for better accessibility
- Implement functional sync for modal 'Save' button with Watch Later list
- Add .hidden utility class to style.css
- Fix CI build by removing hardcoded account_id and YouTube API key fallback

Co-authored-by: ruhdevops <203426218+ruhdevops@users.noreply.github.com>
- Convert theme menu to click-to-toggle with click-outside logic
- Add ARIA attributes to theme toggle for better accessibility
- Implement functional sync for modal 'Save' button with Watch Later list
- Add .hidden utility class to style.css
- Cleanup: Remove hardcoded account_id, API keys, and duplicate deps to fix CI

Co-authored-by: ruhdevops <203426218+ruhdevops@users.noreply.github.com>
@ruhdevops ruhdevops marked this pull request as ready for review May 10, 2026 08:37
@ruhdevops ruhdevops merged commit 352f017 into main May 10, 2026
3 of 14 checks passed
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