Skip to content

🎨 Palette: Add visual keyboard shortcut to Run button#375

Merged
saint2706 merged 3 commits intomainfrom
palette-add-run-shortcut-hint-11077410658317906139
Feb 14, 2026
Merged

🎨 Palette: Add visual keyboard shortcut to Run button#375
saint2706 merged 3 commits intomainfrom
palette-add-run-shortcut-hint-11077410658317906139

Conversation

@saint2706
Copy link
Owner

💡 What: Added a visual "Shift+Enter" hint to the Run button in Python code playgrounds and a tooltip to the Reset button.
🎯 Why: To improve discoverability of keyboard shortcuts and button functions for better UX and accessibility.
📸 Before/After: Screenshot verified.
♿ Accessibility: Maintains existing ARIA labels while adding visual cues for sighted users.


PR created automatically by Jules for task 11077410658317906139 started by @saint2706

…Reset button

- Added a `<kbd>` element to the PythonRunner "Run" button to visually indicate the "Shift+Enter" keyboard shortcut.
- Added a `title` tooltip to the CodePlayground "Reset" button for better discoverability.
- Verified changes with Playwright screenshot and e2e tests.

Co-authored-by: saint2706 <45678566+saint2706@users.noreply.github.com>
@google-labs-jules
Copy link
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.

Copilot AI review requested due to automatic review settings February 14, 2026 03:53
Copy link
Contributor

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

Improves the Python playground UX by making key actions more discoverable: adds a visible keyboard shortcut hint to the Run button and a tooltip to the Reset button, alongside some small formatting-only refactors.

Changes:

  • Add a visible Shift+Enter shortcut hint next to the Run button label in PythonRunner.
  • Add a title tooltip to the Reset button in CodePlayground.
  • Apply minor formatting refactors to link safety utilities and the Markdown link renderer.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
src/components/PythonRunner.tsx Adds a visible <kbd> “Shift+Enter” hint to the Run button label.
src/components/CodePlayground.tsx Adds a title attribute tooltip for the Reset button.
src/utils/linkSafety.ts Formatting-only changes to the secure link attribute helper.
src/components/MarkdownRenderer.tsx Formatting-only change to the rendered <a> tag.

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

saint2706 and others added 2 commits February 14, 2026 16:53
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@saint2706 saint2706 merged commit 72f0d13 into main Feb 14, 2026
1 check passed
@saint2706 saint2706 deleted the palette-add-run-shortcut-hint-11077410658317906139 branch February 14, 2026 11:23
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