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>
This commit is contained in:
OrcaWin
2026-10-16 11:49:22 -07:00
committed by GitHub
co-authored by OrcaWin
parent 8f117e19b1
commit f3c8c99909
2 changed files with 5 additions and 6 deletions
@@ -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({
<div
ref={scrollRef}
onScroll={onScroll}
{...readerScrollInput.scrollerProps}
{...readerInput.scrollerProps}
// Named so measurement can find the scroll root without depending on
// which utility class happens to make it scroll.
data-native-chat-scroll
@@ -408,7 +407,7 @@ export function NativeChatMessageList({
context={rowContext}
window={transcriptWindow}
newRowsMarker={newRowsMarker}
forwardGesture={readerScrollInput.forwardedGesture}
forwardGesture={readerInput.forwardedGesture}
/>
{liveLine ? (
<NativeChatTurnActivityLine
@@ -427,7 +426,7 @@ export function NativeChatMessageList({
rail={rail}
scrollRef={scrollRef}
onSelect={selectRailItem}
onReaderScroll={readerScrollInput.railWheel}
onReaderScroll={readerInput.railWheel}
pendingId={railHistoryJump.pendingId}
/>
<NativeChatJumpToLatest visible={showJump} onJump={jumpToLatest} />