mirror of
https://github.com/stablyai/orca.git
synced 2026-10-30 16:47:34 +00:00
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:
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user