Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(chat): smooth worktree setup status #8922

Mergedjuliusmarmingemerged 3 commits intomain fromrefs/pull/8922/headmerged by juliusmarminge View on GitHub

Showing 16 changed files with 123 additions and 25 deletions (loading 13).

x
0 of 16 viewed, 16 left
45 additions and 24 deletionsapps/mobile/src/features/threads/NewTaskDraftScreen.tsxModified
View file
@@ -37,6 +37,7 @@
import { SymbolView } from "../../components/AppSymbol";
import { AppText as Text } from "../../components/AppText";
import { COMPOSER_LAYOUT_TRANSITION, ComposerSurface } from "./ThreadComposer";
+import { ShimmeringWorkContent } from "./thread-work-log";
import { ComposerCommandPopover } from "./ComposerCommandPopover";
import { useComposerCommandMenu } from "./use-composer-command-menu";
import {
@@ -364,7 +365,8 @@
}, [props.pendingTaskId, cancelEditingPendingTask]);
​
- const foregroundColor = useUniwindTheme()["--color-foreground"];
+ const theme = useUniwindTheme();
+ const foregroundColor = theme["--color-foreground"];
const regularFontFamily = useFontFamily("regular");
const bodyText = useScaledTextRole("body");
​
@@ -1094,31 +1096,50 @@
const workspaceControls = (
<View className="flex-row items-center gap-1 px-2">
- <ComposerInlineControl
- accessibilityHint={`Switches to ${flow.workspaceMode === "local" ? "a new worktree" : "the current checkout"}`}
- accessibilityLabel={workspaceLabel}
- disabled={isComposerInteractionLocked || voiceInput.isBusy}
- iconNode={
- <NewTaskWorkspaceIcon