diff --git a/client/src/components/ActivityBar/ActivityBar.vue b/client/src/components/ActivityBar/ActivityBar.vue index 40baad944a5a..0d9f83fb3d05 100644 --- a/client/src/components/ActivityBar/ActivityBar.vue +++ b/client/src/components/ActivityBar/ActivityBar.vue @@ -11,6 +11,7 @@ import { type Activity, useActivityStore } from "@/stores/activityStore"; import { useEventStore } from "@/stores/eventStore"; import { useUserStore } from "@/stores/userStore"; +import InvocationsPanel from "../Panels/InvocationsPanel.vue"; import VisualizationPanel from "../Panels/VisualizationPanel.vue"; import ActivityItem from "./ActivityItem.vue"; import InteractiveItem from "./Items/InteractiveItem.vue"; @@ -178,7 +179,11 @@ watch( :to="activity.to" @click="onToggleSidebar()" /> + diff --git a/client/src/components/Common/Heading.vue b/client/src/components/Common/Heading.vue index 7e7ccc8bf024..d31d0d033ce4 100644 --- a/client/src/components/Common/Heading.vue +++ b/client/src/components/Common/Heading.vue @@ -81,6 +81,7 @@ const element = computed(() => { props.bold ? 'font-weight-bold' : '', props.inline ? 'inline' : '', collapsible ? 'collapsible' : '', + props.truncate ? 'truncate' : '', ]" @click="$emit('click')"> diff --git a/client/src/components/Grid/configs/invocations.ts b/client/src/components/Grid/configs/invocations.ts index 72db04c3ca80..f81b1be2d8ce 100644 --- a/client/src/components/Grid/configs/invocations.ts +++ b/client/src/components/Grid/configs/invocations.ts @@ -19,7 +19,7 @@ type SortKeyLiteral = "create_time" | "update_time" | "None" | null | undefined; /** * Request and return invocations from server */ -async function getData( +export async function getData( offset: number, limit: number, search: string, diff --git a/client/src/components/Panels/InvocationsPanel.vue b/client/src/components/Panels/InvocationsPanel.vue new file mode 100644 index 000000000000..d84c5784bede --- /dev/null +++ b/client/src/components/Panels/InvocationsPanel.vue @@ -0,0 +1,18 @@ + + + diff --git a/client/src/components/ToolsList/ScrollToTopButton.vue b/client/src/components/ToolsList/ScrollToTopButton.vue index 34b5d8d6fbc5..ad41a6a75b90 100644 --- a/client/src/components/ToolsList/ScrollToTopButton.vue +++ b/client/src/components/ToolsList/ScrollToTopButton.vue @@ -1,33 +1,31 @@ - - - + + diff --git a/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue b/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue index 03aab1d5eca6..6620c5786f36 100644 --- a/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue +++ b/client/src/components/WorkflowInvocationState/WorkflowInvocationState.vue @@ -33,6 +33,7 @@ interface Props { index?: number; isSubworkflow?: boolean; isFullPage?: boolean; + fromPanel?: boolean; } const props = withDefaults(defineProps(), { @@ -162,7 +163,7 @@ function getWorkflowName() { Invoked Workflow: "{{ getWorkflowName() }}" -
+
({ invocationId: route.params.invocationId, isFullPage: true, + fromPanel: route.query.from_panel, }), }, { diff --git a/client/src/stores/activitySetup.ts b/client/src/stores/activitySetup.ts index aa15c8ab564a..2e8bf5b1c26e 100644 --- a/client/src/stores/activitySetup.ts +++ b/client/src/stores/activitySetup.ts @@ -62,7 +62,7 @@ export const Activities = [ optional: true, title: "Workflow Invocations", tooltip: "Show all workflow runs", - to: "/workflows/invocations", + to: null, visible: true, }, {