From 05b1c147a908a8b3ffa3a48531cf3dfb8c56f639 Mon Sep 17 00:00:00 2001 From: Aaryan Khandelwal <65252264+aaryan610@users.noreply.github.com> Date: Wed, 26 Nov 2025 16:25:29 +0530 Subject: [PATCH] [WEB-5506] regression: navigation revamp bugs (#8180) --- .../(projects)/browse/[workItem]/header.tsx | 38 +++++++++++-------- .../navigations/top-navigation-root.tsx | 1 - apps/web/core/components/home/root.tsx | 3 +- 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx index b9e6c8a59..e4c68d064 100644 --- a/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx +++ b/apps/web/app/(all)/[workspaceSlug]/(projects)/browse/[workItem]/header.tsx @@ -1,10 +1,12 @@ import { observer } from "mobx-react"; import { useParams } from "next/navigation"; -// hooks +// plane imports import { Header, Row } from "@plane/ui"; +// components import { AppHeader } from "@/components/core/app-header"; import { TabNavigationRoot } from "@/components/navigation"; import { useIssueDetail } from "@/hooks/store/use-issue-detail"; +import { useProjectNavigationPreferences } from "@/hooks/use-navigation-preferences"; // local components import { WorkItemDetailsHeader } from "./work-item-header"; @@ -18,25 +20,29 @@ export const ProjectWorkItemDetailsHeader = observer(function ProjectWorkItemDet // derived values const issueId = getIssueIdByIdentifier(workItem?.toString()); const issueDetails = issueId ? getIssueById(issueId?.toString()) : undefined; + // preferences + const { preferences: projectPreferences } = useProjectNavigationPreferences(); return ( <> -