Skip to content

fix(mobile): show the renamed session name on Android cross-device cards - #326

Merged
kipavy merged 1 commit into
devfrom
fix/mobile-session-label
Sep 21, 2026
Merged

kipavy merged 1 commit into
devfrom
fix/mobile-session-label

Conversation

@kipavy

@kipavy kipavy commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

The mobile "Live on other devices" strip still printed connectionName, so on Android a renamed tab could not be told apart from any other session on the same host. The desktop card already showed the title (6dee8cf).

Both now call sessionLabel() instead of keeping a second copy of the title-or-connection fallback:

  • RemoteDeviceSessions.tsx — the two a.title || a.connectionName spots
  • MobileRemoteDeviceSessions.tsx — the card label
  • new MobileRemoteDeviceSessions.test.tsx covering both the renamed title and the connection-name fallback

tsc --noEmit clean; the three affected test files pass. Not yet exercised on a device — the strip only renders with a live manifest published from another device.

The mobile "Live on other devices" strip still printed connectionName, so
a renamed tab was indistinguishable there while the desktop card already
showed its title. Both now go through sessionLabel instead of keeping a
second copy of the title-or-connection fallback.
@kipavy
kipavy merged commit 1a6918d into dev Sep 21, 2026
4 checks passed
@kipavy
kipavy deleted the fix/mobile-session-label branch September 21, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant