You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dlqqq
changed the title
Ketboard shortcut behavior in 3.0.0a0 pre-release
Keyboard shortcuts: fix warnings and add one for focusing chat input
Dec 30, 2024
dlqqq
transferred this issue from jupyterlab/jupyter-ai
Dec 30, 2024
Thanks for opening this.
I opened jupyterlab/jupyter-ai#1186 in jupyter-ai to fix the warning and the shortcut.
About the second issue, on my side I can type in the input box without pressing enter or using the mouse. Focusing it with the tabulation is enough to be able to type in it. Do you think that it should be handled differently ?
@brichet Thanks for opening that PR, I've merged it. Doesn't Ctrl + Shift + 1 focus the chat input like it did in Jupyter AI v2?
For reference, this is the shortcut being removed. If this was duplicated by Jupyter Chat, then it seems to imply that Ctrl + Shift + 1 also focuses the chat input.
Indeed, this shortcut was duplicated in jupyter-chat, this is why there were the warnings when using with jupyter-ai.
In jupyter-chat, this is a little trickier, as there may be several open chats, so we use a WidgetTracker to focus on the current (last-used) chat. But that tracker only tracks the main area chats (#130), so the chats in the side panel can't be focused (neither to be restored, btw).
A few minor issues with keyboard shortcuts with Jupyter AI 3.0.0a0 pre-release.
Description
First, I see the following warnings in the browser console when using Jupyter AI 3.0.0a0 pre-release:
Second, when I have a chat document open and active, pressing enter doesn't focus the text box like I would expect.
Reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: