Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(devices): add simulator and emulator support #10677

Mergedjuliusmarmingemerged 31 commits intomain fromrefs/pull/10677/headmerged by juliusmarminge View on GitHub

Showing 77 changed files with 16 additions and 4 deletions (loading 74).

x
0 of 77 viewed, 77 left
7 additions and 3 deletionsapps/mobile/src/features/threads/thread-work-log.tsxModified
View file
@@ -76,7 +76,7 @@
const WORK_LOG_LAYOUT_TRANSITION = LinearTransition.duration(THREAD_DISCLOSURE_TRANSITION_MS);
const WORK_LOG_DETAIL_ENTER_TRANSITION = FadeIn.duration(140);
const WORK_LOG_DETAIL_EXIT_TRANSITION = FadeOut.duration(120);
-type WorkContentIcon = AppSymbolName | "browser" | "t3-code" | "pull-request";
+type WorkContentIcon = AppSymbolName | "browser" | "device" | "t3-code" | "pull-request";
​
function WorkLogIcon(props: {
readonly icon: WorkContentIcon;
@@ -97,7 +97,9 @@
? "arrow.triangle.pull"
: props.icon === "browser"
? { ios: "globe", android: "public" }
- : props.icon
+ : props.icon === "device"
+ ? { ios: "iphone", android: "smartphone" }
+ : props.icon
size={14}
weight="medium"
@@ -899,7 +901,7 @@
readonly iconSubtleColor: import("react-native").ColorValue;
readonly summary: string;
readonly summaryKind: ToolGroupSummaryKind;
- readonly summaryToolIcon?: "browser" | "t3-code" | "pull-request";
+ readonly summaryToolIcon?: "browser" | "device" | "t3-code" | "pull-request";
readonly themeAppearance: "light" | "dark";
readonly toolSurface?: import("@t3tools/contracts").ToolActivitySurface;