Configurable chat toolbar in side panel#445
Open
brichet wants to merge 10 commits into
Open
Conversation
Contributor
This was referenced Jun 9, 2026
fc74844 to
3ca3ccd
Compare
4177b1b to
617ef97
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds achatToolbarItemsto theMultiChatPanel, to automatically add button to the toolbar when opening.Adds a toolbar factory to the multichat panel, that is passed to the chat widget opened in the panel.
In
jupyterlab-chat, the toolbar factory is built from the settings schema, and therefore have the same items as in the main area chat.Some more context at #266 (comment)
API CHANGE
Since the same toolbar factory can be used in a main area chat and a chat in the side panel, this PR introduce a new interface to unify a chat panel (basically a panel containing a chat widget and a toolbar):
This widget interface is used to build the toolbar items in the registry, whether the widget is a main area chat or a side panel chat.
This interface is also used as the tracked widget from the chat tracker (API change):
Any extension bumping to the next version of
@jupyter-chatand providing anIChatTrackershould update its widgets accordingly.