Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(clients): a steer splits the settled work fold #15421

ClosedGigioxx(GitHub profile, opens in a new tab)wants to merge 4 commits intomain fromrefs/pull/15421/headopened View on GitHub

Showing 7 changed files with 143 additions and 9 deletions (loading 5).

x
0 of 7 viewed, 7 left
26 additions and 9 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -1503,7 +1503,11 @@
readonly onCopyWorkRow: (rowId: string, value: string) => void;
readonly onToggleWorkGroup: (groupId: string, anchorKey?: string) => void;
readonly onToggleWorkRow: (rowId: string, anchorKey?: string) => void;
- readonly onToggleTurnFold: (runId: RunId) => void;
+ readonly onToggleTurnFold: (fold: {
+ readonly runId: RunId;
+ readonly expandKey: string;
+ readonly expanded: boolean;
+ }) => void;
readonly onPressPreview: (source: FilePreviewSource) => void;
readonly onPressVideo: (attachment: ChatFileAttachment, sourceIdentifier: string) => void;
readonly markdownLinkHandlers: MarkdownLinkHandlers;
@@ -1531,7 +1535,7 @@
<Pressable
accessibilityRole="button"
accessibilityState={{ expanded: entry.expanded }}
- onPress={() => props.onToggleTurnFold(entry.runId)}
+ onPress={() => props.onToggleTurnFold(entry)}
hitSlop={4}
className="mb-1 min-h-11 flex-row items-center gap-2 border-b border-border-subtle px-2"
style={{
@@ -2168,7 +2172,7 @@
readonly copiedRowId: string | null;
readonly expandedWorkGroups: Record<string, boolean>;
readonly expandedWorkRows: Record<string, boolean>;
- readonly expandedTurnIds: ReadonlySet<RunId>;
+ readonly expandedTurnIds: ReadonlySet<string>;