Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(clients): handoffs between accounts show which account is on each side #15477

Mergedvitalyiegorov(GitHub profile, opens in a new tab)merged 4 commits intomain fromrefs/pull/15477/headmerged by juliusmarminge View on GitHub

Showing 7 changed files with 64 additions and 15 deletions (loading 4).

x
0 of 7 viewed, 7 left
2 additions and 0 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -1101,6 +1101,7 @@
environmentId={props.environmentId}
projectedItem={entry.activities[0]!.projectedItem}
iconColor={iconSubtleColor}
+ surfaceColor={props.screenColor}
@@ -2546,6 +2547,7 @@
environmentId={props.environmentId}
endpoints={props.pendingHandoff}
iconColor={iconSubtleColor}
+ surfaceColor={screenColor}
label="Context handoff pending"
) : null
54 additions and 11 deletionsapps/mobile/src/features/threads/thread-handoff-row.tsxModified
View file
@@ -2,7 +2,11 @@
import { useAtomValue } from "@effect/atom-react";
import { scopeThreadRef } from "@t3tools/client-runtime/environment";
import { resolveHandoffEndpoints, type HandoffEndpoints } from "@t3tools/client-runtime/handoff";
-import { resolveProviderInstanceDisplayName } from "@t3tools/client-runtime/state/provider-instance-display";
+import {
+ normalizeProviderAccentColor,
+ resolveProviderInstanceDisplayName,
+ shouldShowInstanceBadge,