Repository navigation
refactor(site/src): migrate click info popovers to hover tooltips - #28875
Merged
Merged
Conversation
chrifro
force-pushed
the
chrifro/hover-info-tooltips
branch
2 times, most recently
from
September 2, 2026 12:00
dea8e98 to
7a1054d
Compare
chrifro
changed the base branch from
main
to
chrifro/hover-tooltips-foundation
September 2, 2026 12:01
chrifro
force-pushed
the
chrifro/hover-info-tooltips
branch
from
September 2, 2026 12:34
7a1054d to
8685f10
Compare
chrifro
marked this pull request as ready for review
September 2, 2026 12:49
aslilac
reviewed
Sep 2, 2026
chrifro
force-pushed
the
chrifro/hover-info-tooltips
branch
from
September 11, 2026 13:29
8685f10 to
98979c5
Compare
chrifro
force-pushed
the
chrifro/hover-info-tooltips
branch
from
September 11, 2026 13:44
98979c5 to
3c87700
Compare
chrifro
force-pushed
the
chrifro/hover-info-tooltips
branch
from
September 11, 2026 14:07
3c87700 to
cf1cb75
Compare
aslilac
approved these changes
Sep 16, 2026
chrifro
force-pushed
the
chrifro/hover-info-tooltips
branch
2 times, most recently
from
September 17, 2026 10:22
661a3ed to
8180765
Compare
chrifro
force-pushed
the
chrifro/hover-info-tooltips
branch
from
September 17, 2026 10:25
8180765 to
246d154
Compare
chrifro
added a commit
that referenced
this pull request
Sep 18, 2026
…28903) Part 1 of 2 of the tooltip cleanup (split for review). This PR adds the reusable piece; the follow-up migrates call sites. Makes `InfoTooltip` a **hover** tooltip built on the shared `Tooltip` instead of the click-based `HelpPopover`, and consolidates hover timing: - `type` (`info` / `warning`) and `size` (`small` / `medium`) props - right / center placement (`side="right"`, `align="center"`) - `size="sm"` links spaced from the body text - `TOOLTIP_DELAY_DURATION` (100ms) shared by the app-wide provider and `InfoTooltip`, so info tooltips no longer inherit Radix's 700ms default No call sites change here beyond the existing `InfoTooltip` consumers picking up the new hover behavior automatically. ### Before / After The affordance reveals on hover (was click), uses the info / warning icon (was a `?`), opens to the right, and is snappier (100ms vs 700ms). <img width="320" src="https://raw.githubusercontent.com/coder/coder/429b230efbe38bfa3f7fc2bac5c8fad71fa50e4a/.assets/after-info.png" /> <img width="320" src="https://raw.githubusercontent.com/coder/coder/429b230efbe38bfa3f7fc2bac5c8fad71fa50e4a/.assets/after-warning.png" /> ### Stack - **This PR (1/2):** the `InfoTooltip` component + shared delay. - **Follow-up (2/2):** #28875 — migrate the click `HelpPopover` info affordances across pages/modules to this component. --- 🤖 Generated with Coder Agents on behalf of @chrifro.
Replace the click-based HelpPopover info affordances across pages and modules with the hover InfoTooltip (and base Tooltip for status/latency indicators). Genuinely interactive popovers (update actions, forms, breadcrumb hovercards) stay click based. Stacked on the InfoTooltip foundation change.
chrifro
force-pushed
the
chrifro/hover-info-tooltips
branch
from
September 18, 2026 09:17
246d154 to
61cbf61
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 2 of 2 of the tooltip cleanup (split for review). Stacked on #28903 — review/merge that first.
Migrates the click-based
HelpPopoverinfo affordances across pages and modules to the hoverInfoTooltip(and the baseTooltipfor the agent status/latency indicators) added in #28903, so help text reveals on hover consistently.Converted: Audit, Connection log, AI Gateway, Workspaces, Templates, Template embed, Publish version, IdP group/org sync, Create workspace, Workspace parameters, Template insights, User roles/groups, Active users, and the agent status/latency/warning indicators. Also removes the leftover
cursor-help"?" cursor from tooltip triggers.Genuinely interactive popovers stay click based (a hover tooltip is the wrong primitive): the workspace/agent "outdated → Update" popovers, the SSH / port-forward / build-parameter menus, and the breadcrumb hovercards.
Before / After
Representative example (the same shared component every migrated call site now uses). Help reveals on hover (was click), uses the info / warning icon (was a
?), opens to the right, and links match the body text size.Design decisions
Tooltip(transient labels) and clickHelpPopover(rich content). This work moves every genuine info/help reveal onto the hover family and keeps interactive surfaces on the click family.sizeprop (small= 12px,medium= 16px) to match the previousHelpPopoverIconTriggersizes.Link size="sm"so they match thetext-xsbody, with a small top margin for separation.AgentOutdatedTooltip,SubAgentOutdatedTooltip,WorkspaceOutdatedTooltip(contain an Update action with controlled open state),SSHButton/PortForwardButton/BuildParametersPopover(button-triggered menus/forms), and theWorkspaceTopbarbreadcrumb hovercards (navigation links).Stack
InfoTooltipcomponent + shared delay.🤖 Generated with Coder Agents on behalf of @chrifro.