feat(ui) support animated page up/down, fn-up/down and end+home (#13012)

This commit is contained in:
Jacob Richman
2025-11-13 11:16:23 -08:00
committed by jacob314
parent 1cab681854
commit e192efa1f9
6 changed files with 426 additions and 21 deletions
@@ -251,32 +251,20 @@ describe('<ToolGroupMessage />', () => {
unmount();
});
<<<<<<< HEAD
it('renders header when scrolled', () => {
=======
it('renders sticky header when scrolled', () => {
>>>>>>> ee7065f6 (Sticky headers where the top rounded border is sticky. (#12971))
const toolCalls = [
createToolCall({
callId: '1',
name: 'tool-1',
<<<<<<< HEAD
description:
'Description 1. This is a long description that will need to be truncated if the terminal width is small.',
resultDisplay: 'line1\nline2\nline3\nline4\nline5',
=======
description: 'Description 1\n'.repeat(5),
>>>>>>> ee7065f6 (Sticky headers where the top rounded border is sticky. (#12971))
}),
createToolCall({
callId: '2',
name: 'tool-2',
<<<<<<< HEAD
description: 'Description 2',
resultDisplay: 'line1\nline2',
=======
description: 'Description 2\n'.repeat(5),
>>>>>>> ee7065f6 (Sticky headers where the top rounded border is sticky. (#12971))
}),
];
const { lastFrame, unmount } = renderWithProviders(