From f3c8c99909983d715f2fb82fc05981982829063c Mon Sep 17 00:00:00 2001 From: OrcaWin Date: Fri, 16 Oct 2026 11:49:22 -0700 Subject: [PATCH] test: route repo request coordination through Bun (#29800) * test: run repo catalog request coordination in Bun * fix: remove redundant chat callback alias to restore lint --------- Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> --- .../components/native-chat/NativeChatMessageList.tsx | 11 +++++------ ....ts => repos-catalog-request-coordination.test.ts} | 0 2 files changed, 5 insertions(+), 6 deletions(-) rename src/renderer/src/store/slices/{repos-module-lifetime-coordinators.test.ts => repos-catalog-request-coordination.test.ts} (100%) diff --git a/src/renderer/src/components/native-chat/NativeChatMessageList.tsx b/src/renderer/src/components/native-chat/NativeChatMessageList.tsx index 576a3bcc10f..56143c2c374 100644 --- a/src/renderer/src/components/native-chat/NativeChatMessageList.tsx +++ b/src/renderer/src/components/native-chat/NativeChatMessageList.tsx @@ -321,14 +321,13 @@ export function NativeChatMessageList({ beginNavigation() scrollToBottom() }, [beginNavigation, scrollToBottom]) - const readerScrollInput = useNativeChatReaderScrollInput(scrollRef, { + const readerInput = useNativeChatReaderScrollInput(scrollRef, { onReaderScroll: beginNavigation, onTakeScroll: transcriptWindow.cancelAlign, onLeaveEnd: readerLeavesEnd, onScrollGesture: transcriptScroll.forwardedGesture }) - const { revealFindMatch } = readerScrollInput - useNativeChatMessageListHandle(ref, jumpToLatest, revealFindMatch, dismiss, allSlots) + useNativeChatMessageListHandle(ref, jumpToLatest, readerInput.revealFindMatch, dismiss, allSlots) useNativeChatRailJumpLanding({ railJump, slots, @@ -380,7 +379,7 @@ export function NativeChatMessageList({
{liveLine ? ( diff --git a/src/renderer/src/store/slices/repos-module-lifetime-coordinators.test.ts b/src/renderer/src/store/slices/repos-catalog-request-coordination.test.ts similarity index 100% rename from src/renderer/src/store/slices/repos-module-lifetime-coordinators.test.ts rename to src/renderer/src/store/slices/repos-catalog-request-coordination.test.ts