-
-
Notifications
You must be signed in to change notification settings - Fork 450
Description
Problem
Clicking in any part of the jupyter-ai bar or chat document constantly moves the focus to the text input box, making selecting and copying parts of the responses impossible.
There are many times when the reply by an AI is not used completely, but only a portion of it is necessary. Example response:
# 8.x+ – Dialog lives in the `widget_dialog` submodule
from ipywidgets.widgets.widget_dialog import Dialog # or
# Quick‑and‑dirty alias
from ipywidgets.widgets import widget_dialog
Dialog = widget_dialog.DialogSay I want to execute only from ipywidgets.widgets.widget_dialog import Dialog.
I can select that text in the reply, but in the very moment I release the mouse button, the text is unselected and focus is set to the "Start chatting" text box.
This makes the only viable solution (that I can think of) cumbersome, as I have copy the whole response, paste it in a cell and remove what I don't want.
Proposed Solution
Add an option so focus is user driven (As in, only focus the textbox when clicked, or the user navigate to it with tab or similar.