Skip to content

Add tooltips to navigation tab bar buttons#732

Open
kevinaboos wants to merge 1 commit intomainfrom
palette-ux-tooltips-14787294448442673137
Open

Add tooltips to navigation tab bar buttons#732
kevinaboos wants to merge 1 commit intomainfrom
palette-ux-tooltips-14787294448442673137

Conversation

@kevinaboos
Copy link
Member

Implemented tooltips for the main navigation buttons in src/home/navigation_tab_bar.rs.

  • Iterated over the buttons (home_button, add_room_button, settings_button, toggle_spaces_bar_button).
  • Added Hit::FingerHoverIn and Hit::FingerHoverOut handling in handle_event.
  • Dispatched TooltipAction events to show/hide tooltips with appropriate text and positioning.

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

Added tooltips to the 'Home', 'Add / Join Room', 'Settings', and 'Spaces' buttons in the `NavigationTabBar` component. This improves accessibility and usability by clarifying the purpose of these icon-only buttons. The tooltips are positioned responsively (Right for Desktop, Top for Mobile).

Verified with `cargo check` and `cargo clippy`.

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.

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