@devries-cameron20 / t3code Mirror · read-only / commits / a02bc75737
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 22:15 UTC

fix(web): keep background toast Open button inline (#34572)

Yash Singh committed Nov 11, 2026 at 15:54 UTC a02bc75737c8db9900315ee1f985d4d5a147ad13
1 file changed +13 -15
apps/web/src/components/chat/useComposerSend.ts
+13 -15
@@ -1328,22 +1328,20 @@ export function useComposerSend(input: ComposerSendInput) {
1328 }
1329 if (backgroundThreadRef) {
1330 if (backgroundDraftOpened) {
1331 - toastManager.add(
1332 - stackedThreadToast({
1333 - type: "success",
1334 - title: "Started in background",
1335 - timeout: 5_000,
1336 - actionProps: {
1337 - children: "Open",
1338 - onClick: () => {
1339 - void navigate({
1340 - to: "/$environmentId/$threadId",
1341 - params: buildThreadRouteParams(backgroundThreadRef),
1342 - });
1343 - },
1331 + toastManager.add({
1332 + type: "success",
1333 + title: "Started in background",
1334 + timeout: 5_000,
1335 + actionProps: {
1336 + children: "Open",
1337 + onClick: () => {
1338 + void navigate({
1339 + to: "/$environmentId/$threadId",
1340 + params: buildThreadRouteParams(backgroundThreadRef),
1341 + });
1342 },
1345 - }),
1346 - );
1343 + },
1344 + });
1345 }
1346 } else if (
1347 submissionIntent === "background" &&