Repository navigation
feat(prompts): right-align the positions panel's 24h citations and reorder its platforms - #1102
Merged
Merged
Conversation
…4h view
The 24h view listed each platform with its name on one line and a
Mention / Citation block under it. Each platform now takes one line: its
name on the left and its latest answer's status on the right ("Mentioned
Early · #1 of 3 · Not cited", or "No runs in this period"). The run's time
moves to the status's tooltip, which opens on hover or keyboard focus.
The platforms are also reordered wherever POSITION_PLATFORMS drives them
(the panel and the table's platform dots): ChatGPT, Microsoft Copilot,
Google AI Overviews, Google AI Mode, Gemini, Grok, Claude, Perplexity.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
|
@gkhngyk ready for review: the positions panel's 24h view gives each platform one line with its status on the right, and the platforms follow the new order (Microsoft Copilot second, Perplexity last) in the panel and the table's dots. |
…ion on the right The one-line rows read the request wrong. Each platform keeps its name line with "Run at …" and its Mention / Citation block under it, as before; the Citation column is now right-aligned, so mentions read down the left and citations down the right. On narrow screens the two stack, left-aligned. The rows carry data-platform for the test; the platform order from the previous commit stays. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Collaborator
Author
|
@gkhngyk updated: the first commit misread the request (one line per platform). The new commit keeps the 24h Mention / Citation layout and right-aligns the Citation column; the platform order is unchanged. Title and description are updated to match. |
8 of 12 tasks
gkhngyk
approved these changes
Oct 17, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Thanks, approving. Web tests pass on the combined tree.
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
Two changes to the Tracked Prompts positions panel, from product feedback: the 24h view's citations sit on the right, and the platforms follow a new order.
Why:
What changes
lib/prompt-positions.ts:POSITION_PLATFORMSis reordered. It drives the panel (24h and 7d/30d/90d) and the Prompts table's platform dots, so all follow the new order.components/prompts/prompt-positions-sheet.tsx:LatestRow's Citation block getssm:text-right. The rows also carrydata-platform, for the test.Tests
prompt-positions.test.tspins the order.prompt-positions-sheet.test.tsxchecks the 24h rows: one per platform in order, mention before citation, the "Detected earlier" notes, and "No completed tracking runs in this period".Both fail on
main.Left as is:
SCRAPER_GROUPS) keep their own order. This change covers the positions panel and the table's dots.Commits: the first tried a one-line row per platform. The second returns to the two-column layout with the citation on the right, which is what was asked. The squashed diff against
mainis the right-aligned column, the order and the tests.Related issue
None. Product feedback on the Tracked Prompts page.
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 (853), andyarn buildpasses. The panel tests also pass withTZ=America/Los_Angeles.🤖 Generated with Claude Code