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

Improve experience with long codeblocks in panel chat #1348

Open
roblourens opened this issue Jun 27, 2024 · 1 comment
Open

Improve experience with long codeblocks in panel chat #1348

roblourens opened this issue Jun 27, 2024 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality panel-chat Chat conversation sidepanel

Comments

@roblourens
Copy link
Member

If I ask panel chat to generate some code in the panel, then I might get some long codeblocks and also some prose explanation of them. It's inconvenient to read these because the view is narrow and I'll have to scroll around a lot to see both the explanation and the code. It would be useful if the codeblock would actually open in an editor view in some cases so that I can read the code and the explanation side by side.

We could start rendering codeblocks inline, and when they get to a certain length, collapse them inline and start rendering them in a preview editor in the main editor area. Or, try to detect a scenario when the model will generate a bunch of code from scratch and use this mode in that scenario.

@roblourens roblourens added feature-request Request for new features or functionality panel-chat Chat conversation sidepanel labels Jun 27, 2024
@roblourens roblourens self-assigned this Jun 27, 2024
@fisforfaheem

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality panel-chat Chat conversation sidepanel
Projects
None yet
Development

No branches or pull requests

2 participants