Fix mention autocomplete layout in narrow threads#1282
Merged
Conversation
Keep mention suggestion avatars visible while making the display name the primary row content. Move agent/role/owner metadata into a smaller secondary line so narrow thread panels preserve readable names without letting metadata crowd the row. Add an e2e regression that opens a minimum-width thread panel and verifies multiple long agent names remain readable with avatars and metadata present. Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes <wesbillman@users.noreply.github.com>
Use the shared text-2xs Tailwind token for autocomplete metadata so the desktop px-text guard passes while preserving the intended 11px visual size. Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co> Signed-off-by: Wes <wesbillman@users.noreply.github.com>
tlongwell-block
pushed a commit
that referenced
this pull request
Jun 26, 2026
Brings PR #1285 (docs/spec-only) up to date with main (23 commits). The branch base predated PR #1282 (narrow-thread header layout fix), so the Desktop Smoke E2E test messaging.spec.ts:775 failed on the stale base while passing on main. No PR file overlaps main; spec/model bytes untouched. Co-authored-by: Tyler Longwell <tlongwell@block.xyz> Signed-off-by: Tyler Longwell <tlongwell@block.xyz>
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
Screenshots
Before
After
Minimum-width thread panel with multiple matches
Test plan
bin/pnpm -C desktop exec biome check src/features/messages/ui/MentionAutocomplete.tsx tests/e2e/mentions.spec.tsbin/pnpm -C desktop buildbin/pnpm -C desktop exec playwright test --project=smoke tests/e2e/mentions.spec.ts