I can show WorkflowDesigner tab

I
This commit is contained in:
2025-07-02 00:05:49 +02:00
parent 4b06a0fe9b
commit 7f6a19813d
9 changed files with 248 additions and 4 deletions

View File

@@ -20,3 +20,11 @@ class WorkflowsCommandManager(BaseCommandManager):
"hx-target": f"#w_{self._id}",
"hx-vals": f'js:{{"_id": "{self._id}", "tab_id": "{tab_id}", "tab_boundaries": getTabContentBoundaries("{self._owner.tabs_manager.get_id()}")}}',
}
def show_workflow(self, workflow_name):
return {
"hx_post": f"{ROUTE_ROOT}{Routes.ShowWorkflow}",
"hx-target": f"#{self._owner.tabs_manager.get_id()}",
"hx-swap": "outerHTML",
"hx-vals": f'js:{{"_id": "{self._id}", "name": "{workflow_name}", "tab_boundaries": getTabContentBoundaries("{self._owner.tabs_manager.get_id()}")}}',
}