diff --git a/frontend/src/views/AngularWorkflow.jsx b/frontend/src/views/AngularWorkflow.jsx
index 0b48c2cb..fa90a3d1 100755
--- a/frontend/src/views/AngularWorkflow.jsx
+++ b/frontend/src/views/AngularWorkflow.jsx
@@ -13791,7 +13791,7 @@ const AngularWorkflow = (defaultprops) => {
const [hovered, setHovered] = useState(false)
useEffect(() => {
- const handleKeyDown = (event) => {
+ const handleKeyDown = (event) => {
if ((event.metaKey || event.ctrlKey) && event.key === '/') {
event.preventDefault(); // Prevent default browser behavior (like opening search bar)
if (!workflow.public && !executionRequestStarted) {
@@ -13800,9 +13800,11 @@ const AngularWorkflow = (defaultprops) => {
}
if ((event.ctrlKey || event.metaKey) && event.key === "'") {
// Check if Ctrl (Windows/Linux) or Command (Mac) key is pressed along with '/'
- if (!workflow.public) {
+ if (!workflow.public && !executionModalOpen) {
setExecutionModalOpen(true);
getWorkflowExecution(props.match.params.key, "");
+ } else if (!workflow.public && executionModalOpen) {
+ setExecutionModalOpen(false);
}
}
@@ -13814,6 +13816,24 @@ const AngularWorkflow = (defaultprops) => {
//setOriginalWorkflow(workflow)
}
}
+
+ if (( event.ctrlKey || event.metaKey ) && event.key === ";") {
+ if (!workflow.public && executionModalOpen) {
+ getWorkflowExecution(props.match.params.key, "");
+ }
+ }
+
+ if (( event.ctrlKey || event.metaKey ) && event.shiftKey) {
+ console.log("Shift key pressed")
+ if (!workflow.public && executionModalOpen) {
+ setExecutionRunning(false);
+ stop()
+ const cursearch = typeof window === "undefined" || window.location === undefined ? "" : window.location.search;
+ const newitem = removeParam("execution_id", cursearch);
+ navigate(curpath + newitem)
+ setExecutionModalView(0);
+ }
+ }
};
document.addEventListener('keydown', handleKeyDown);
@@ -15188,6 +15208,7 @@ const AngularWorkflow = (defaultprops) => {
+
+
{
) : (
-
- {
- setExecutionRunning(false);
- stop();
- getWorkflowExecution(props.match.params.key, "");
- setExecutionModalView(0);
- setLastExecution(executionData.execution_id);
- }}
+
+
- {
- setExecutionRunning(false);
- stop()
- }}
- >
-
-
- {
- const cursearch = typeof window === "undefined" || window.location === undefined ? "" : window.location.search;
- const newitem = removeParam("execution_id", cursearch);
- navigate(curpath + newitem)
- setExecutionRunning(false);
- stop()
- }}
- >
- See more runs
-
-
-
+
{
+ setExecutionRunning(false);
+ stop();
+ getWorkflowExecution(props.match.params.key, "");
+ setExecutionModalView(0);
+ setLastExecution(executionData.execution_id);
+ }}
+ >
+ {
+ setExecutionRunning(false);
+ stop()
+ }}
+ >
+
+
+
+ {
+ const cursearch = typeof window === "undefined" || window.location === undefined ? "" : window.location.search;
+ const newitem = removeParam("execution_id", cursearch);
+ navigate(curpath + newitem)
+ setExecutionRunning(false);
+ stop()
+ }}
+ >
+ See more runs
+
+
+
+