@checkstack/automation-frontend 0.12.6 → 0.12.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -0
- package/package.json +16 -16
- package/src/pages/AutomationEditPage.tsx +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @checkstack/automation-frontend
|
|
2
2
|
|
|
3
|
+
## 0.12.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6c8b36b: Annotate two deliberate effect-based state mirrors with the
|
|
8
|
+
`checkstack/no-state-seed-in-effect` lint rule: the automation edit page's
|
|
9
|
+
YAML-tab mirror of the visual editor's `definition`, and the theme toggle's
|
|
10
|
+
mirror of the global resolved theme. Both are one-way mirrors of values the user
|
|
11
|
+
never edits directly, so they are safe exceptions to the rule. Comment-only - no
|
|
12
|
+
runtime behavior change.
|
|
13
|
+
- Updated dependencies [6c8b36b]
|
|
14
|
+
- Updated dependencies [6c8b36b]
|
|
15
|
+
- Updated dependencies [6c8b36b]
|
|
16
|
+
- Updated dependencies [6c8b36b]
|
|
17
|
+
- Updated dependencies [6c8b36b]
|
|
18
|
+
- Updated dependencies [6c8b36b]
|
|
19
|
+
- Updated dependencies [6c8b36b]
|
|
20
|
+
- Updated dependencies [6c8b36b]
|
|
21
|
+
- @checkstack/ui@1.29.0
|
|
22
|
+
- @checkstack/auth-common@0.15.0
|
|
23
|
+
- @checkstack/auth-frontend@0.14.0
|
|
24
|
+
- @checkstack/catalog-common@2.8.0
|
|
25
|
+
- @checkstack/frontend-api@0.16.1
|
|
26
|
+
- @checkstack/gitops-frontend@0.7.8
|
|
27
|
+
- @checkstack/secrets-frontend@0.3.16
|
|
28
|
+
- @checkstack/common@0.23.0
|
|
29
|
+
- @checkstack/script-packages-frontend@0.4.17
|
|
30
|
+
- @checkstack/ai-common@0.6.7
|
|
31
|
+
- @checkstack/automation-common@0.10.2
|
|
32
|
+
- @checkstack/integration-common@0.9.10
|
|
33
|
+
- @checkstack/template-engine@0.4.12
|
|
34
|
+
- @checkstack/signal-frontend@0.3.7
|
|
35
|
+
|
|
3
36
|
## 0.12.6
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkstack/automation-frontend",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.7",
|
|
4
4
|
"license": "Elastic-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -16,20 +16,20 @@
|
|
|
16
16
|
"lint:code": "eslint . --max-warnings 0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@checkstack/auth-common": "0.
|
|
20
|
-
"@checkstack/auth-frontend": "0.
|
|
21
|
-
"@checkstack/automation-common": "0.10.
|
|
22
|
-
"@checkstack/ai-common": "0.6.
|
|
23
|
-
"@checkstack/catalog-common": "2.
|
|
24
|
-
"@checkstack/common": "0.
|
|
25
|
-
"@checkstack/frontend-api": "0.16.
|
|
26
|
-
"@checkstack/gitops-frontend": "0.7.
|
|
27
|
-
"@checkstack/integration-common": "0.9.
|
|
28
|
-
"@checkstack/script-packages-frontend": "0.4.
|
|
29
|
-
"@checkstack/secrets-frontend": "0.3.
|
|
30
|
-
"@checkstack/signal-frontend": "0.3.
|
|
31
|
-
"@checkstack/template-engine": "0.4.
|
|
32
|
-
"@checkstack/ui": "1.
|
|
19
|
+
"@checkstack/auth-common": "0.15.0",
|
|
20
|
+
"@checkstack/auth-frontend": "0.14.0",
|
|
21
|
+
"@checkstack/automation-common": "0.10.2",
|
|
22
|
+
"@checkstack/ai-common": "0.6.7",
|
|
23
|
+
"@checkstack/catalog-common": "2.8.0",
|
|
24
|
+
"@checkstack/common": "0.23.0",
|
|
25
|
+
"@checkstack/frontend-api": "0.16.1",
|
|
26
|
+
"@checkstack/gitops-frontend": "0.7.8",
|
|
27
|
+
"@checkstack/integration-common": "0.9.10",
|
|
28
|
+
"@checkstack/script-packages-frontend": "0.4.17",
|
|
29
|
+
"@checkstack/secrets-frontend": "0.3.16",
|
|
30
|
+
"@checkstack/signal-frontend": "0.3.7",
|
|
31
|
+
"@checkstack/template-engine": "0.4.12",
|
|
32
|
+
"@checkstack/ui": "1.29.0",
|
|
33
33
|
"@dnd-kit/core": "^6.3.1",
|
|
34
34
|
"@dnd-kit/sortable": "^8.0.0",
|
|
35
35
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -43,6 +43,6 @@
|
|
|
43
43
|
"typescript": "^5.0.0",
|
|
44
44
|
"@types/react": "^19.0.0",
|
|
45
45
|
"@checkstack/tsconfig": "0.0.7",
|
|
46
|
-
"@checkstack/scripts": "0.7.
|
|
46
|
+
"@checkstack/scripts": "0.7.6"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
@@ -250,6 +250,7 @@ const AutomationEditContent: React.FC = () => {
|
|
|
250
250
|
// Keep the YAML mirror in sync with definition while the visual editor
|
|
251
251
|
// is active — the YAML tab needs a non-stale starting point when the
|
|
252
252
|
// operator switches over.
|
|
253
|
+
// eslint-disable-next-line checkstack/no-state-seed-in-effect -- deliberate live mirror of the visual editor's `definition` into the YAML tab's starting text; gated on the visual tab so it never overwrites in-progress YAML edits, and `definition` is local state (the actual query seeds already use useInitOnceForKey).
|
|
253
254
|
React.useEffect(() => {
|
|
254
255
|
if (tab === "visual") {
|
|
255
256
|
setYamlText(stringifyYaml(definition));
|