-
Notifications
You must be signed in to change notification settings - Fork 7.8k
feat(tui): implement smooth scrolling for autocomplete dropdown navigation #5559
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
feat(tui): implement smooth scrolling for autocomplete dropdown navigation #5559
Conversation
|
/review |
packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx
Outdated
Show resolved
Hide resolved
packages/opencode/src/cli/cmd/tui/component/prompt/autocomplete.tsx
Outdated
Show resolved
Hide resolved
always error on generate, why? remote: Permission to HelloGGX/opencode.git denied to github-actions[bot]. |
|
Our action doesn't have permission to push an updated generate run to ur fork, ig there is some permission u have configured, dw about it |
…ation (#5559) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com> Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This PR improves the autocomplete dropdown's scrolling behavior by implementing smooth scrolling functionality when navigating through long lists of options. Previously, when users typed "/" to access commands and had more than 10 available options, they could only see the first 10 items without any ability to scroll through the remaining options, leading to a poor user experience where many commands were inaccessible. The updated implementation now properly handles scrolling through all available options while maintaining visual feedback on the currently selected item, significantly enhancing usability when working with large sets of autocomplete options.