feat: add floating popup panes

refs #1125
This commit is contained in:
Ogulcan Celik
2026-07-15 04:02:14 +03:00
parent 88370e1516
commit 2c7c8beb07
33 changed files with 2049 additions and 104 deletions
+88
View File
@@ -3052,6 +3052,16 @@
"default": false,
"type": "boolean"
},
"height": {
"anyOf": [
{
"$ref": "#/schemas/request/$defs/PopupSize"
},
{
"type": "null"
}
]
},
"placement": {
"anyOf": [
{
@@ -3071,6 +3081,16 @@
"null"
]
},
"width": {
"anyOf": [
{
"$ref": "#/schemas/request/$defs/PopupSize"
},
{
"type": "null"
}
]
},
"workspace_id": {
"type": [
"string",
@@ -3087,6 +3107,7 @@
"PluginPanePlacement": {
"enum": [
"overlay",
"popup",
"split",
"tab",
"zoomed"
@@ -3175,6 +3196,21 @@
],
"type": "object"
},
"PopupSize": {
"oneOf": [
{
"description": "Outer popup size in terminal cells, including the border.",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
{
"description": "Outer popup size as a percentage of the terminal area, for example 80%.",
"pattern": "^(100|[1-9][0-9]?)%$",
"type": "string"
}
]
},
"ReadFormat": {
"enum": [
"text",
@@ -5027,6 +5063,22 @@
],
"type": "object"
},
{
"properties": {
"method": {
"const": "popup.close",
"type": "string"
},
"params": {
"$ref": "#/schemas/request/$defs/EmptyParams"
}
},
"required": [
"method",
"params"
],
"type": "object"
},
{
"properties": {
"method": {
@@ -7756,6 +7808,16 @@
"null"
]
},
"height": {
"anyOf": [
{
"$ref": "#/schemas/success_response/$defs/PopupSize"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
@@ -7774,6 +7836,16 @@
},
"title": {
"type": "string"
},
"width": {
"anyOf": [
{
"$ref": "#/schemas/success_response/$defs/PopupSize"
},
{
"type": "null"
}
]
}
},
"required": [
@@ -7805,6 +7877,7 @@
"PluginPanePlacement": {
"enum": [
"overlay",
"popup",
"split",
"tab",
"zoomed"
@@ -7879,6 +7952,21 @@
],
"type": "string"
},
"PopupSize": {
"oneOf": [
{
"description": "Outer popup size in terminal cells, including the border.",
"maximum": 65535,
"minimum": 0,
"type": "integer"
},
{
"description": "Outer popup size as a percentage of the terminal area, for example 80%.",
"pattern": "^(100|[1-9][0-9]?)%$",
"type": "string"
}
]
},
"ReadFormat": {
"enum": [
"text",