From 1bbb98aaa9e6cd47d8ce0d3478bf3635f16d7771 Mon Sep 17 00:00:00 2001 From: Dotta Date: Thu, 5 Mar 2026 18:57:48 -0600 Subject: [PATCH] fix(ui): add mobile properties toggle on project detail page On mobile, the sidebar panel toggle was hidden (md:flex only). Add a mobile-visible SlidersHorizontal button that opens a bottom Sheet drawer with ProjectProperties, matching the existing pattern from IssueDetail. Co-Authored-By: Claude Opus 4.6 --- ui/src/pages/ProjectDetail.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/ui/src/pages/ProjectDetail.tsx b/ui/src/pages/ProjectDetail.tsx index df9774a1..2a568445 100644 --- a/ui/src/pages/ProjectDetail.tsx +++ b/ui/src/pages/ProjectDetail.tsx @@ -18,6 +18,8 @@ import { IssuesList } from "../components/IssuesList"; import { PageSkeleton } from "../components/PageSkeleton"; import { projectRouteRef, cn } from "../lib/utils"; import { Button } from "@/components/ui/button"; +import { Sheet, SheetContent, SheetHeader, SheetTitle } from "@/components/ui/sheet"; +import { ScrollArea } from "@/components/ui/scroll-area"; import { SlidersHorizontal } from "lucide-react"; /* ── Top-level tab types ── */ @@ -198,6 +200,7 @@ export function ProjectDetail() { const { companies, selectedCompanyId, setSelectedCompanyId } = useCompany(); const { openPanel, closePanel, panelVisible, setPanelVisible } = usePanel(); const { setBreadcrumbs } = useBreadcrumbs(); + const [mobilePropsOpen, setMobilePropsOpen] = useState(false); const queryClient = useQueryClient(); const navigate = useNavigate(); const location = useLocation(); @@ -311,6 +314,15 @@ export function ProjectDetail() { as="h2" className="text-xl font-bold" /> +