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

Better support for moving Calva Inspector around #2698

Open
skylize opened this issue Jan 7, 2025 · 1 comment
Open

Better support for moving Calva Inspector around #2698

skylize opened this issue Jan 7, 2025 · 1 comment
Labels
data inspection ux User experience related

Comments

@skylize
Copy link
Contributor

skylize commented Jan 7, 2025

Calva Inspector's current implementation as a TreeView gives it limited and clunky ability to get moved around the screen. Would be nice if it had more freedom.

@PEZ PEZ added ux User experience related data inspection labels Jan 8, 2025
@PEZ
Copy link
Collaborator

PEZ commented Jan 8, 2025

This is fundamentally a VS Code issue. All views have limitations on where they can be placed. I think only the terminals have almost full freedom. The API does not let an extension change this.

The way some extensions (the VS Code internal CoPilot extension included) solve it by a separate command for opening a view in the editor area. Because Sidebar and panel views can be dragged between sidebar and panel, but not to the editor area. And editors can't be dragged to the sidebar. (It is beyond me why anyone thinks these limitations are a good idea, but that's a subject for a separate discussion.)

In order to create a view that can be hosted in the editor area, we need to create it using a vscode WebView. This is a pretty huge undertaking, but has several other benefits (such as full freedom to design the Ux in the view).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data inspection ux User experience related
Projects
None yet
Development

No branches or pull requests

2 participants