Repository navigation
feat(prompts): show a day block's positions in a styled tooltip on the positions panel - #1090
Merged
Merged
Conversation
…s cards The Prompts table counts answers (Runs), the brand's mentions in them (Mentions) and its own sources (Citations); the positions panel counted days and platforms, so none of the table's numbers could be found in it. Each summary card now also says what the table counts: "37 answers", "In 37 of 37 answers · 108 mentions", "In 27 of 37 answers · 54 citations", on the 24h view too. The days view the panel was built around stays as it was. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d isn't named in The Positions column offered "See" only when the brand had a mention or a citation, so a prompt that was tracked but never named read "—", like one with no answers at all, and its panel (where "Not mentioned" and the Improve tab are) could only be reached through the row's menu. The button now shows whenever the prompt has answers in the window, and the cell says "Not mentioned" for such a prompt. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e positions panel A day block's details were the browser's title tooltip: it came up after a second, couldn't be styled, and on some browsers didn't show at all. They now open at once in a tooltip in the app's popover look, which follows the pointer from block to block. Each platform row shares one tooltip, each block passing its text, rather than mounting up to 90. The blocks stay out of the tab order; the platform's day list says the same. The Base UI tooltip gets a thin wrapper in components/ui, like the select and combobox. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The 24h cards count platforms in their latest run, so their answer lines now say they cover the whole period; and where the plan locks a platform, whose answers the panel never reads, a note says the counts cover the included platforms. The panel gets a test for its cards. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…-unmentioned # Conflicts: # web/messages/en.json
…d test the panel button A tracked prompt whose pages were cited without the brand being named read "Not mentioned"; it now reads "Cited only", as the panel's legend calls that state. Whether a row offers its panel moves into opensPositionsPanel, next to positionCellKind, so the rule has a test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ay-tooltip # Conflicts: # web/src/components/prompts/prompt-positions-sheet.test.tsx
This was referenced Oct 16, 2026
Collaborator
Author
|
@gkhngyk the day blocks' details move from the |
…-tooltip main now carries ansvisor#1088 and ansvisor#1089 as squashes; their files come from main, and this branch's tooltip changes stay as they were.
gkhngyk
approved these changes
Oct 16, 2026
7 of 12 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
A day block's positions on the positions panel now show in a styled tooltip that opens at once, instead of the browser's
titletooltip.On 7d / 30d / 90d, each platform row has a block per day. Hovering one was meant to show that day's positions (#1003). It used the
titleattribute, which:Now the same text ("Sep 26, 2026 · 1 run / Mentioned · Early · #1 of 3 / Not cited") opens at once in a tooltip in the app's popover look, and follows the pointer from block to block.
How
components/ui/tooltip.tsxis a thin wrapper around Base UI's tooltip (already a dependency, so nothing new to install), in the style ofselect.tsxandcombobox.tsx.createTooltipHandle). Each block passes its text as the payload, instead of mounting 720 tooltips.aria-labeland the platform's expandable day list, as before.titletooltip before it, this one doesn't open on tap.Stacked on #1089. Please review only the commit
feat(prompts): show a day block's positions in a styled tooltip on the positions panel. The merge commit brings in #1089 (and #1088).Related issue
None. Found while checking the Positions column and panel.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
Checklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/): no errors; the 7 warnings are in files this PR does not touchyarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Also run:
web:yarn testpasses 718/718, andyarn buildpasses.components/prompts/prompt-positions-sheet.test.tsxadds a test: the blocks carry notitle, and hovering one opens the tooltip with its day's positions.🤖 Generated with Claude Code