-
-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only Live Scrolling when at Page Bottom and Add Button to Scroll to Page Bottom on Web App #923
Only Live Scrolling when at Page Bottom and Add Button to Scroll to Page Bottom on Web App #923
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8666c72 - Browse repository at this point
Copy the full SHA 8666c72View commit details
Commits on Sep 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 67a01cc - Browse repository at this point
Copy the full SHA 67a01ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb6123 - Browse repository at this point
Copy the full SHA 6eb6123View commit details
Commits on Sep 27, 2024
-
Revert to smooth scroll on chat message streaming to reduce jitter
- Improve function names - Order state updates to be more readable, logical
Configuration menu - View commit details
-
Copy full SHA for dbe77c6 - Browse repository at this point
Copy the full SHA dbe77c6View commit details
Commits on Sep 28, 2024
-
Fix to always scroll to most recent message on conversation first load
Use `requestAnimationFrame' to ensure scrollToBottom called after page content is rendered. Previously the page wouldn't always scroll to the bottom of the page on conversation first load
Configuration menu - View commit details
-
Copy full SHA for 7099f5f - Browse repository at this point
Copy the full SHA 7099f5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c705435 - Browse repository at this point
Copy the full SHA c705435View commit details -
Keep focus on current message when older messages fetched on scroll
Khoj paginates fetching older messages in conversation on scroll up. Previously the older chat message fetch and render on scroll would lose the earlier scroll position and message in focus. This was very disorienting.
Configuration menu - View commit details
-
Copy full SHA for f8b5f9e - Browse repository at this point
Copy the full SHA f8b5f9eView commit details -
Stabilize scroll when new messages fetched from API are rendered
Use refs to anchor scroll on oldest previously fetched message. This improves reliability on scroll across different screen widths Render empty chat messages div to get stable message index to scroll to. Set the display to none to keep view same as before, as chat message box shouldn't be visible while Khoj is thinking
Configuration menu - View commit details
-
Copy full SHA for 425b421 - Browse repository at this point
Copy the full SHA 425b421View commit details
Commits on Sep 29, 2024
-
Reduce distance from bottom to trigger auto scroll to 50 pixels
This should ease scrolling up to disable auto scroll when Khoj response being streamed
Configuration menu - View commit details
-
Copy full SHA for d401860 - Browse repository at this point
Copy the full SHA d401860View commit details