From eff9317b803c0b839b1d8a94b0bfd419bf0112a0 Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Sun, 15 Nov 2026 22:03:43 -0800 Subject: [PATCH 01/10] fix(mobile): draw group member chips on a surface that differs from the bar The seat chip used bg-subtle on bg-card. Those tokens match in the default dark theme, and the light pair is only a few steps apart, so Open work and Remove looked like plain text. Co-authored-by: Cursor --- apps/mobile/src/features/threads/ThreadGroupBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mobile/src/features/threads/ThreadGroupBar.tsx b/apps/mobile/src/features/threads/ThreadGroupBar.tsx index 85f39267b2ebd..04ff64c414662 100644 --- a/apps/mobile/src/features/threads/ThreadGroupBar.tsx +++ b/apps/mobile/src/features/threads/ThreadGroupBar.tsx @@ -78,7 +78,7 @@ export function ThreadGroupBar({ thread }: { readonly thread: EnvironmentThreadS {seat.label} From 0447c6e3b1deb28348032e97cd6f7437d7006051 Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Sun, 15 Nov 2026 22:04:06 -0800 Subject: [PATCH 02/10] fix(mobile): show the group bar only while a group is active A thread with no group rendered a card that contained only Invite. Invite stays in the composer /invite command and the command palette. Co-authored-by: Cursor --- .../src/features/threads/ThreadGroupBar.tsx | 115 ++++++++---------- 1 file changed, 54 insertions(+), 61 deletions(-) diff --git a/apps/mobile/src/features/threads/ThreadGroupBar.tsx b/apps/mobile/src/features/threads/ThreadGroupBar.tsx index 04ff64c414662..4cd3ccc493192 100644 --- a/apps/mobile/src/features/threads/ThreadGroupBar.tsx +++ b/apps/mobile/src/features/threads/ThreadGroupBar.tsx @@ -32,8 +32,7 @@ export function ThreadGroupBar({ thread }: { readonly thread: EnvironmentThreadS const remove = useAtomCommand(orchestrationEnvironment.removeFromGroup); const end = useAtomCommand(orchestrationEnvironment.endGroup); const openWork = useOpenLinkedThread(); - const active = isGroupActive(group); - if (!active && !inviteAvailable) return null; + if (!isGroupActive(group)) return null; return ( // The feed scrolls beneath the composer dock, so text here needs its own surface. @@ -41,51 +40,47 @@ export function ThreadGroupBar({ thread }: { readonly thread: EnvironmentThreadS - {active ? ( - <> - + ★ {group.primary.label} + + {group.seats + .filter((seat) => seat.status === "seated") + .map((seat) => ( + { + if (nativeEvent.event === "work") + openWork({ environmentId, threadId: seat.threadId }); + if (nativeEvent.event === "remove") + void remove({ + environmentId, + input: { threadId: thread.id, seatThreadId: seat.threadId }, + }).then((result) => + alertGroupCommandFailure(`Could not remove ${seat.label}`, result), + ); + }} > - ★ {group.primary.label} - - {group.seats - .filter((seat) => seat.status === "seated") - .map((seat) => ( - { - if (nativeEvent.event === "work") - openWork({ environmentId, threadId: seat.threadId }); - if (nativeEvent.event === "remove") - void remove({ - environmentId, - input: { threadId: thread.id, seatThreadId: seat.threadId }, - }).then((result) => - alertGroupCommandFailure(`Could not remove ${seat.label}`, result), - ); - }} - > - - {seat.label} - - - ))} - - ) : null} + + {seat.label} + + + ))} {inviteAvailable ? (