Skip to content

Commit 6853d85

Browse files
authored
Remove child workflow timeline from row (#2330)
1 parent 04e1fa8 commit 6853d85

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/lib/components/event/event-details-full.svelte

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,8 @@
55
import { spaceBetweenCapitalLetters } from '$lib/utilities/format-camel-case';
66
import { formatDate } from '$lib/utilities/format-date';
77
import { formatAttributes } from '$lib/utilities/format-event-attributes';
8-
import { isChildWorkflowExecutionStartedEvent } from '$lib/utilities/is-event-type';
98
import { isPendingActivity } from '$lib/utilities/is-pending-activity';
109
11-
import GraphWidget from '../lines-and-dots/svg/graph-widget.svelte';
12-
1310
import EventDetailsRowExpanded from './event-details-row-expanded.svelte';
1411
import EventLinksExpanded from './event-links-expanded.svelte';
1512
@@ -18,16 +15,12 @@
1815
1916
$: pendingEvent = group?.pendingActivity || group?.pendingNexusOperation;
2017
$: showEventGroup = group && (group.eventList.length > 1 || pendingEvent);
21-
$: childWorkflowEvent = group?.eventList.find(
22-
isChildWorkflowExecutionStartedEvent,
23-
);
2418
</script>
2519

2620
{#if showEventGroup}
2721
<div class="w-full p-2">
2822
<div
2923
class="flex flex-col gap-0 overflow-hidden rounded-xl border-2 border-subtle xl:flex-row"
30-
class:rounded-b-none={!!childWorkflowEvent}
3124
>
3225
{#each group.eventList as groupEvent}
3326
{@const attributes = formatAttributes(groupEvent)}
@@ -66,15 +59,6 @@
6659
</div>
6760
{/if}
6861
</div>
69-
{#if childWorkflowEvent}
70-
<GraphWidget
71-
namespace={childWorkflowEvent.attributes.namespace}
72-
workflowId={childWorkflowEvent.attributes.workflowExecution.workflowId}
73-
runId={childWorkflowEvent.attributes.workflowExecution.runId}
74-
height={240}
75-
class="overflow-x-hidden"
76-
/>
77-
{/if}
7862
</div>
7963
{:else if event}
8064
{@const attributes = formatAttributes(event)}

0 commit comments

Comments
 (0)