feat(editor): Debug executions in the editor (#6834)
This commit is contained in:
@@ -31,6 +31,7 @@ import {
|
||||
WORKFLOW_SHARE_MODAL_KEY,
|
||||
SOURCE_CONTROL_PUSH_MODAL_KEY,
|
||||
SOURCE_CONTROL_PULL_MODAL_KEY,
|
||||
DEBUG_PAYWALL_MODAL_KEY,
|
||||
} from '@/constants';
|
||||
import type {
|
||||
CloudUpdateLinkSourceType,
|
||||
@@ -142,6 +143,9 @@ export const useUIStore = defineStore(STORES.UI, {
|
||||
[SOURCE_CONTROL_PULL_MODAL_KEY]: {
|
||||
open: false,
|
||||
},
|
||||
[DEBUG_PAYWALL_MODAL_KEY]: {
|
||||
open: false,
|
||||
},
|
||||
},
|
||||
modalStack: [],
|
||||
sidebarMenuCollapsed: true,
|
||||
@@ -198,6 +202,11 @@ export const useUIStore = defineStore(STORES.UI, {
|
||||
|
||||
return {
|
||||
upgradeLinkUrl: `contextual.upgradeLinkUrl${contextKey}`,
|
||||
feature: {
|
||||
unavailable: {
|
||||
title: `contextual.feature.unavailable.title${contextKey}`,
|
||||
},
|
||||
},
|
||||
credentials: {
|
||||
sharing: {
|
||||
unavailable: {
|
||||
@@ -284,7 +293,9 @@ export const useUIStore = defineStore(STORES.UI, {
|
||||
this.fakeDoorFeatures.find((fakeDoor) => fakeDoor.id.toString() === id);
|
||||
},
|
||||
isReadOnlyView(): boolean {
|
||||
return ![VIEWS.WORKFLOW, VIEWS.NEW_WORKFLOW].includes(this.currentView as VIEWS);
|
||||
return ![VIEWS.WORKFLOW, VIEWS.NEW_WORKFLOW, VIEWS.EXECUTION_DEBUG].includes(
|
||||
this.currentView as VIEWS,
|
||||
);
|
||||
},
|
||||
isNodeView(): boolean {
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user