GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(web,mobile): remove the changed-files card under assistant turns… · patroza/t3code@1c6d41a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps
    • mobile/src
      • features/threads
        • ThreadFeed.tsx
        • thread-work-log.tsx
      • i18n/translations
        • de.json
        • en.json
        • es.json
        • fr.json
        • ja.json
        • ko.json
        • pt-BR.json
        • ru.json
        • sv.json
        • zh.json
      • lib
        • threadActivity.test.ts
        • threadActivity.ts
      • state
        • use-thread-composer-state.ts
    • web
      • src
        • components
          • ChatView.tsx
          • chat
            • ChangedFilesTree.tsx
            • DiffStatLabel.tsx
            • MessagesTimeline.browser.test.tsx
            • MessagesTimeline.logic.test.ts
            • MessagesTimeline.logic.ts
            • MessagesTimeline.tsx
            • TimelineAssistantRows.tsx
            • timelineRowContext.ts
            • useRightPanelActions.ts
        • i18n/translations
          • de.json
          • en.json
          • es.json
          • fr.json
          • ja.json
          • ko.json
          • pt-BR.json
          • ru.json
          • sv.json
          • zh.json
        • index.css
        • uiStateStore.test.ts
        • uiStateStore.ts
      • test
        • renderScenarios.renders.tsx
  • docs/user
    • source-control.md
  • packages/client-runtime/src/state
    • threadCheckpoints.ts
    • threadRepositories.ts

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/mobile/src/features/threads/ThreadFeed.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/threads/ThreadFeed.tsx
+1-95Lines changed: 1 addition & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ import {
6565
resolveUserMessagePresentation,
6666
} from "@t3tools/client-runtime/user-message";
6767
import { canForkProjectedAssistantItem } from "@t3tools/client-runtime/state/thread-workflows";
68-
import type { ThreadCheckpointSummary } from "@t3tools/client-runtime/state/thread-checkpoints";
69-
import { turnChanges } from "@t3tools/client-runtime/state/thread-repositories";
70-
import { formatDiffCount } from "@t3tools/client-runtime/diff-count";
7168
import type { WorkflowOpening } from "@t3tools/client-runtime/state/subagentRuntime";
7269
import {
7370
AuthFilesystemReadScope,
@@ -211,8 +208,6 @@ import {
211208
type MediaVideoPreviewSource,
212209
} from "../../lib/videoPreviewSource";
213210
import { CopyTextButton } from "./CopyTextButton";
214-
import { getReviewSectionIdForCheckpoint } from "../review/reviewModel";
215-
import { setReviewSelectedSectionId } from "../review/reviewState";
216211
import { Menu } from "../../components/ui/Menu";
217212
import { useAndroidControlSizing } from "../../components/ui/useAndroidControlSizing";
218213
import { useBarInset, useContentTopInset } from "../../components/ui/useBarInset";
@@ -1984,7 +1979,6 @@ function renderFeedEntry(
19841979
readonly onToggleWorkRow: (rowId: string, anchorKey?: string, groupId?: string) => void;
19851980
readonly onToggleUserMessage: (rowId: string, anchorKey: string) => void;
19861981
readonly onToggleTurnFold: (runId: RunId) => void;
1987-
readonly onOpenTurnDiff: (checkpoint: ThreadCheckpointSummary) => void;
19881982
readonly onPressPreview: (source: FilePreviewSource) => void;
19891983
readonly onPlaybackStart: () => void;
19901984
readonly markdownLinkHandlers: MarkdownLinkHandlers;
@@ -2079,12 +2073,6 @@ function renderFeedEntry(
20792073
onOpenDetails={props.onOpenSetupDetails}
20802074
/>
20812075
) : null}
2082-
{entry.checkpointSummary ? (
2083-
<TurnDiffStat
2084-
checkpoint={entry.checkpointSummary}
2085-
onOpenTurnDiff={props.onOpenTurnDiff}
2086-
/>
2087-
) : null}
20882076
</View>
20892077
);
20902078
}
@@ -2176,14 +2164,6 @@ function renderFeedEntry(
21762164
hasFailure={entry.hasFailure}
21772165
shimmer={entry.shimmer}
21782166
thought={entry.thought}
2179-
trailing={
2180-
entry.checkpointSummary ? (
2181-
<TurnDiffStat
2182-
checkpoint={entry.checkpointSummary}
2183-
onOpenTurnDiff={props.onOpenTurnDiff}
2184-
/>
2185-
) : null
2186-
}
21872167
onToggle={() => props.onToggleWorkGroup(entry.groupId, entry.id)}
21882168
/>
21892169
);
@@ -2695,12 +2675,6 @@ function renderFeedEntry(
26952675
onPressPreview={props.onPressPreview}
26962676
onPlaybackStart={props.onPlaybackStart}
26972677
/>
2698-
{showAssistantMeta && message.checkpointSummary ? (
2699-
<TurnDiffStat
2700-
checkpoint={message.checkpointSummary}
2701-
onOpenTurnDiff={props.onOpenTurnDiff}
2702-
/>
2703-
) : null}
27042678
{showAssistantMeta ? (
27052679
<View className="mt-1 flex-row items-center gap-1">
27062680
<CopyTextButton
@@ -2752,60 +2726,6 @@ function renderFeedEntry(
27522726
);
27532727
}
27542728

2755-
function TurnDiffStat(props: {
2756-
readonly checkpoint: ThreadCheckpointSummary;
2757-
readonly onOpenTurnDiff: (checkpoint: ThreadCheckpointSummary) => void;
2758-
}) {
2759-
const gt = useGT();
2760-
const { repositories, rootFiles, totals } = turnChanges(props.checkpoint);
2761-
const { additions, deletions } = totals;
2762-
const folderCount = repositories.length + (rootFiles.length > 0 ? 1 : 0);
2763-
const repositoriesLabel =
2764-
repositories.length === 0
2765-
? null
2766-
: folderCount === 1
2767-
? repositories[0]!.name
2768-
: gt("{count} repos", { count: folderCount });
2769-
const changedIn =
2770-
repositories.length === 0
2771-
? null
2772-
: [
2773-
...(rootFiles.length > 0 ? [gt("this folder")] : []),
2774-
...repositories.map((repository) => repository.name),
2775-
].join(", ");
2776-
return (
2777-
<Pressable
2778-
accessibilityRole="button"
2779-
accessibilityLabel={
2780-
changedIn === null
2781-
? gt(
2782-
"{files, plural, one {Review {files} file changed, {additions} additions, {deletions} deletions} other {Review {files} files changed, {additions} additions, {deletions} deletions}}",
2783-
{ files: totals.count, additions, deletions },
2784-
)
2785-
: gt(
2786-
"{files, plural, one {Review {files} file changed in {folders}, {additions} additions, {deletions} deletions} other {Review {files} files changed in {folders}, {additions} additions, {deletions} deletions}}",
2787-
{ files: totals.count, folders: changedIn, additions, deletions },
2788-
)
2789-
}
2790-
onPress={() => props.onOpenTurnDiff(props.checkpoint)}
2791-
className="min-h-11 shrink-0 flex-row items-center gap-2 px-2 active:bg-subtle"
2792-
>
2793-
{repositoriesLabel ? (
2794-
<Text className="max-w-28 text-xs text-foreground-muted" numberOfLines={1}>
2795-
{repositoriesLabel}
2796-
</Text>
2797-
) : null}
2798-
<Text className="font-t3-medium text-xs tabular-nums text-adaptive-emerald-700-300">
2799-
+{formatDiffCount(additions)}
2800-
</Text>
2801-
<Text className="font-t3-medium text-xs tabular-nums text-adaptive-rose-700-300">
2802-
−{formatDiffCount(deletions)}
2803-
</Text>
2804-
<SymbolView name="chevron.right" size={12} tintColorClassName="accent-foreground-muted" />
2805-
</Pressable>
2806-
);
2807-
}
2808-
28092729
type UserMessageContentProps = {
28102730
readonly text: string;
28112731
readonly environmentId: EnvironmentId;
@@ -3169,19 +3089,6 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) {
31693089
const [retainedMediaRowId, setRetainedMediaRowId] = useState<string | null>(null);
31703090
const focused = useIsFocused();
31713091
if (!focused && retainedMediaRowId !== null) setRetainedMediaRowId(null);
3172-
const onOpenTurnDiff = useCallback(
3173-
(checkpoint: ThreadCheckpointSummary) => {
3174-
setReviewSelectedSectionId(
3175-
scopedThreadKey(props.environmentId, props.threadId),
3176-
getReviewSectionIdForCheckpoint(checkpoint),
3177-
);
3178-
navigation.navigate("ThreadReview", {
3179-
environmentId: props.environmentId,
3180-
threadId: props.threadId,
3181-
});
3182-
},
3183-
[navigation, props.environmentId, props.threadId],
3184-
);
31853092
const { themeAppearance } = useAppearancePreferences();
31863093
const copyFeedbackTimeoutRef = useRef<ReturnType<typeof setTimeout> | null>(null);
31873094
const headerMaterialVisibleRef = useRef(false);
@@ -4199,7 +4106,7 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) {
41994106
if (entry.type === "html-render") {
42004107
return htmlRenderRowHeight(htmlRenderFrameHeight(entry.render, contentWidth));
42014108
}
4202-
if (workRowSizing.fixedRowHeight === undefined || entry.checkpointSummary) {
4109+
if (workRowSizing.fixedRowHeight === undefined) {
42034110
return undefined;
42044111
}
42054112
switch (entry.type) {
@@ -4309,7 +4216,6 @@ export const ThreadFeed = memo(function ThreadFeed(props: ThreadFeedProps) {
43094216
onToggleWorkRow,
43104217
onToggleUserMessage,
43114218
onToggleTurnFold,
4312-
onOpenTurnDiff,
43134219
onPressPreview,
43144220
onPlaybackStart: onInlinePlaybackStart,
43154221
markdownLinkHandlers,
Collapse file

‎apps/mobile/src/features/threads/thread-work-log.tsx‎

Copy file name to clipboardExpand all lines: apps/mobile/src/features/threads/thread-work-log.tsx
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1420,7 +1420,6 @@ export function ThreadWorkGroupToggle(props: {
14201420
readonly hasFailure: boolean;
14211421
readonly shimmer: boolean;
14221422
readonly thought?: string | undefined;
1423-
readonly trailing?: ReactNode;
14241423
readonly onToggle: () => void;
14251424
}) {
14261425
const gt = useGT();
@@ -1510,7 +1509,6 @@ export function ThreadWorkGroupToggle(props: {
15101509
/>
15111510
</WorkLogPressable>
15121511
</View>
1513-
{props.trailing}
15141512
</View>
15151513
</WorkLogBlock>
15161514
);
Collapse file

‎apps/mobile/src/i18n/translations/de.json‎

Copy file name to clipboardExpand all lines: apps/mobile/src/i18n/translations/de.json
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4651,10 +4651,6 @@
46514651
"ccde552cdff4a9e5": "Doppeltippen, um den Prompt anzuzeigen.",
46524652
"630df4f8b78ab8d3": "Arbeitet seit {duration}",
46534653
"01deb1ae9f51d3e0": "Arbeit konnte nicht geladen werden. Tippe, um es erneut zu versuchen.",
4654-
"868ed4fea1a3273c": "{count} Repos",
4655-
"c887abfd190d8b40": "diesem Ordner",
4656-
"275b5fe6040f2c1c": "{files, plural, one {{files} geänderte Datei prüfen, {additions} Hinzufügungen, {deletions} Löschungen} other {{files} geänderte Dateien prüfen, {additions} Hinzufügungen, {deletions} Löschungen}}",
4657-
"c4a35456c7bdc3a1": "{files, plural, one {{files} geänderte Datei in {folders} prüfen, {additions} Hinzufügungen, {deletions} Löschungen} other {{files} geänderte Dateien in {folders} prüfen, {additions} Hinzufügungen, {deletions} Löschungen}}",
46584654
"7a13ae3b70a050fb": "{label} (nicht verfügbar)",
46594655
"8f033834a0194c33": "Kontext nicht verfügbar",
46604656
"4031ea1541b3ec2b": "Kontext öffnen",
Collapse file

‎apps/mobile/src/i18n/translations/en.json‎

Copy file name to clipboardExpand all lines: apps/mobile/src/i18n/translations/en.json
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4653,10 +4653,6 @@
46534653
"ccde552cdff4a9e5": "Double tap to show the prompt.",
46544654
"630df4f8b78ab8d3": "Working for {duration}",
46554655
"01deb1ae9f51d3e0": "Couldn't load work. Tap to retry.",
4656-
"868ed4fea1a3273c": "{count} repos",
4657-
"c887abfd190d8b40": "this folder",
4658-
"275b5fe6040f2c1c": "{files, plural, one {Review {files} file changed, {additions} additions, {deletions} deletions} other {Review {files} files changed, {additions} additions, {deletions} deletions}}",
4659-
"c4a35456c7bdc3a1": "{files, plural, one {Review {files} file changed in {folders}, {additions} additions, {deletions} deletions} other {Review {files} files changed in {folders}, {additions} additions, {deletions} deletions}}",
46604656
"7a13ae3b70a050fb": "{label} (unavailable)",
46614657
"8f033834a0194c33": "Context unavailable",
46624658
"4031ea1541b3ec2b": "Open context",
Collapse file

‎apps/mobile/src/i18n/translations/es.json‎

Copy file name to clipboardExpand all lines: apps/mobile/src/i18n/translations/es.json
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4644,10 +4644,6 @@
46444644
"ccde552cdff4a9e5": "Toca dos veces para mostrar el prompt.",
46454645
"630df4f8b78ab8d3": "Trabajando durante {duration}",
46464646
"01deb1ae9f51d3e0": "No se pudo cargar el trabajo. Toca para reintentar.",
4647-
"868ed4fea1a3273c": "{count} repos",
4648-
"c887abfd190d8b40": "esta carpeta",
4649-
"275b5fe6040f2c1c": "{files, plural, one {Revisar {files} archivo modificado, {additions} adiciones, {deletions} eliminaciones} other {Revisar {files} archivos modificados, {additions} adiciones, {deletions} eliminaciones}}",
4650-
"c4a35456c7bdc3a1": "{files, plural, one {Revisar {files} archivo modificado en {folders}, {additions} adiciones, {deletions} eliminaciones} other {Revisar {files} archivos modificados en {folders}, {additions} adiciones, {deletions} eliminaciones}}",
46514647
"7a13ae3b70a050fb": "{label} (no disponible)",
46524648
"8f033834a0194c33": "Contexto no disponible",
46534649
"4031ea1541b3ec2b": "Abrir contexto",
Collapse file

‎apps/mobile/src/i18n/translations/fr.json‎

Copy file name to clipboardExpand all lines: apps/mobile/src/i18n/translations/fr.json
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4645,10 +4645,6 @@
46454645
"ccde552cdff4a9e5": "Touchez deux fois pour afficher le prompt.",
46464646
"630df4f8b78ab8d3": "Au travail depuis {duration}",
46474647
"01deb1ae9f51d3e0": "Impossible de charger le travail. Touchez pour réessayer.",
4648-
"868ed4fea1a3273c": "{count} dépôts",
4649-
"c887abfd190d8b40": "ce dossier",
4650-
"275b5fe6040f2c1c": "{files, plural, one {Relire {files} fichier modifié, {additions} ajouts, {deletions} suppressions} other {Relire {files} fichiers modifiés, {additions} ajouts, {deletions} suppressions}}",
4651-
"c4a35456c7bdc3a1": "{files, plural, one {Relire {files} fichier modifié dans {folders}, {additions} ajouts, {deletions} suppressions} other {Relire {files} fichiers modifiés dans {folders}, {additions} ajouts, {deletions} suppressions}}",
46524648
"7a13ae3b70a050fb": "{label} (indisponible)",
46534649
"8f033834a0194c33": "Contexte indisponible",
46544650
"4031ea1541b3ec2b": "Ouvrir le contexte",
Collapse file

‎apps/mobile/src/i18n/translations/ja.json‎

Copy file name to clipboardExpand all lines: apps/mobile/src/i18n/translations/ja.json
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4625,10 +4625,6 @@
46254625
"ccde552cdff4a9e5": "ダブルタップでプロンプトを表示します。",
46264626
"630df4f8b78ab8d3": "{duration} 作業中",
46274627
"01deb1ae9f51d3e0": "作業を読み込めませんでした。タップして再試行してください。",
4628-
"868ed4fea1a3273c": "{count} 件のリポジトリ",
4629-
"c887abfd190d8b40": "このフォルダー",
4630-
"275b5fe6040f2c1c": "{files, plural, other {{files} 個の変更ファイルをレビュー、{additions} 行追加、{deletions} 行削除}}",
4631-
"c4a35456c7bdc3a1": "{files, plural, other {{folders} の {files} 個の変更ファイルをレビュー、{additions} 行追加、{deletions} 行削除}}",
46324628
"7a13ae3b70a050fb": "{label} (利用不可)",
46334629
"8f033834a0194c33": "コンテキストを利用できません",
46344630
"4031ea1541b3ec2b": "コンテキストを開く",
Collapse file

‎apps/mobile/src/i18n/translations/ko.json‎

Copy file name to clipboardExpand all lines: apps/mobile/src/i18n/translations/ko.json
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4630,10 +4630,6 @@
46304630
"ccde552cdff4a9e5": "두 번 탭하여 프롬프트를 표시합니다.",
46314631
"630df4f8b78ab8d3": "{duration} 동안 작업 중",
46324632
"01deb1ae9f51d3e0": "작업을 불러올 수 없습니다. 탭하여 다시 시도하세요.",
4633-
"868ed4fea1a3273c": "저장소 {count}개",
4634-
"c887abfd190d8b40": "이 폴더",
4635-
"275b5fe6040f2c1c": "{files, plural, other {변경된 파일 {files}개 검토, 추가 {additions}줄, 삭제 {deletions}줄}}",
4636-
"c4a35456c7bdc3a1": "{files, plural, other {{folders}에서 변경된 파일 {files}개 검토, 추가 {additions}줄, 삭제 {deletions}줄}}",
46374633
"7a13ae3b70a050fb": "{label}(사용할 수 없음)",
46384634
"8f033834a0194c33": "컨텍스트를 사용할 수 없음",
46394635
"4031ea1541b3ec2b": "컨텍스트 열기",
Collapse file

‎apps/mobile/src/i18n/translations/pt-BR.json‎

Copy file name to clipboardExpand all lines: apps/mobile/src/i18n/translations/pt-BR.json
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4645,10 +4645,6 @@
46454645
"ccde552cdff4a9e5": "Toque duas vezes para mostrar o prompt.",
46464646
"630df4f8b78ab8d3": "Trabalhando há {duration}",
46474647
"01deb1ae9f51d3e0": "Não foi possível carregar o trabalho. Toque para tentar novamente.",
4648-
"868ed4fea1a3273c": "{count} repos",
4649-
"c887abfd190d8b40": "esta pasta",
4650-
"275b5fe6040f2c1c": "{files, plural, one {Revisar {files} arquivo alterado, {additions} adições, {deletions} exclusões} other {Revisar {files} arquivos alterados, {additions} adições, {deletions} exclusões}}",
4651-
"c4a35456c7bdc3a1": "{files, plural, one {Revisar {files} arquivo alterado em {folders}, {additions} adições, {deletions} exclusões} other {Revisar {files} arquivos alterados em {folders}, {additions} adições, {deletions} exclusões}}",
46524648
"7a13ae3b70a050fb": "{label} (indisponível)",
46534649
"8f033834a0194c33": "Contexto indisponível",
46544650
"4031ea1541b3ec2b": "Abrir contexto",
Collapse file

‎apps/mobile/src/i18n/translations/ru.json‎

Copy file name to clipboardExpand all lines: apps/mobile/src/i18n/translations/ru.json
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4723,10 +4723,6 @@
47234723
"ccde552cdff4a9e5": "Дважды нажмите, чтобы показать промпт.",
47244724
"630df4f8b78ab8d3": "Работает {duration}",
47254725
"01deb1ae9f51d3e0": "Не удалось загрузить работу. Нажмите, чтобы повторить.",
4726-
"868ed4fea1a3273c": "Репозиториев: {count}",
4727-
"c887abfd190d8b40": "эта папка",
4728-
"275b5fe6040f2c1c": "{files, plural, one {Ревью: изменён {files} файл, добавлений: {additions}, удалений: {deletions}} few {Ревью: изменено {files} файла, добавлений: {additions}, удалений: {deletions}} many {Ревью: изменено {files} файлов, добавлений: {additions}, удалений: {deletions}} other {Ревью: изменено {files} файла, добавлений: {additions}, удалений: {deletions}}}",
4729-
"c4a35456c7bdc3a1": "{files, plural, one {Ревью: изменён {files} файл в: {folders}, добавлений: {additions}, удалений: {deletions}} few {Ревью: изменено {files} файла в: {folders}, добавлений: {additions}, удалений: {deletions}} many {Ревью: изменено {files} файлов в: {folders}, добавлений: {additions}, удалений: {deletions}} other {Ревью: изменено {files} файла в: {folders}, добавлений: {additions}, удалений: {deletions}}}",
47304726
"7a13ae3b70a050fb": "{label} (недоступно)",
47314727
"8f033834a0194c33": "Контекст недоступен",
47324728
"4031ea1541b3ec2b": "Открыть контекст",

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.