Skip to content

Commit 0624bde

Browse files
authored
feat(ui): show catalog node detail and finish the lineage pages (#1377)
* feat(ui): show catalog node detail from the control API and finish lineage labels The catalog node page, the lineage inspector and node links across Catalog, Checks, Changes and Lineage now load from the catalog listing, node status, node SQL and check reads. SQL is read only where the location grants view.sql, so viewers cause no refused, audited reads. Graph cards show the node name without its kind prefix. Sections the server does not report (run history, jobs, history, drift without built SQL, ad-hoc runs) are hidden instead of claiming there are none. * fix(ui): ask for refused node SQL once until reload view.sql in a location's bootstrap actions may hold on only some nodes, so the node SQL read can still be refused. Each refusal is audited and node pages refetch on change signals, so remember the refused node and skip its SQL read until the page reloads. * fix(ui): wrap SQL previews and drop the kind prefix from SQL file labels Preview lines scrolled sideways with no visible scrollbar, so long lines looked cut off; previews now wrap and the full viewer still scrolls. SQL file labels show the node name, like the graph cards. * feat: publish column lineage and show it on catalog node pages Location publication now adds a lineage snapshot document: the compiler's FAST column lineage edges for every model, as source and target node keys, columns and transform kind. A person read returns the edges reaching or leaving one node, with each node's inferred columns, behind the same view-on-every-node gate as the catalog listing. It carries no SQL or expressions, which need view.sql. The catalog node page's Column lineage tab maps the read onto the existing column lineage view. * fix(ui): show full names and transform kinds in column lineage Traced identifiers and node names wrap instead of truncating, column types stay on one line, and transformed edges name the compiler's transform kind, such as Cast or Aggregation. * refactor: move column lineage to its own change Column lineage publication would push large projects past the publish body limit, so it lands after the publish request is compressed. This change keeps node detail, labels and the SQL preview fixes.
1 parent 09644c6 commit 0624bde

15 files changed

Lines changed: 261 additions & 68 deletions

File tree

‎ui/src/lib/api/http-catalog.test.ts‎

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { describe, expect, it } from 'vitest';
22
import type { components } from '$control/schema.d.ts';
3-
import { toCatalogNodes } from './http-catalog';
3+
import { findNode, nodeDetailOf, toCatalogNodes } from './http-catalog';
4+
import { toCheck } from './http-checks';
45

56
type W = components['schemas'];
67

@@ -53,4 +54,46 @@ describe('catalog node mapping', () => {
5354
expect([orders.description, orders.tags, orders.columnCount, orders.relation]).toEqual(['One row per order', ['marts'], 4, { database: null, schema: 'main', name: 'orders' }]);
5455
expect([orders.stale, orders.checks, orders.lastOutcome, orders.group, orders.owner]).toEqual([null, null, null, null, []]);
5556
});
57+
58+
it('finds a node by key, or by bare name preferring the model', () => {
59+
const nodes = toCatalogNodes([node('source:orders'), node('source:customers'), node('model:orders', { materialization: 'view' })]);
60+
expect([findNode(nodes, 'source:orders')?.key, findNode(nodes, 'orders')?.key, findNode(nodes, 'customers')?.key, findNode(nodes, 'order')]).toEqual(['source:orders', 'model:orders', 'source:customers', null]);
61+
});
62+
});
63+
64+
function check(id: string, target: string, outcome: string): W['CheckResult'] {
65+
return { event_id: `e-${id}`, binding_key: id, audit_name: id, audit_definition_name: 'not_null', attachment_kind: 'model', attached_target_name: target, severity: 'error', evaluation_mode: 'violations', run_scope_phase: 'final', occurred_at: '2026-11-07T06:00:00Z', run_id: 'r', invocation_id: 'i', outcome, reused: 'false' };
66+
}
67+
68+
function status(definition: W['NodeStatus']['definition'], physical: W['NodeStatus']['physical']): W['NodeStatus'] {
69+
const build = { definition_hash: 'd', event_id: 'e', observed_at: '2026-11-07T06:00:00Z', run_id: 'sqb-run-1', schema_fingerprint: 's', source_event_id: 'x', version_hash: 'v1' };
70+
return { node_key: 'model:orders', snapshot_id: 'snap', build, definition, physical, source_data: { status: 'unknown', reason: 'not tracked' } };
71+
}
72+
73+
describe('catalog node detail', () => {
74+
const nodes = toCatalogNodes([node('model:orders', { materialization: 'table' }), node('model:order_totals', { materialization: 'view', dependencies: ['model:orders'] }), node('model:orders_by_day', { materialization: 'view' })]);
75+
const checks = [check('a', 'orders', 'pass'), check('b', 'model:orders', 'fail'), check('c', 'orders', 'warn'), check('d', 'orders_by_day', 'fail'), { ...check('e', 'orders', 'fail'), attachment_kind: 'source' }].map(toCheck);
76+
const observed: W['NodeStatus']['physical'] = { status: 'observed', observation: { event_id: 'o', observed_at: '2026-11-07T06:00:00Z', record: { name: 'orders', relation_type: 'table', state_schema: 'main', columns: [{ name: 'order_id', data_type: 'INTEGER' }] } } };
77+
78+
it('keeps only its own checks, matched by key or by bare name of the same kind, and counts them by newest outcome', () => {
79+
const d = nodeDetailOf(nodes, nodes[0], null, null, checks);
80+
expect(d.checkResults.map((c) => c.id)).toEqual(['a', 'b', 'c']);
81+
expect(d.checks).toEqual({ total: 3, passing: 1, warning: 1, failing: 1 });
82+
expect(d.downstream).toEqual(['model:order_totals']);
83+
});
84+
85+
it('reports a changed definition as stale and maps the warehouse columns', () => {
86+
const changed = nodeDetailOf(nodes, nodes[0], status({ status: 'changed', current_local_hash: 'b', recorded_local_hash: 'a' }, observed), null, []);
87+
expect(changed.stale.map((r) => [r.reason, r.since])).toEqual([['changed', '2026-11-07T06:00:00Z']]);
88+
expect(changed.columns).toEqual([{ name: 'order_id', type: 'INTEGER', description: '', audits: [] }]);
89+
const matched = nodeDetailOf(nodes, nodes[0], status({ status: 'matched', local_hash: 'a' }, { status: 'unavailable', reason: 'no catalog' }), null, []);
90+
expect([matched.stale, matched.columns]).toEqual([[], []]);
91+
});
92+
93+
it('leaves refused SQL out and unreported history unknown rather than empty', () => {
94+
const refused = nodeDetailOf(nodes, nodes[0], null, null, []);
95+
expect([refused.sql, refused.runs, refused.jobs, refused.history]).toEqual([null, null, null, null]);
96+
const withSql = nodeDetailOf(nodes, nodes[0], null, { node_key: 'model:orders', snapshot_id: 'snap', raw_sql: 'select {{ x }}', compiled_sql: null }, []);
97+
expect(withSql.sql).toEqual({ raw: 'select {{ x }}', compiled: 'select {{ x }}' });
98+
});
5699
});

‎ui/src/lib/api/http-catalog.ts‎

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { components } from '$control/schema.d.ts';
2-
import type { CatalogNode } from './types/build';
2+
import { shortName } from '$lib/build-area/labels';
3+
import type { CatalogNode, CatalogNodeDetail, Check, CheckCounts, StaleReason } from './types/build';
34
import type { NodeKind } from './types/operate';
45

56
type Wire = components['schemas'];
@@ -48,3 +49,58 @@ export function toCatalogNodes(wire: Wire['CatalogNodeRecord'][]): CatalogNode[]
4849
const listed = new Set(nodes.map((node) => node.key));
4950
return nodes.map((node) => ({ ...node, upstream: node.upstream.filter((key) => listed.has(key)) }));
5051
}
52+
53+
/** Passing, warning and failing by each check's newest result; checks without one count only towards the total. */
54+
export function checkCountsOf(checks: Check[]): CheckCounts {
55+
const outcome = (c: Check) => c.latest?.outcome;
56+
return {
57+
total: checks.length,
58+
passing: checks.filter((c) => outcome(c) === 'pass').length,
59+
warning: checks.filter((c) => outcome(c) === 'warn').length,
60+
failing: checks.filter((c) => ['fail', 'error'].includes(outcome(c) ?? '')).length
61+
};
62+
}
63+
64+
/** A definition that changed since its last recorded build here; other staleness is not reported by the server. */
65+
function staleOf(status: Wire['NodeStatus'] | null): StaleReason[] {
66+
if (status?.definition.status !== 'changed' || !status.build) return [];
67+
return [{ reason: 'changed', change: 'definition', detail: 'The definition changed since it was last built here.', since: status.build.observed_at }];
68+
}
69+
70+
71+
/** The listed node a key or bare name refers to, preferring a model; migrations name models without their kind. */
72+
export function findNode(nodes: CatalogNode[], ref: string): CatalogNode | null {
73+
return nodes.find((n) => n.key === ref) ?? nodes.find((n) => n.key === `model:${ref}`) ?? nodes.find((n) => shortName(n.key) === ref) ?? null;
74+
}
75+
76+
/**
77+
* A listed node with its status and SQL reads and its checks. The server keeps no
78+
* per-node run history, row counts, cost, jobs or migrations, so those stay empty or null and the
79+
* pages hide them. `sql` is null when the person may not see SQL.
80+
*/
81+
export function nodeDetailOf(nodes: CatalogNode[], node: CatalogNode, status: Wire['NodeStatus'] | null, sql: Wire['NodeSql'] | null, checks: Check[]): CatalogNodeDetail {
82+
// Checks name their node without its kind, so the attachment tells a source from a model of the same name.
83+
const own = checks.filter((c) => c.node === node.key || `${c.attachment}:${c.node}` === node.key);
84+
const physical = status?.physical.status === 'observed' ? status.physical.observation.record : null;
85+
return {
86+
...node,
87+
stale: staleOf(status),
88+
checks: checkCountsOf(own),
89+
downstream: nodes.filter((n) => n.upstream.includes(node.key)).map((n) => n.key),
90+
recentOutcomes: [],
91+
lastRows: null,
92+
rowsDelta: null,
93+
lastDurationMs: null,
94+
cost: null,
95+
columns: (physical?.columns ?? []).map((c) => ({ name: c.name, type: c.data_type, description: '', audits: [] })),
96+
sql: sql?.raw_sql ? { raw: sql.raw_sql, compiled: sql.compiled_sql ?? sql.raw_sql } : null,
97+
code: null,
98+
builds: [],
99+
jobs: null,
100+
runs: null,
101+
checkResults: own,
102+
warehouse: null,
103+
microbatch: null,
104+
history: null
105+
};
106+
}

‎ui/src/lib/api/http-client.test.ts‎

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
2-
import { HttpChangeFeed, feedAllowed } from './http-client';
2+
import { HttpChangeFeed, createHttpClient, feedAllowed } from './http-client';
33
import type { ChangedSignal, ConnectionState } from './signals';
44

55
/** A stand-in `EventSource` the test opens, fails and feeds by hand. */
@@ -237,3 +237,48 @@ describe('feedAllowed', () => {
237237
await expect(feedAllowed('', ORDERS, () => {})).rejects.toThrow('network down');
238238
});
239239
});
240+
241+
describe('getCatalogNode', () => {
242+
/** Answers the reads a node page makes; anything else, such as node status, is refused. */
243+
function serve(actions: string[], sqlStatus = 200) {
244+
const paths: string[] = [];
245+
const answers: [string, unknown][] = [
246+
['/bootstrap', { login_mode: 'password', access: { name: 'vic', principal_id: 'p', actions: [], locations: [{ location_id: '0191f0aa-orders', name: 'Orders', target: 'development', actions }] } }],
247+
['/nodes', [{ node_key: 'model:orders', kind: 'model', name: 'orders', materialization: 'table', tags: [], dependencies: [], snapshot_id: 's' }]],
248+
['/checks', []],
249+
['/sql', { node_key: 'model:orders', snapshot_id: 's', raw_sql: 'select 1', compiled_sql: 'select 1' }]
250+
];
251+
vi.stubGlobal(
252+
'fetch',
253+
vi.fn(async (request: Request) => {
254+
const path = new URL(request.url).pathname;
255+
paths.push(path);
256+
const answer = answers.find(([end]) => path.endsWith(end));
257+
const refused = !answer || (answer[0] === '/sql' && sqlStatus === 403);
258+
return refused ? Response.json({ error: 'refused' }, { status: 403 }) : Response.json(answer[1]);
259+
})
260+
);
261+
return paths;
262+
}
263+
264+
it.each([
265+
[['view', 'view.sql'], 'select 1'],
266+
[['view'], null]
267+
])('with %j reads SQL only when the location allows it, so a viewer causes no refused read', async (actions, raw) => {
268+
const paths = serve(actions);
269+
const client = createHttpClient({ baseUrl: 'http://ui.test', onUnauthorized: () => {} });
270+
await client.bootstrap();
271+
const detail = await client.getCatalogNode(ORDERS, 'orders');
272+
expect([detail?.key, detail?.sql?.raw ?? null]).toEqual(['model:orders', raw]);
273+
expect(paths.filter((p) => p.endsWith('/sql'))).toHaveLength(raw ? 1 : 0);
274+
});
275+
276+
it('asks for a refused node SQL once, when view.sql holds on only some nodes', async () => {
277+
const paths = serve(['view', 'view.sql'], 403);
278+
const client = createHttpClient({ baseUrl: 'http://ui.test', onUnauthorized: () => {} });
279+
await client.bootstrap();
280+
const loads = [await client.getCatalogNode(ORDERS, 'orders'), await client.getCatalogNode(ORDERS, 'orders')];
281+
expect(loads.map((d) => [d?.key, d?.sql])).toEqual([['model:orders', null], ['model:orders', null]]);
282+
expect(paths.filter((p) => p.endsWith('/sql'))).toHaveLength(1);
283+
});
284+
});

‎ui/src/lib/api/http-client.ts‎

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import createFetch from 'openapi-fetch';
22
import type { components, paths } from '$control/schema.d.ts';
33
import { ApiError, type ApiClient } from './client';
44
import { checkDetailOf, toCheck, toCheckEvidence, toCheckSql } from './http-checks';
5-
import { toCatalogNodes } from './http-catalog';
5+
import { findNode, nodeDetailOf, toCatalogNodes } from './http-catalog';
66
import { toSnapshotChanges } from './http-changes';
77
import { jobDetailOf, toJob, toTick, toTrigger, triggerDetailOf } from './http-jobs';
88
import { RUN_WINDOW, runDetailOf, runRowPage, runsMatching, runTabCountsOf, toRunNode, toRuns } from './http-runs';
99
import type { ChangeSubscription, ChangedChannel, ChangedSignal, ConnectionState } from './signals';
1010
import type { AuthMode, Bootstrap, Capability, Location, Scope } from './types';
11-
import type { CatalogNode, Check, CheckDetail, CheckEvidence, CheckSql, SnapshotChange } from './types/build';
11+
import type { CatalogNode, CatalogNodeDetail, Check, CheckDetail, CheckEvidence, CheckSql, SnapshotChange } from './types/build';
1212
import type { Job, JobDetail, RerunMode, Run, RunDetail, RunListQuery, RunRowPage, RunRowQuery, RunTabCounts, Trigger, TriggerDetail, TriggerState } from './types/operate';
1313

1414
type Wire = components['schemas'];
@@ -38,6 +38,7 @@ const SUPPORTED: ReadonlySet<string> = new Set<keyof ApiClient>([
3838
'getCheckSql',
3939
'getCheckEvidence',
4040
'listCatalogNodes',
41+
'getCatalogNode',
4142
'listSnapshotChanges'
4243
]);
4344

@@ -186,14 +187,20 @@ export type HttpClientOptions = {
186187
*/
187188
export function createHttpClient({ baseUrl = '', onUnauthorized }: HttpClientOptions): ApiClient {
188189
const http = createFetch<paths>({ baseUrl, credentials: 'same-origin' });
190+
// Locations whose bootstrap actions include view.sql, which may hold on only some nodes, and the
191+
// nodes there whose SQL was refused; each refused read is audited, so neither is asked again until reload.
192+
let sqlLocations = new Set<string>();
193+
const sqlRefused = new Set<string>();
189194
const implemented = {
190195
supports: (method: keyof ApiClient) => SUPPORTED.has(method),
191196
changes: new HttpChangeFeed(baseUrl, (scope) => feedAllowed(baseUrl, scope, onUnauthorized)),
192197
async bootstrap(): Promise<Bootstrap> {
193198
const { data, error, response } = await http.GET('/api/control/bootstrap');
194199
if (response.status === 401) onUnauthorized();
195200
if (!data) throw new ApiError(errorText(error, response), response.status);
196-
return toBootstrap(data);
201+
const bootstrap = toBootstrap(data);
202+
sqlLocations = new Set(bootstrap.locations.filter((l) => l.capabilities?.includes('view.sql')).map((l) => l.id));
203+
return bootstrap;
197204
},
198205
listRunRows: async (scope: Scope, query: RunRowQuery = {}): Promise<RunRowPage> => runRowPage(await listedRuns(scope), scope.locationId, query),
199206
runTabCounts: async (scope: Scope, query: RunRowQuery = {}): Promise<RunTabCounts> => runTabCountsOf(await listedRuns(scope), scope.locationId, query),
@@ -256,6 +263,24 @@ export function createHttpClient({ baseUrl = '', onUnauthorized }: HttpClientOpt
256263
if (!snapshots.data) throw new ApiError(errorText(snapshots.error, snapshots.response), snapshots.response.status);
257264
return toSnapshotChanges(snapshots.data, runs);
258265
},
266+
async getCatalogNode(scope: Scope, ref: string): Promise<CatalogNodeDetail | null> {
267+
const nodes = await implemented.listCatalogNodes(scope);
268+
const node = findNode(nodes, ref);
269+
if (!node) return null;
270+
const { locationId, target } = parseLocationKey(scope.locationId);
271+
const path = { location_id: locationId, target };
272+
const [status, sql, checks] = await Promise.all([
273+
http.GET('/api/control/locations/{location_id}/targets/{target}/node-status', { params: { path, query: { node_key: node.key } } }),
274+
sqlLocations.has(scope.locationId) && !sqlRefused.has(`${scope.locationId}|${node.key}`)
275+
? http.GET('/api/control/locations/{location_id}/targets/{target}/nodes/{node_key}/sql', { params: { path: { ...path, node_key: node.key } } })
276+
: null,
277+
checkResults(scope).catch(() => [])
278+
]);
279+
if (status.response.status === 401 || sql?.response.status === 401) onUnauthorized();
280+
if (sql?.response.status === 403) sqlRefused.add(`${scope.locationId}|${node.key}`);
281+
// Status and SQL have their own permissions; a refusal leaves that part out rather than failing the page.
282+
return nodeDetailOf(nodes, node, status.data ?? null, sql?.data ?? null, checks.map(toCheck));
283+
},
259284
listChecks: async (scope: Scope): Promise<Check[]> => (await checkResults(scope)).map(toCheck),
260285
getCheck: async (scope: Scope, id: string): Promise<CheckDetail | null> => checkDetailOf(await checkResults(scope, id)),
261286
async getCheckSql(scope: Scope, checkId: string): Promise<CheckSql> {

‎ui/src/lib/api/types/build.ts‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,15 @@ export type CatalogNodeDetail = Omit<CatalogNode, 'stale' | 'checks'> & {
177177
code: { file: string; source: string } | null;
178178
/** As built in this target, newest first. */
179179
builds: BuiltDefinition[];
180-
jobs: NodeJob[];
181-
runs: NodeRunEntry[];
180+
/** Null when the server does not report which jobs select the node. */
181+
jobs: NodeJob[] | null;
182+
/** Null when the server does not report the node's run history. */
183+
runs: NodeRunEntry[] | null;
182184
checkResults: Check[];
183185
warehouse: WarehouseObject | null;
184186
microbatch: MicrobatchCoverage | null;
185-
history: NodeHistory;
187+
/** Null when the server does not report renames and moves. */
188+
history: NodeHistory | null;
186189
};
187190

188191
// ---- column lineage ----

‎ui/src/lib/build-area/labels.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,3 +174,6 @@ export function relationName(relation: { database: string | null; schema: string
174174
if (!relation) return '—';
175175
return [relation.database, relation.schema, relation.name].filter(Boolean).join('.');
176176
}
177+
178+
/** A node key without its kind, e.g. `customer_summary` for `model:customer_summary`. */
179+
export const shortName = (key: string) => key.slice(key.indexOf(':') + 1);

‎ui/src/lib/components/code/code-preview.svelte‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,14 @@
114114
.ml-auto {
115115
margin-left: auto;
116116
}
117+
/* A preview is read at a glance, so long lines wrap; the full viewer scrolls. */
117118
.body {
118119
padding: 8px 0;
119-
overflow-x: auto;
120120
color: var(--sb-mono);
121121
font: 12px/1.7 var(--font-mono);
122122
}
123123
.line {
124124
display: flex;
125-
min-width: max-content;
126125
padding-right: 12px;
127126
}
128127
.ln {
@@ -134,8 +133,10 @@
134133
user-select: none;
135134
}
136135
.line code {
136+
min-width: 0;
137137
font: inherit;
138-
white-space: pre;
138+
white-space: pre-wrap;
139+
overflow-wrap: anywhere;
139140
}
140141
.more {
141142
display: block;

‎ui/src/lib/components/lineage/asset-node.svelte‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
2323
type AssetData = {
2424
name: string;
25+
/** Shown instead of the key when set; the key stays in the tooltip. */
26+
label?: string;
2527
kind: string;
2628
/** The last build outcome; staleness is shown separately. */
2729
status: 'ok' | 'fail' | 'warn' | 'run' | 'src' | 'none';
@@ -98,7 +100,7 @@
98100

99101
<div class="head">
100102
<Glyph size={14} strokeWidth={1.75} class="glyph" />
101-
<span class="name" title={d.name}>{d.name}</span>
103+
<span class="name" title={d.name}>{d.label ?? d.name}</span>
102104
{#if f.kind}<span class="kind">{kindShort}</span>{/if}
103105
</div>
104106

‎ui/src/lib/lineage/catalog-graph.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import type { Edge, Node } from '@xyflow/svelte';
44
import type { CatalogNode, StaleReason } from '$lib/api';
5-
import { kindLine, nodeIconKey } from '$lib/build-area/labels';
5+
import { kindLine, nodeIconKey, shortName } from '$lib/build-area/labels';
66

77
export type CardStatus = 'ok' | 'fail' | 'warn' | 'src' | 'none';
88
export type CardStale = 'changed' | 'compiled' | 'upstream' | 'behind';
@@ -35,6 +35,7 @@ export function checksBadge(node: CatalogNode): { checks?: string; checksColor?:
3535
export function cardData(node: CatalogNode): Record<string, unknown> {
3636
return {
3737
name: node.key,
38+
label: shortName(node.key),
3839
kind: kindLine(node),
3940
group: node.group,
4041
nodeKind: node.kind,

‎ui/src/lib/lineage/scoped-lineage.svelte‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,12 @@
181181

182182
<div class="ml-auto flex items-center gap-2.5">
183183
<span class="text-[var(--sb-text-faint)] text-[12px]">--select <span class="text-muted-foreground">{selectExpr}</span></span>
184-
<button
184+
{#if onExecute}<button
185185
class="bg-primary rounded-[2px] px-3 py-1 text-[12px] font-medium text-white disabled:opacity-50"
186186
disabled={!app.can('run.adhoc')}
187187
title={app.can('run.adhoc') ? undefined : 'Requires run.adhoc'}
188-
onclick={() => onExecute?.(effectiveSelection.map((id) => graphNodes.find((n) => n.id === id)?.name ?? id))}>▷ Execute {effectiveSelection.length > 1 ? `(${effectiveSelection.length})` : ''}</button
189-
>
188+
onclick={() => onExecute(effectiveSelection.map((id) => graphNodes.find((n) => n.id === id)?.name ?? id))}>▷ Execute {effectiveSelection.length > 1 ? `(${effectiveSelection.length})` : ''}</button
189+
>{/if}
190190
</div>
191191
</div>
192192

0 commit comments

Comments
 (0)