>({});
-const AUTOARRANGE_ROW_GAP_PX = 48;
+const AUTOARRANGE_ROW_GAP_PX = 64;
const AUTOARRANGE_COLUMN_GAP_PX = 128;
const nodes = computed(() =>
diff --git a/src/ui/src/components/workflows/abstract/WorkflowsNode.vue b/src/ui/src/components/workflows/abstract/WorkflowsNode.vue
index 468b5e105..104b1d505 100644
--- a/src/ui/src/components/workflows/abstract/WorkflowsNode.vue
+++ b/src/ui/src/components/workflows/abstract/WorkflowsNode.vue
@@ -4,6 +4,7 @@
:class="{
'WorkflowsNode--trigger': isTrigger,
'WorkflowsNode--intelligent': isIntelligent,
+ 'WorkflowsNode--deprecated': isDeprecated,
'WorkflowsNode--running': completionStyle == 'running',
'WorkflowsNode--success': completionStyle == 'success',
'WorkflowsNode--error': completionStyle == 'error',
@@ -24,6 +25,9 @@
class="nodeNamer"
:block-name="def.name"
>
+
+ Deprecated
+
{
return def?.value?.category == "Writer";
});
+const isDeprecated = computed(() => {
+ return def?.value?.deprecated;
+});
+
const completionStyle = computed(() => {
if (latestKnownOutcome.value == null) return null;
if (latestKnownOutcome.value == "in_progress") return "running";
@@ -245,6 +253,10 @@ watch(isEngaged, () => {
animation: shadowPulse 1s infinite alternate ease-in-out;
}
+.WorkflowsNode--deprecated {
+ filter: grayscale(1);
+}
+
@keyframes shadowPulse {
0% {
box-shadow: 0px 2px 24px -16px #6985ff;
@@ -326,11 +338,12 @@ watch(isEngaged, () => {
}
.title {
- display: flex;
+ display: grid;
gap: 10px;
padding: 12px;
border-radius: 12px 12px 0 0;
align-items: center;
+ grid-template-columns: 24px 1fr;
}
.WorkflowsNode--intelligent .title {
@@ -342,6 +355,17 @@ watch(isEngaged, () => {
height: 24px;
}
+.title .deprecationNotice {
+ font-size: 12px;
+ text-transform: uppercase;
+ font-size: 12px;
+ font-weight: 500;
+ line-height: 12px; /* 100% */
+ letter-spacing: 1.3px;
+ text-transform: uppercase;
+ color: var(--builderSecondaryTextColor);
+}
+
.WorkflowsNode--trigger .title img {
border-radius: 50%;
}
diff --git a/src/ui/src/components/workflows/base/WorkflowsNodeNamer.vue b/src/ui/src/components/workflows/base/WorkflowsNodeNamer.vue
index 21e81b322..e4511303c 100644
--- a/src/ui/src/components/workflows/base/WorkflowsNodeNamer.vue
+++ b/src/ui/src/components/workflows/base/WorkflowsNodeNamer.vue
@@ -82,6 +82,7 @@ function handleAliasEditorMousemove(ev: MouseEvent) {