Skip to content

Firefly-2119: Tooltip Design and Bug Fixes - #2042

Open
aventura121 wants to merge 8 commits into
devfrom
FIREFLY-2119-tooltip-on-focus
Open

aventura121 wants to merge 8 commits into
devfrom
FIREFLY-2119-tooltip-on-focus

Conversation

@aventura121

@aventura121 aventura121 commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Firefly-2119 Tooltip User Experience/Design Improvements

Description

This pull requests addresses the design and state management issues seen below, characterized by the tooltips rendering on hover, and then duplicating or overlapping on scroll or changing focus; and the tooltips in the table dropdown often carrying no information (i.e. they are redundant).

Existing Column Tooltip Pattern column-tip
Existing Filter Tooltip Pattern filter-tip
Existing Table Options Tooltip Pattern options-tip
Existing Redundant Tooltip Pattern redundant-tooltip

Approach

For the filter boxes, the TAP constraint cells, and the Table Options column cells, the tooltip shows only while the input has focus, and moving the cursor off the box closes it. The cells also track their row index to handle scrolling.

For the TAP Project and Tables dropdowns, the tooltip shows only when it adds information: when an option's description is cut at the 140-character limit, the tooltip shows the full text.

Testing/Validation

Build: https://firefly-2119-tooltip-on-focus-3.irsakubedev.ipac.caltech.edu/firefly

Filter and Constraints Help Syntax

  1. Hover a filter input. We expect the tooltip to not show.
  2. Click into the input. We expect the tooltip to show.
  3. Move the cursor off the input. We expect the tooltip not to show.

The same behavior is expected on the contraints' cells, and in the table options view.

  • Notice also, if you scroll beyond the rows in view, the tooltip will close.

Tables Dropdown

In the table selection dropdown, we can view a source like GAVO, which has long descriptions for its tables, and see we still render such tooltips:

GAVO screenshot (continue to show tooltip because the description is long and carries information) GAVO

Where the options' text is fully visible by default, we do not render the tooltip:

NED screenshot (do not show tooltip because there is no additional information) NED

@aventura121 aventura121 added this to the 2026.4 milestone Oct 13, 2026
@aventura121 aventura121 self-assigned this Oct 13, 2026
@aventura121 aventura121 changed the title Firefly 2119 tooltip on focus Firefly-2119: Tooltip Design and Bug Fixes Oct 13, 2026
@aventura121
aventura121 marked this pull request as ready for review October 15, 2026 16:03
@aventura121
aventura121 marked this pull request as draft October 15, 2026 16:04
@aventura121
aventura121 marked this pull request as ready for review October 15, 2026 16:16
@lrebull

lrebull commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

wow, this is really impressive! works great as far as i can see!

@loitly loitly left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes look great. I like the simplicity of this approach.
I noticed one minor issue (which may already exist). When I focus on a filter box, the tooltip appears as expected. However, after moving the mouse away and using Tab to navigate to other filter boxes, the tooltip continues to pop up for each one, even though the mouse is no longer hovering over any of them.

If it's an easy fix, could you include it in this PR? Not a big deal if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants