GeezerVison is showing github.com — fix(mobile): Go to message highlights the cited text by an4s911 · Pull Request #6 · jakeleventhal/t3code
Conversation
an4s911
commented
Nov 12, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Adds "Go to message" highlighting to pingdotgg#35306, so mobile matches web's citation pulse. Mobile scrolls to the source message today but doesn't show which text was quoted.
One commit on top of 4451d207c6. It builds on your occurrence work:
- The jump request carries the quote and its
occurrence. locateMobileAssistantCitation (next to collectMobileAssistantTextSelectors, using the same segment model and offsets) finds the Markdown segment holding that occurrence and which match it is there. When a passage repeats, the occurrence the user picked is the one that highlights.
- Only that segment highlights: it wraps the match as a native
==highlight== for 3 seconds, in web's blue (the primary color at 45%, flattened to opaque, because the native renderer drops translucent colors).
- Matching skips bold and italic markers and wraps each plain run separately, so quotes that run into formatting still highlight. Matches in code count toward the occurrence, like rendered text, but aren't highlighted. Quotes crossing a paragraph break scroll without a highlight.
- Tests:
citationHighlight.test.ts (plain, repeated and nth matches, wrapped lines, regex characters, bold, italics, snake_case, code, paragraph breaks), plus locator assertions in your fold test in assistantCitationSelection.test.ts.
vp run check:changed 4451d207c6 passes (format, lint, knip, typecheck, tests, React compiler). Tested this exact branch on an iPhone 11 running iOS 27.2 (a sideloaded build of f719dadc1e):
- A word that appears twice opens your "Choose quote source" sheet. Picking occurrence 2 and tapping Go to message highlights the second one and leaves the first alone. Picking occurrence 1 highlights the first.
- A unique phrase cites directly and highlights.
- A quote running from plain text into bold highlights across both.
Earlier device screenshots of the highlight (iPhone and Android) are in #14050.
🤖 Generated with Claude Code
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Long-press an assistant response, adjust the selection, and choose Cite to
insert a quote into the composer. Tap a draft quote to add or edit its
comment, copy it, jump to the source message, or remove it. Sent quotes open
the same sheet read-only.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Web pulses the quoted text after jumping to a citation's source; mobile only
scrolled. The jump now carries the quote and its occurrence, the feed locates
that occurrence's Markdown segment with the same model Cite uses, and the
segment wraps its match as a native `==highlight==` for 3 seconds in web's
blue. Matching skips bold and italic markers, so quotes that run into
formatting still highlight. A quote whose chosen match is in code, or that
crosses a paragraph break, scrolls without a highlight.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|