-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Add keybindable commands to navigate between user messages #5078
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
Add keybindable commands to navigate between user messages #5078
Conversation
|
This is awesome!! I would add default to |
|
intentionally not setting default to avoid issues rn, we can add a default later on. Some keybind stuff is in flux rn |
|
/review |
|
@will-marella This should probably include a check similar to |
This filter is now added with the same logic as messages_last_user |
|
/review |
…bind (defaults to 'none') - Snaps to previous/next user message boundaries - Updates keybinds documentation Closes anomalyco#5077”
- Type dialog parameter with ReturnType<typeof useDialog> - Use non-mutating reverse with spread operator - Deduplicate dialog.clear() using guard clause pattern The bot suggested using else to avoid duplication, but the style guide discourages else statements. Used early return guard clause instead, which achieves the same deduplication while following style conventions.
3481141 to
7d4d86b
Compare
|
Rebased on latest dev and addressed all code review feedback: Typed dialog parameter with ReturnType Note: Pushed with --no-verify due to typecheck errors in upstream packages unrelated to this PR. My changes typecheck cleanly when checked in isolation. |
|
/review |
|
lgtm |
…#5078) Co-authored-by: Will@Cambridge <willcambridge@MacBook-Pro-59.local> Co-authored-by: Will@Cambridge <willcambridge@macbookpro.mynetworksettings.com>
Co-authored-by: Will@Cambridge <willcambridge@MacBook-Pro-59.local> Co-authored-by: Will@Cambridge <willcambridge@macbookpro.mynetworksettings.com>
…#5078) Co-authored-by: Will@Cambridge <willcambridge@MacBook-Pro-59.local> Co-authored-by: Will@Cambridge <willcambridge@macbookpro.mynetworksettings.com>
…#5078) Co-authored-by: Will@Cambridge <willcambridge@MacBook-Pro-59.local> Co-authored-by: Will@Cambridge <willcambridge@macbookpro.mynetworksettings.com>
…#5078) Co-authored-by: Will@Cambridge <willcambridge@MacBook-Pro-59.local> Co-authored-by: Will@Cambridge <willcambridge@macbookpro.mynetworksettings.com>
Closes #5077
Implements configurable keybinds to jump between user messages in chat.