- Workflow-as-Code is in alpha — use in production at your own risk. It is an
- alternative to the Flow editor for advanced users. Feedback welcome on
- GitHub
- or
- Discord.
-
-
-
-
-
-
diff --git a/frontend/src/lib/components/ScriptEditor.svelte b/frontend/src/lib/components/ScriptEditor.svelte
index 646cbc0477..d00f5cc9f1 100644
--- a/frontend/src/lib/components/ScriptEditor.svelte
+++ b/frontend/src/lib/components/ScriptEditor.svelte
@@ -11,13 +11,7 @@
type ScriptModule
} from '$lib/gen'
import { enterpriseLicense, userStore, workspaceStore } from '$lib/stores'
- import {
- copyToClipboard,
- emptySchema,
- getLocalSetting,
- sendUserToast,
- storeLocalSetting
- } from '$lib/utils'
+ import { copyToClipboard, emptySchema, sendUserToast } from '$lib/utils'
import Editor from './Editor.svelte'
import { inferArgs, inferAssets, inferAnsibleExecutionMode } from '$lib/infer'
import { isWorkflowAsCode } from '$lib/components/graph/wacToFlow'
@@ -41,7 +35,6 @@
import Popover from './meltComponents/Popover.svelte'
import DiffEditor from './DiffEditor.svelte'
import {
- AlertTriangle,
Bug,
Copy,
CornerDownLeft,
@@ -582,8 +575,6 @@
let ansibleGitSshIdentity = $state([])
// Debug mode state
- const DEBUG_BETA_WARNING_KEY = 'debug_beta_warning_confirmed'
- let showDebugBetaWarning = $state(false)
let debugMode = $state(false)
let debugBreakpoints = new SvelteSet()
let breakpointDecorations: string[] = $state([])
@@ -1028,21 +1019,10 @@
clearAllBreakpoints()
updateCurrentLineDecoration(undefined)
} else {
- // Entering debug mode - check if beta warning was confirmed
- if (getLocalSetting(DEBUG_BETA_WARNING_KEY) !== 'true') {
- showDebugBetaWarning = true
- } else {
- debugMode = true
- }
+ debugMode = true
}
}
- function confirmDebugBetaWarning(): void {
- storeLocalSetting(DEBUG_BETA_WARNING_KEY, 'true')
- showDebugBetaWarning = false
- debugMode = true
- }
-
// Subscribe to debug state changes for current line highlighting
$effect(() => {
const currentLine = $debugState.currentLine
@@ -1389,28 +1369,6 @@
-
-
-
-
-
-
-
-
-
The Debug feature is currently in beta. You may encounter unexpected
- behavior or limitations.
-
By continuing, you acknowledge that this feature is experimental.