Skip to content
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

Extensible toolbar for code blocks in chat UI #792

Open
JasonWeill opened this issue May 20, 2024 · 0 comments
Open

Extensible toolbar for code blocks in chat UI #792

JasonWeill opened this issue May 20, 2024 · 0 comments
Labels
enhancement New feature or request @jupyter-ai/chatui

Comments

@JasonWeill
Copy link
Collaborator

Problem

#789 added a toolbar with four hard-coded buttons to the bottom of each code block returned from a model provider in the chat UI: insert above active cell, insert below active cell, replace active cell, and copy the code to the clipboard. These options cannot be customized or disabled.

Proposed Solution

Use the toolbar registry, or another affordance, to let users disable buttons in the code block toolbar, add their own buttons, change button positions, or disable the toolbar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request @jupyter-ai/chatui
Projects
None yet
Development

No branches or pull requests

1 participant