@octaviaflow/core 3.0.18-beta.35 → 3.0.18-beta.37
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/dist/index.js
CHANGED
|
@@ -12667,7 +12667,7 @@ function ExecutionConsole({
|
|
|
12667
12667
|
const [query, setQuery] = useState22("");
|
|
12668
12668
|
const [activeLevels, setActiveLevels] = useState22(() => new Set(ALL_LEVELS));
|
|
12669
12669
|
const [activeNode, setActiveNode] = useState22("all");
|
|
12670
|
-
const [autoScroll, setAutoScroll] = useState22(
|
|
12670
|
+
const [autoScroll, setAutoScroll] = useState22(running);
|
|
12671
12671
|
const [expandedLines, setExpandedLines] = useState22(/* @__PURE__ */ new Set());
|
|
12672
12672
|
const [exportMenuOpen, setExportMenuOpen] = useState22(false);
|
|
12673
12673
|
const nodeOptions = useMemo15(() => {
|
|
@@ -12691,6 +12691,13 @@ function ExecutionConsole({
|
|
|
12691
12691
|
return false;
|
|
12692
12692
|
});
|
|
12693
12693
|
}, [logs, query, activeLevels, activeNode]);
|
|
12694
|
+
const prevRunningRef = useRef23(running);
|
|
12695
|
+
useEffect19(() => {
|
|
12696
|
+
if (prevRunningRef.current !== running) {
|
|
12697
|
+
setAutoScroll(running);
|
|
12698
|
+
prevRunningRef.current = running;
|
|
12699
|
+
}
|
|
12700
|
+
}, [running]);
|
|
12694
12701
|
useEffect19(() => {
|
|
12695
12702
|
if (!open || !autoScroll) return;
|
|
12696
12703
|
const el = logEndRef.current;
|
|
@@ -14828,7 +14835,6 @@ function FlowToolbarButton({
|
|
|
14828
14835
|
disabled,
|
|
14829
14836
|
"aria-label": label,
|
|
14830
14837
|
"aria-pressed": active,
|
|
14831
|
-
title,
|
|
14832
14838
|
children: /* @__PURE__ */ jsx54("span", { className: "ods-flow-toolbar__btn-icon", children: icon })
|
|
14833
14839
|
}
|
|
14834
14840
|
) });
|
|
@@ -14933,7 +14939,6 @@ function FlowToolbarSave({
|
|
|
14933
14939
|
disabled,
|
|
14934
14940
|
"aria-label": tooltip,
|
|
14935
14941
|
"aria-busy": resolved === "saving",
|
|
14936
|
-
title: shortcut ? `${tooltip} (${shortcut})` : tooltip,
|
|
14937
14942
|
children: [
|
|
14938
14943
|
/* @__PURE__ */ jsx54("span", { className: "ods-flow-toolbar__btn-icon", children: icon }),
|
|
14939
14944
|
showLabel && /* @__PURE__ */ jsx54("span", { className: "ods-flow-toolbar__btn-label", children: resolved === "saving" ? "Saving\u2026" : label })
|
|
@@ -15110,7 +15115,6 @@ function FlowToolbarZoom({
|
|
|
15110
15115
|
{
|
|
15111
15116
|
className: "ods-flow-toolbar__zoom-label",
|
|
15112
15117
|
"aria-label": `Current zoom ${pct} percent`,
|
|
15113
|
-
title: "Current zoom",
|
|
15114
15118
|
children: [
|
|
15115
15119
|
pct,
|
|
15116
15120
|
"%"
|