I will preface this with: I am willing to work on this PR if it is deemed viable by the VS Code team. I am not going to spend too much time on a PR that won't get accepted.
So it seems like there is still no command to collapse a specific view. Let's say I have a view like this:
"views": {
"ibmi-panel": [
{
"type": "webview",
"id": "vscode-db2i.resultset",
"name": "Results",
"when": "code-for-ibmi:connected == true",
"contextualTitle": "IBM i"
},
I can use a custom context to hide and show a view, but I don't want to do that here because I want the webview to not be disposed. The user can manually collapse which doesn't dispose of the webview, but there's no command to do that? There is vscode-db2i.resultset.toggleVisibility, but that's fully hiding it and can't be expanded again until toggled back. What am I missing? Why is this missing? I even checked the VS Code codebase and it looks like it's not doable.
I really want to programmatically control the visibility property here between visible and collapsed:

I will preface this with: I am willing to work on this PR if it is deemed viable by the VS Code team. I am not going to spend too much time on a PR that won't get accepted.
So it seems like there is still no command to collapse a specific view. Let's say I have a view like this:
I can use a custom context to hide and show a view, but I don't want to do that here because I want the webview to not be disposed. The user can manually collapse which doesn't dispose of the webview, but there's no command to do that? There is
vscode-db2i.resultset.toggleVisibility, but that's fully hiding it and can't be expanded again until toggled back. What am I missing? Why is this missing? I even checked the VS Code codebase and it looks like it's not doable.I really want to programmatically control the
visibilityproperty here betweenvisibleandcollapsed: