From 1e6a09f7b75ce7d6176d23e6089a516022808571 Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Tue, 18 Feb 2025 21:54:49 +0100 Subject: [PATCH 1/6] Adds BreadcrumbHeading component Introduces BreadcrumbHeading component for displaying breadcrumb navigation. Utilizes Heading and RouterLink for structured and localized breadcrumb items. Includes scoped styles for component layout. --- .../components/Common/BreadcrumbHeading.vue | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 client/src/components/Common/BreadcrumbHeading.vue diff --git a/client/src/components/Common/BreadcrumbHeading.vue b/client/src/components/Common/BreadcrumbHeading.vue new file mode 100644 index 00000000000..7233e8d4429 --- /dev/null +++ b/client/src/components/Common/BreadcrumbHeading.vue @@ -0,0 +1,59 @@ + + + + + From 1370bb4d7d8107f6ddbc0157086c912bc6dc1f15 Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Tue, 18 Feb 2025 21:56:51 +0100 Subject: [PATCH 2/6] Adds breadcrumb heading to WorkflowList Replaces existing heading with BreadcrumbHeading for consistency in WorkflowList --- client/src/components/Workflow/List/WorkflowList.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/client/src/components/Workflow/List/WorkflowList.vue b/client/src/components/Workflow/List/WorkflowList.vue index fc9da560273..56dc22566c2 100644 --- a/client/src/components/Workflow/List/WorkflowList.vue +++ b/client/src/components/Workflow/List/WorkflowList.vue @@ -18,6 +18,7 @@ import { rethrowSimple } from "@/utils/simple-error"; import type { SelectedWorkflow } from "./types"; import WorkflowCardList from "./WorkflowCardList.vue"; +import BreadcrumbHeading from "@/components/Common/BreadcrumbHeading.vue"; import FilterMenu from "@/components/Common/FilterMenu.vue"; import Heading from "@/components/Common/Heading.vue"; import ListHeader from "@/components/Common/ListHeader.vue"; @@ -36,6 +37,8 @@ const props = withDefaults(defineProps(), { activeList: "my", }); +const breadcrumbItems = [{ title: "Workflows" }]; + const router = useRouter(); const userStore = useUserStore(); const { confirm } = useConfirmDialog(); @@ -352,11 +355,9 @@ onMounted(() => {