@antelopejs/dms-automation 0.5.0 → 0.6.0

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.
Files changed (89) hide show
  1. package/dist/frontend-module.d.ts +2 -0
  2. package/dist/frontend-module.js +19 -0
  3. package/dist/frontend-module.js.map +1 -0
  4. package/dist/index.js +2 -12
  5. package/dist/index.js.map +1 -1
  6. package/dist/pages/overview.d.ts +1 -2
  7. package/dist/pages/overview.js +14 -15
  8. package/dist/pages/overview.js.map +1 -1
  9. package/dist/pages/procedures.d.ts +1 -0
  10. package/dist/pages/procedures.js +9 -0
  11. package/dist/pages/procedures.js.map +1 -1
  12. package/dist/pages/runs.d.ts +1 -2
  13. package/dist/pages/runs.js +10 -7
  14. package/dist/pages/runs.js.map +1 -1
  15. package/dist/pages/shared.d.ts +9 -2
  16. package/dist/pages/shared.js +31 -22
  17. package/dist/pages/shared.js.map +1 -1
  18. package/dist/routes/procedureSchemas.d.ts +12 -2
  19. package/dist/routes/procedureSchemas.js +3 -1
  20. package/dist/routes/procedureSchemas.js.map +1 -1
  21. package/dist/routes/procedures.d.ts +3 -0
  22. package/dist/routes/procedures.js +22 -0
  23. package/dist/routes/procedures.js.map +1 -1
  24. package/dist/routes/runs.d.ts +1 -1
  25. package/dist/routes/runs.js +22 -3
  26. package/dist/routes/runs.js.map +1 -1
  27. package/dist/routes/stats.d.ts +4 -3
  28. package/dist/routes/stats.js +24 -9
  29. package/dist/routes/stats.js.map +1 -1
  30. package/dist/runtime/builtins/actions/log.js +1 -0
  31. package/dist/runtime/builtins/actions/log.js.map +1 -1
  32. package/dist/runtime/builtins/nodes/action.d.ts +2 -1
  33. package/dist/runtime/builtins/nodes/action.js +14 -2
  34. package/dist/runtime/builtins/nodes/action.js.map +1 -1
  35. package/dist/runtime/builtins/nodes/data.js +1 -1
  36. package/dist/runtime/builtins/nodes/data.js.map +1 -1
  37. package/dist/runtime/builtins/nodes/delay.js +1 -1
  38. package/dist/runtime/builtins/nodes/delay.js.map +1 -1
  39. package/dist/runtime/builtins/nodes/forRange.js +1 -1
  40. package/dist/runtime/builtins/nodes/forRange.js.map +1 -1
  41. package/dist/runtime/builtins/nodes/foreach.js +1 -1
  42. package/dist/runtime/builtins/nodes/foreach.js.map +1 -1
  43. package/dist/runtime/builtins/nodes/if.js +1 -1
  44. package/dist/runtime/builtins/nodes/if.js.map +1 -1
  45. package/dist/runtime/builtins/nodes/parallel.js +1 -1
  46. package/dist/runtime/builtins/nodes/parallel.js.map +1 -1
  47. package/dist/runtime/builtins/nodes/retry.js +1 -1
  48. package/dist/runtime/builtins/nodes/retry.js.map +1 -1
  49. package/dist/runtime/builtins/nodes/setVariable.js +1 -1
  50. package/dist/runtime/builtins/nodes/setVariable.js.map +1 -1
  51. package/dist/runtime/builtins/nodes/switch.js +1 -1
  52. package/dist/runtime/builtins/nodes/switch.js.map +1 -1
  53. package/dist/runtime/builtins/nodes/trigger.js +1 -1
  54. package/dist/runtime/builtins/nodes/trigger.js.map +1 -1
  55. package/dist/runtime/builtins/nodes/tryCatch.js +1 -1
  56. package/dist/runtime/builtins/nodes/tryCatch.js.map +1 -1
  57. package/dist/runtime/executor.d.ts +1 -0
  58. package/dist/runtime/executor.js +2 -0
  59. package/dist/runtime/executor.js.map +1 -1
  60. package/dist/runtime/nodeKinds.d.ts +1 -0
  61. package/dist/runtime/nodeKinds.js.map +1 -1
  62. package/dist/runtime/runProcedure.js +1 -0
  63. package/dist/runtime/runProcedure.js.map +1 -1
  64. package/dist/runtime/sideEffects.d.ts +9 -0
  65. package/dist/runtime/sideEffects.js +36 -0
  66. package/dist/runtime/sideEffects.js.map +1 -0
  67. package/dist/runtime/subscriptions.d.ts +2 -0
  68. package/dist/runtime/subscriptions.js +4 -0
  69. package/dist/runtime/subscriptions.js.map +1 -1
  70. package/dist/stats/overview.d.ts +12 -5
  71. package/dist/stats/overview.js +31 -3
  72. package/dist/stats/overview.js.map +1 -1
  73. package/frontend-vue/app/components/AttentionList.vue +16 -4
  74. package/frontend-vue/app/components/Editor/BuilderPalette.vue +2 -1
  75. package/frontend-vue/app/components/Editor/GraphCanvas.vue +3 -1
  76. package/frontend-vue/app/components/Editor/NodeInspector.vue +1 -1
  77. package/frontend-vue/app/components/Editor/nodes/GenericNode.vue +7 -3
  78. package/frontend-vue/app/components/Editor.vue +41 -5
  79. package/frontend-vue/app/components/Run/RunWaterfall.vue +6 -3
  80. package/frontend-vue/app/components/RunPeek.vue +20 -10
  81. package/frontend-vue/app/composables/useAutomationNodeKinds.ts +2 -0
  82. package/frontend-vue/app/composables/useRunActions.ts +1 -1
  83. package/frontend-vue/app/utils/describe.ts +16 -0
  84. package/frontend-vue/i18n/locales/dms-automation-en-GB.json +30 -8
  85. package/frontend-vue/i18n/locales/dms-automation-fr-FR.json +30 -8
  86. package/frontend-vue/package.json +3 -3
  87. package/frontend-vue/pnpm-lock.yaml +25 -95
  88. package/package.json +6 -5
  89. package/skills/dms-automation/SKILL.md +2 -0
@@ -1855,7 +1855,7 @@ async function onDelete() {
1855
1855
  if (!current) return
1856
1856
  const name = savedName.value
1857
1857
  // The server words the dialog, as the procedures table's delete does.
1858
- await confirmFrom(`${props.apiUrl}/procedures/{id}/delete-confirm`, {
1858
+ await confirmFrom(`${props.apiUrl}/procedures/{{row.id}}/delete-confirm`, {
1859
1859
  params: { id: current._id },
1860
1860
  onConfirm: async () => {
1861
1861
  await $authFetch(`${props.apiUrl}/procedures/${current._id}`, { method: 'DELETE' })
@@ -2881,6 +2881,39 @@ function exitDebug() {
2881
2881
  if (queryValue('run')) void router.replace(`${builderPath()}?selected=${selectedId.value}`)
2882
2882
  }
2883
2883
 
2884
+ /** A step a test runs for real, as `POST /procedures/:id/test-effects` lists it. */
2885
+ interface RealEffectStep {
2886
+ nodeId: string
2887
+ typeId: string
2888
+ typeName: string
2889
+ label?: string
2890
+ }
2891
+
2892
+ /**
2893
+ * Asks before a test that acts for real: the steps that would (actions that
2894
+ * cannot simulate) are listed. Resolves `true` at once when there are none.
2895
+ */
2896
+ async function confirmRealEffects(procedureId: string, graph: unknown): Promise<boolean> {
2897
+ const { realEffects } = await $authFetch<{ realEffects: RealEffectStep[] }>(`${props.apiUrl}/procedures/${procedureId}/test-effects`, {
2898
+ method: 'POST',
2899
+ body: { graph },
2900
+ })
2901
+ if (realEffects.length === 0) return true
2902
+ return await confirm({
2903
+ title: t('dms_automation.editor.testEffects.title'),
2904
+ description: t('dms_automation.editor.testEffects.description', { count: realEffects.length }),
2905
+ color: 'warning',
2906
+ icon: 'i-ph-flask',
2907
+ confirmLabel: t('dms_automation.editor.testEffects.confirm'),
2908
+ initialFocus: 'cancel',
2909
+ impact: realEffects.map((step) => ({
2910
+ icon: 'i-ph-lightning',
2911
+ label: processI18n(step.typeName),
2912
+ ...(step.label ? { count: step.label } : {}),
2913
+ })),
2914
+ })
2915
+ }
2916
+
2884
2917
  async function onTestRun() {
2885
2918
  const current = selected.value
2886
2919
  // One test at a time: Ctrl+Enter pressed again waits for it.
@@ -2895,13 +2928,16 @@ async function onTestRun() {
2895
2928
  return
2896
2929
  }
2897
2930
  testing.value = true
2898
- // The previous result leaves the canvas while this test runs.
2899
- overlayRun.value = null
2900
- overlayIsTest.value = false
2901
2931
  try {
2932
+ // Steps that act for real (an e-mail sent, a record written) are named
2933
+ // before the test runs, never after: closing the question runs nothing.
2934
+ if (!(await confirmRealEffects(current._id, current.graph))) return
2935
+ // The previous result leaves the canvas while this test runs.
2936
+ overlayRun.value = null
2937
+ overlayIsTest.value = false
2902
2938
  const res = await $authFetch<{ runId: string }>(`${props.apiUrl}/procedures/${current._id}/test`, {
2903
2939
  method: 'POST',
2904
- body: { graph: current.graph, payload, triggerNodeId: testTriggerNodeId.value },
2940
+ body: { graph: current.graph, payload, triggerNodeId: testTriggerNodeId.value, confirmRealEffects: true },
2905
2941
  })
2906
2942
  await showRun(res.runId)
2907
2943
  dockTab.value = 'test'
@@ -244,10 +244,13 @@ const ticks = computed(() => {
244
244
  })
245
245
 
246
246
  // The row layout: the name and the time on one line and the bar under them
247
- // in a narrow column (a phone, the side panel); name, bar and time side by
247
+ // in a narrow column (a phone, the run drawer); name, bar and time side by
248
248
  // side when there is room.
249
249
  const ROW_GRID = 'grid grid-cols-[minmax(0,1fr)_4.5rem] items-center gap-x-3 gap-y-1.5 @xl:grid-cols-[minmax(0,2fr)_minmax(0,3fr)_4.5rem]'
250
250
  const BAR_CELL = 'order-last col-span-2 @xl:order-none @xl:col-span-1'
251
+ // A step's name wraps while its bar takes a line of its own (a phone, a narrow
252
+ // drawer); beside the bar it keeps to one line.
253
+ const NAME_CLASS = 'break-words @xl:truncate'
251
254
  </script>
252
255
 
253
256
  <template>
@@ -310,7 +313,7 @@ const BAR_CELL = 'order-last col-span-2 @xl:order-none @xl:col-span-1'
310
313
  />
311
314
  <span class="flex min-w-0 flex-col">
312
315
  <span class="flex min-w-0 items-center gap-1.5">
313
- <span class="truncate text-sm text-highlighted">{{ stepTitle(row.step.name, processI18n) }}</span>
316
+ <span :class="NAME_CLASS" class="text-sm text-highlighted">{{ stepTitle(row.step.name, processI18n) }}</span>
314
317
  <UBadge v-if="row.tag" color="neutral" variant="soft" size="sm" class="shrink-0 font-mono">{{ row.tag }}</UBadge>
315
318
  <UBadge v-if="row.step.handled" color="warning" variant="subtle" size="sm" class="shrink-0">
316
319
  {{ $t('dms_automation.trace.handled') }}
@@ -356,7 +359,7 @@ const BAR_CELL = 'order-last col-span-2 @xl:order-none @xl:col-span-1'
356
359
  <span class="flex min-w-0 items-center gap-2">
357
360
  <UIcon name="i-ph-circle-dashed" class="size-4 shrink-0 text-muted" />
358
361
  <span class="flex min-w-0 flex-col">
359
- <span class="truncate text-sm text-muted">{{ stepTitle(step.name, processI18n) }}</span>
362
+ <span :class="NAME_CLASS" class="text-sm text-muted">{{ stepTitle(step.name, processI18n) }}</span>
360
363
  <span class="truncate font-mono text-[11px] text-muted">
361
364
  {{ step.reason === 'stopped' ? $t('dms_automation.trace.notReached') : $t('dms_automation.trace.branchNotTaken') }}
362
365
  </span>
@@ -4,9 +4,12 @@ import { builderRunUrl, opensInBuilder, type RunDetail, useAutomationRuns } from
4
4
  import { useRunActions } from '../composables/useRunActions'
5
5
  import { describeDateTime, describeDuration } from '../utils/describe'
6
6
 
7
- // The quick look at a run, in the run history's side panel: what it did, where
8
- // it failed, the path it took and its payload, with the next actions. The DMS
9
- // panel draws the header, "Run x of y" and the J / K navigation.
7
+ // The quick look at a run, in the run history's drawer: what it did, where it
8
+ // failed, the path it took and its payload, with the next actions. The DMS
9
+ // drawer draws the row header (the procedure's name, "Run x of y" and the
10
+ // J / K navigation): the body does not name the run again. Its root grows to
11
+ // the drawer's height (the drawer body is a flex column), so the DMS footer
12
+ // sits at the bottom while the run is short.
10
13
 
11
14
  const props = defineProps<{
12
15
  rowData?: { _id?: string }
@@ -50,7 +53,7 @@ function go(url: string) {
50
53
  </script>
51
54
 
52
55
  <template>
53
- <div class="flex flex-col gap-4">
56
+ <div class="flex flex-1 flex-col gap-4">
54
57
  <div v-if="loading && !run" class="flex flex-col gap-3">
55
58
  <USkeleton class="h-6 w-60" />
56
59
  <USkeleton class="h-24 w-full" />
@@ -62,7 +65,6 @@ function go(url: string) {
62
65
  <template v-else-if="run">
63
66
  <div class="flex flex-col gap-1">
64
67
  <div class="flex flex-wrap items-center gap-2">
65
- <h3 class="text-base font-semibold text-highlighted">{{ procedureName }}</h3>
66
68
  <DmsStatusPill
67
69
  :tone="failed ? 'error' : 'success'"
68
70
  :label="failed ? $t('dms_automation.runs.status.failed') : $t('dms_automation.runs.status.ok')"
@@ -92,8 +94,10 @@ function go(url: string) {
92
94
  <DmsAutomationRunPayload v-else-if="section === 'payload'" :raw="run.triggerPayload" :kept="run.payloadKept" />
93
95
  <DmsAutomationRunLogList v-else :api-url="apiUrl" :run-id="run._id" :log="run.logs" :names="names" />
94
96
 
95
- <!-- One line in a narrow panel: Re-run as an icon, its name in a tooltip. -->
96
- <div class="sticky bottom-0 flex items-center gap-2 border-t border-default bg-default pt-3">
97
+ <!-- The DMS footer of a drawer's body. Labels stay on one line: a
98
+ narrow drawer wraps the buttons instead, Re-run being an icon with its
99
+ name in a tooltip. -->
100
+ <DmsContainerFooter justify="start">
97
101
  <UTooltip v-if="run.procedure && run.payloadKept" :text="$t('dms_automation.runs.rerunWithPayload')">
98
102
  <UButton
99
103
  color="neutral"
@@ -104,17 +108,23 @@ function go(url: string) {
104
108
  @click="rerun(run._id, procedureName)"
105
109
  />
106
110
  </UTooltip>
107
- <UButton color="neutral" variant="outline" icon="i-ph-path" @click="go(`${traceUrl}?run=${encodeURIComponent(run._id)}`)">
111
+ <UButton
112
+ color="neutral"
113
+ variant="outline"
114
+ icon="i-ph-path"
115
+ class="whitespace-nowrap"
116
+ @click="go(`${traceUrl}?run=${encodeURIComponent(run._id)}`)"
117
+ >
108
118
  {{ $t('dms_automation.runs.trace') }}
109
119
  </UButton>
110
120
  <UTooltip v-if="run.procedure" :text="opensInBuilder(run) ? '' : $t('dms_automation.trace.builderDraftHint')" :disabled="opensInBuilder(run)">
111
121
  <span class="ml-auto inline-flex">
112
- <UButton color="primary" icon="i-ph-bug" :disabled="!opensInBuilder(run)" @click="go(builderRunUrl(builderUrl, run))">
122
+ <UButton color="primary" icon="i-ph-bug" class="whitespace-nowrap" :disabled="!opensInBuilder(run)" @click="go(builderRunUrl(builderUrl, run))">
113
123
  {{ $t('dms_automation.trace.debugInBuilder') }}
114
124
  </UButton>
115
125
  </span>
116
126
  </UTooltip>
117
- </div>
127
+ </DmsContainerFooter>
118
128
  </template>
119
129
  </div>
120
130
  </template>
@@ -3,6 +3,8 @@ import type { GroupPort, JsonSchema } from "./useGraphConnect";
3
3
  export interface PortRef {
4
4
  name: string;
5
5
  type?: string;
6
+ /** The field's title, shown on the canvas in place of the key. */
7
+ title?: string;
6
8
  }
7
9
 
8
10
  export interface NodeKindUI {
@@ -26,7 +26,7 @@ export function useRunActions(options: { apiUrl: string; traceUrl: string }) {
26
26
  asking = true;
27
27
  let result: RerunResult | undefined;
28
28
  try {
29
- await confirmFrom(`${options.apiUrl}/runs/{id}/rerun-confirm`, {
29
+ await confirmFrom(`${options.apiUrl}/runs/{{row.id}}/rerun-confirm`, {
30
30
  params: { id: runId, name: procedureName },
31
31
  fallback: { color: "warning", icon: "i-ph-arrow-clockwise" },
32
32
  onConfirm: async () => {
@@ -48,6 +48,22 @@ export function stepTitle(
48
48
  return step.nodeId;
49
49
  }
50
50
 
51
+ /** A data port of a node: the schema property it wires by, and its title. */
52
+ export interface PortName {
53
+ name: string;
54
+ /** The property's `title`, plain text or a `$`-prefixed DMS i18n key. */
55
+ title?: string;
56
+ }
57
+
58
+ /**
59
+ * The words a port reads as on the canvas: its field's title when one is
60
+ * declared, else its key. Edges and handles keep wiring by the key.
61
+ */
62
+ export function portLabel(port: PortName, t: Translate): string {
63
+ const title = port.title?.trim();
64
+ return title ? t(title) : port.name;
65
+ }
66
+
51
67
  const MS_PER_SECOND = 1000;
52
68
  const SECONDS_PER_MINUTE = 60;
53
69
 
@@ -25,7 +25,8 @@
25
25
  "thu": "Thursdays at {time}",
26
26
  "tue": "Tuesdays at {time}",
27
27
  "wed": "Wednesdays at {time}"
28
- }
28
+ },
29
+ "testNeedsConfirm": "Some steps of this draft act for real: confirm them before testing."
29
30
  },
30
31
  "attention": {
31
32
  "degradedInPeriod": "{failed} of {runs} runs failed in this period · last at {when}, none since",
@@ -183,7 +184,7 @@
183
184
  "problems": "Problems",
184
185
  "recentRuns": "Recent runs",
185
186
  "selectNode": "Select node",
186
- "sideEffects": "Side effects are real: point HTTP steps at a sandbox to dry-run.",
187
+ "sideEffects": "Steps that can simulate were simulated; the others acted for real.",
187
188
  "testRun": "Test run",
188
189
  "toggle": "Show or hide the dock"
189
190
  },
@@ -408,6 +409,11 @@
408
409
  "wiredField": {
409
410
  "from": "From",
410
411
  "unwire": "Unwire"
412
+ },
413
+ "testEffects": {
414
+ "title": "Test with real effects?",
415
+ "description": "This test acts for real: {count} step below changes something outside the run (sends, writes, calls a service) and can’t be simulated. Steps that can simulate are simulated. | This test acts for real: {count} steps below change something outside the run (send, write, call a service) and can’t be simulated. Steps that can simulate are simulated.",
416
+ "confirm": "Test for real"
411
417
  }
412
418
  },
413
419
  "feed": {
@@ -460,7 +466,7 @@
460
466
  "failed": "Failed",
461
467
  "runs": "Runs",
462
468
  "success-rate": "Success rate",
463
- "vsPrevious": "vs previous period"
469
+ "vsCompared": "vs compared period"
464
470
  },
465
471
  "library": {
466
472
  "webhookBaseError": "Couldn’t get the server’s address, so the full URL can’t be shown.",
@@ -587,11 +593,24 @@
587
593
  "group": "Group",
588
594
  "helper": "Helper",
589
595
  "trigger": "Trigger"
596
+ },
597
+ "kinds": {
598
+ "action": "Action",
599
+ "data": "Data",
600
+ "delay": "Delay",
601
+ "foreach": "For each",
602
+ "forRange": "For range",
603
+ "if": "If",
604
+ "parallel": "Parallel",
605
+ "retry": "Retry",
606
+ "setVariable": "Set variable",
607
+ "switch": "Switch",
608
+ "trigger": "Trigger",
609
+ "tryCatch": "Try / Catch"
590
610
  }
591
611
  },
592
612
  "overview": {
593
613
  "proceduresWeek": "Procedures · last 7 days",
594
- "runsPerDayLegend": "Succeeded runs in green, failed runs in red",
595
614
  "allRuns": "Run history",
596
615
  "byTrigger": "By trigger",
597
616
  "byTriggerHint": "How many procedures each trigger starts",
@@ -609,14 +628,16 @@
609
628
  "noRunsHint": "Runs show up here as soon as a procedure fires.",
610
629
  "noTriggers": "No trigger placed yet",
611
630
  "recentRuns": "Recent runs",
631
+ "comparedRuns": "Runs, compared period",
612
632
  "runsPerDay": "Runs",
633
+ "runsPerDayHint": "Runs in the period",
613
634
  "succeeded": "Succeeded",
614
635
  "title": "Overview"
615
636
  },
616
637
  "permissions": {
617
638
  "live": {
618
- "description": "The Live / Pause switch and how long ago the page was read.",
619
- "name": "Live updates"
639
+ "description": "The bar above the page: how long ago it was read, its Live / Pause and, where the page has one, its period.",
640
+ "name": "Page toolbar"
620
641
  },
621
642
  "liveTopics": {
622
643
  "description": "Refreshes the page when a run ends or a procedure changes.",
@@ -653,7 +674,7 @@
653
674
  "name": "New procedure dialog"
654
675
  },
655
676
  "period": {
656
- "description": "The 24 h / 7 d / 30 d window of the figures",
677
+ "description": "The 24 h / 7 d / 30 d window of the figures and what they are compared with",
657
678
  "name": "Period switch"
658
679
  },
659
680
  "runPeek": {
@@ -768,7 +789,7 @@
768
789
  "retentionConfigured": "Older runs are deleted after the retention period set for this project",
769
790
  "retentionForever": "Runs are kept forever",
770
791
  "retest": "Run the test again",
771
- "retestConfirmDescription": "Runs the draft this test ran, from the same trigger, with the same payload. It is stored as a test and doesn’t count in the figures. Side effects are real.",
792
+ "retestConfirmDescription": "Runs the draft this test ran, from the same trigger, with the same payload. It is stored as a test and doesn’t count in the figures. Steps that can simulate are simulated; the ones listed act for real.",
772
793
  "retestConfirmTitle": "Run this test again?",
773
794
  "scopedTo": "Runs of {name}",
774
795
  "searchRuns": "Search procedures, errors, steps, paths or run ids…",
@@ -802,6 +823,7 @@
802
823
  "listTitle": "Runs",
803
824
  "peek": "Quick look",
804
825
  "peekPosition": "Run {index} of {total}",
826
+ "peekHeading": "{procedureName}",
805
827
  "peekNotFound": "This run is no longer kept",
806
828
  "peekNotFoundHint": "The run retention may have deleted it, or the link is wrong.",
807
829
  "rowMenu": "Actions for this run of {procedureName}",
@@ -25,7 +25,8 @@
25
25
  "thu": "Le jeudi à {time}",
26
26
  "tue": "Le mardi à {time}",
27
27
  "wed": "Le mercredi à {time}"
28
- }
28
+ },
29
+ "testNeedsConfirm": "Des étapes de ce brouillon agissent pour de vrai : confirmez-les avant de tester."
29
30
  },
30
31
  "attention": {
31
32
  "degradedInPeriod": "{failed} exécution sur {runs} en échec sur la période · la dernière à {when}, aucune depuis | {failed} exécutions sur {runs} en échec sur la période · la dernière à {when}, aucune depuis",
@@ -183,7 +184,7 @@
183
184
  "problems": "Problèmes",
184
185
  "recentRuns": "Exécutions récentes",
185
186
  "selectNode": "Sélectionner le nœud",
186
- "sideEffects": "Les effets sont réels : pointez les étapes HTTP vers un bac à sable pour un essai à blanc.",
187
+ "sideEffects": "Les étapes qui savent simuler ont été simulées ; les autres ont agi pour de vrai.",
187
188
  "testRun": "Résultat du test",
188
189
  "toggle": "Afficher ou masquer le panneau"
189
190
  },
@@ -408,6 +409,11 @@
408
409
  "wiredField": {
409
410
  "from": "Depuis",
410
411
  "unwire": "Débrancher"
412
+ },
413
+ "testEffects": {
414
+ "title": "Tester avec des effets réels ?",
415
+ "description": "Ce test agit pour de vrai : {count} étape ci-dessous modifie quelque chose hors de l’exécution (envoi, écriture, appel d’un service) et ne peut pas être simulée. Les étapes qui savent simuler sont simulées. | Ce test agit pour de vrai : {count} étapes ci-dessous modifient quelque chose hors de l’exécution (envoi, écriture, appel d’un service) et ne peuvent pas être simulées. Les étapes qui savent simuler sont simulées.",
416
+ "confirm": "Tester pour de vrai"
411
417
  }
412
418
  },
413
419
  "feed": {
@@ -460,7 +466,7 @@
460
466
  "failed": "Échecs",
461
467
  "runs": "Exécutions",
462
468
  "success-rate": "Taux de succès",
463
- "vsPrevious": "vs période précédente"
469
+ "vsCompared": "vs période comparée"
464
470
  },
465
471
  "library": {
466
472
  "webhookBaseError": "Impossible d’obtenir l’adresse du serveur : l’URL complète ne peut pas être affichée.",
@@ -587,11 +593,24 @@
587
593
  "group": "Groupe",
588
594
  "helper": "Utilitaire",
589
595
  "trigger": "Déclencheur"
596
+ },
597
+ "kinds": {
598
+ "action": "Action",
599
+ "data": "Donnée",
600
+ "delay": "Attente",
601
+ "foreach": "Pour chaque",
602
+ "forRange": "Pour un intervalle",
603
+ "if": "Si",
604
+ "parallel": "En parallèle",
605
+ "retry": "Réessayer",
606
+ "setVariable": "Définir une variable",
607
+ "switch": "Selon",
608
+ "trigger": "Déclencheur",
609
+ "tryCatch": "Essayer / En cas d’erreur"
590
610
  }
591
611
  },
592
612
  "overview": {
593
613
  "proceduresWeek": "Procédures · 7 derniers jours",
594
- "runsPerDayLegend": "Exécutions réussies en vert, en échec en rouge",
595
614
  "allRuns": "Historique",
596
615
  "byTrigger": "Par déclencheur",
597
616
  "byTriggerHint": "Nombre de procédures lancées par chaque déclencheur",
@@ -609,14 +628,16 @@
609
628
  "noRunsHint": "Les exécutions apparaissent ici dès qu’une procédure se déclenche.",
610
629
  "noTriggers": "Aucun déclencheur placé",
611
630
  "recentRuns": "Exécutions récentes",
631
+ "comparedRuns": "Exécutions, période comparée",
612
632
  "runsPerDay": "Exécutions",
633
+ "runsPerDayHint": "Exécutions sur la période",
613
634
  "succeeded": "Réussies",
614
635
  "title": "Vue d’ensemble"
615
636
  },
616
637
  "permissions": {
617
638
  "live": {
618
- "description": "Le bouton Direct / Pause et le temps écoulé depuis la dernière lecture de la page.",
619
- "name": "Mises à jour en direct"
639
+ "description": "La barre en haut de la page : le temps écoulé depuis sa dernière lecture, son bouton Direct / Pause et, quand la page en a une, sa période.",
640
+ "name": "Barre de la page"
620
641
  },
621
642
  "liveTopics": {
622
643
  "description": "Recharge la page quand une exécution se termine ou qu’une procédure change.",
@@ -653,7 +674,7 @@
653
674
  "name": "Fenêtre « Nouvelle procédure »"
654
675
  },
655
676
  "period": {
656
- "description": "La période (24 h / 7 j / 30 j) des indicateurs",
677
+ "description": "La période (24 h / 7 j / 30 j) des indicateurs et ce à quoi ils sont comparés",
657
678
  "name": "Sélecteur de période"
658
679
  },
659
680
  "runPeek": {
@@ -768,7 +789,7 @@
768
789
  "retentionConfigured": "Les exécutions plus anciennes que la durée de conservation du projet sont supprimées",
769
790
  "retentionForever": "Les exécutions sont conservées sans limite",
770
791
  "retest": "Relancer le test",
771
- "retestConfirmDescription": "Exécute à nouveau le brouillon testé, depuis le même déclencheur, avec la même charge utile. Le résultat est enregistré comme test et ne compte pas dans les chiffres. Les effets sont réels.",
792
+ "retestConfirmDescription": "Exécute à nouveau le brouillon testé, depuis le même déclencheur, avec la même charge utile. Le résultat est enregistré comme test et ne compte pas dans les chiffres. Les étapes qui savent simuler sont simulées ; celles listées agissent pour de vrai.",
772
793
  "retestConfirmTitle": "Relancer ce test ?",
773
794
  "scopedTo": "Exécutions de {name}",
774
795
  "searchRuns": "Rechercher une procédure, une erreur, une étape, un chemin ou un identifiant…",
@@ -802,6 +823,7 @@
802
823
  "listTitle": "Exécutions",
803
824
  "peek": "Aperçu",
804
825
  "peekPosition": "Exécution {index} sur {total}",
826
+ "peekHeading": "{procedureName}",
805
827
  "peekNotFound": "Cette exécution n’est plus conservée",
806
828
  "peekNotFoundHint": "La rétention des exécutions l’a peut-être supprimée, ou le lien est erroné.",
807
829
  "rowMenu": "Actions pour cette exécution de {procedureName}",
@@ -16,8 +16,8 @@
16
16
  "vue": "^3.5.18"
17
17
  },
18
18
  "devDependencies": {
19
- "@antelopejs/dms": ">=0.9.3 <1.0.0",
20
- "@antelopejs/dms-frontend": ">=0.6.3 <0.7.0",
19
+ "@antelopejs/dms": ">=0.10.0 <1.0.0",
20
+ "@antelopejs/dms-frontend": ">=0.8.0 <0.9.0",
21
21
  "@antelopejs/tooling-configs": ">=0.0.9 <1.0.0",
22
22
  "@eslint/js": "^9.0.0",
23
23
  "@nuxt/ui": "4.10.0",
@@ -31,7 +31,7 @@
31
31
  "vue-tsc": "^3.1.1"
32
32
  },
33
33
  "engines": {
34
- "@antelopejs/dms-frontend": ">=0.6.3 <0.7.0"
34
+ "@antelopejs/dms-frontend": ">=0.8.0 <0.9.0"
35
35
  },
36
36
  "packageManager": "pnpm@10.6.5"
37
37
  }