Skip to content

Add tooltip to Jump to Bottom button#697

Merged
kevinaboos merged 2 commits intomainfrom
palette-tooltip-jump-to-bottom-13908182130717325989
Feb 6, 2026
Merged

Add tooltip to Jump to Bottom button#697
kevinaboos merged 2 commits intomainfrom
palette-tooltip-jump-to-bottom-13908182130717325989

Conversation

@kevinaboos
Copy link
Member

Added a tooltip to the "Jump to Bottom" button.

Why:
The "Jump to Bottom" button is an icon-only button. Adding a tooltip improves accessibility and clarity for users who might not immediately recognize the icon's function.

How:

  • Modified src/shared/jump_to_bottom_button.rs to intercept FingerHoverIn and FingerHoverOut events on the inner IconButton.
  • Dispatched TooltipAction::HoverIn with the text "Jump to bottom" and position Left (since the button is at the bottom right).
  • Dispatched TooltipAction::HoverOut when the hover ends.

Testing:

  • Ran cargo check and cargo clippy to ensure no compilation errors or linting issues.
  • Verified imports and struct definitions in src/shared/callout_tooltip.rs.

PR created automatically by Jules for task 13908182130717325989 started by @kevinaboos

Adds a tooltip to the "Jump to Bottom" icon-only button to improve accessibility and usability.
This is implemented by handling hover events in the `JumpToBottomButton` widget and dispatching `TooltipAction`s.

- Imports `TooltipAction`, `CalloutTooltipOptions`, `TooltipPosition` in `src/shared/jump_to_bottom_button.rs`
- Updates `JumpToBottomButton::handle_event` to emit tooltip actions on hover.

Co-authored-by: kevinaboos <1139460+kevinaboos@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.

@kevinaboos kevinaboos changed the title 🎨 Palette: Add tooltip to Jump to Bottom button Add tooltip to Jump to Bottom button Feb 6, 2026
@kevinaboos kevinaboos merged commit e06bfb4 into main Feb 6, 2026
11 checks passed
@kevinaboos kevinaboos deleted the palette-tooltip-jump-to-bottom-13908182130717325989 branch February 6, 2026 00:21
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