Roo-Code/webview-ui
Roo Code b9b69ef9c5 feat: implement lazy loading for task messages
- Add WebviewMessage types for requesting task messages with offset/limit
- Add ExtensionMessage types for task messages response
- Modify ClineProvider to send only initial 50 messages
- Implement requestTaskMessages handler in webviewMessageHandler
- Update ExtensionStateContext to handle lazy loading responses
- Modify ChatView to detect scroll-to-top and request more messages
- Add loading indicators and proper state management
- Add comprehensive tests for both backend and frontend
- Fix pagination edge cases and duplicate filtering

This improves performance and memory usage for tasks with many messages
by loading messages on-demand as the user scrolls.

Fixes #6673
2025-08-04 18:17:40 +00:00
..
audio feat: move play audio to webview to ensure cross-platform (#3659) 2025-05-20 01:15:05 -04:00
public Remove CRA cruft 2025-01-30 14:38:41 -08:00
src feat: implement lazy loading for task messages 2025-08-04 18:17:40 +00:00
.gitignore PR cleanup 2025-03-12 11:23:06 -04:00
components.json Remove lucide 2025-01-30 14:47:59 -08:00
eslint.config.mjs Preserve model settings when selecting a specific OpenRouter provider (#3915) 2025-05-23 23:22:41 -07:00
index.html Fix linter warning + run prettier on everything (#3581) 2025-05-13 15:16:24 -07:00
package.json debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
tsconfig.json Convert all webview-ui tests: jest -> vitest (#4771) 2025-06-17 15:29:17 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vite.config.ts debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
vitest.config.ts Convert all webview-ui tests: jest -> vitest (#4771) 2025-06-17 15:29:17 -07:00
vitest.setup.ts feat: add undo functionality for enhance prompt feature (fixes #5741) (#5742) 2025-07-15 10:26:34 -04:00