From cf9d28b20b2c194c712f7992cf4ef0c94698c2c0 Mon Sep 17 00:00:00 2001 From: Githelp AI Aagent Date: Wed, 19 Aug 2026 17:22:05 +0000 Subject: [PATCH] feat: What to change: The Support page (the chat window) for User. Task: 629cd2cd Source: slack Requested by: U04E9DZ5ELF --- src/app/support/chat/page.tsx | 9 +++++++-- src/components/layout/sidebar.tsx | 18 +++++++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/src/app/support/chat/page.tsx b/src/app/support/chat/page.tsx index d36b015..8ad4d86 100644 --- a/src/app/support/chat/page.tsx +++ b/src/app/support/chat/page.tsx @@ -111,6 +111,11 @@ export default function UserSupportChatPage() { const project = projectIdParam ? projectById : (slugParam ? projectBySlug : projectById) // Use the project's UUID when only a slug is provided, or fall back to projectId from URL/ticket const effectiveProjectId = project?.project_id || projectId || "" + const projectPageHref = project?.slug + ? `/support/${encodeURIComponent(project.slug)}` + : effectiveProjectId + ? `/support?project=${encodeURIComponent(effectiveProjectId)}` + : undefined const projectName = project?.name ?? "Support" const organizationName = hasSLA ? projectName : null const freeHelpRemaining: string | null = null @@ -592,7 +597,7 @@ export default function UserSupportChatPage() { return (
- + Active tickets ({activeTicketsCount})
1 ? "max-h-72 overflow-y-auto" : ""}`}> {activeTicketsSidebar.length === 0 ? ( -

No active tickets

+

No active tickets

) : ( activeTicketsSidebar.map((item) => (
+ {projectPageHref && ( + + + + + {!isCollapsed && "See project page"} + + )} {bottomItems.map((item) => { const isActive = item.href !== "#" && pathname === item.href const className = `flex items-center gap-3 px-3 py-2.5 min-h-[40px] text-sm font-medium rounded-md cursor-pointer transition-colors ${