From f35d53aa76928e9d53c52df179da1170583dbd9e Mon Sep 17 00:00:00 2001 From: Aadesh Kheria Date: Mon, 4 May 2026 17:18:44 -0700 Subject: [PATCH 1/3] layout fix --- .../dashboards/[dashboardId]/page-client.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx index 17ad8f25bb..2ee8c48994 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx @@ -14,7 +14,9 @@ import { type AssistantComposerApi, } from "@/components/vibe-coding"; import { ToolCallContent } from "@/components/vibe-coding/chat-adapters"; +import type { AppId } from "@/lib/apps-frontend"; import { useUpdateConfig } from "@/lib/config-update"; +import { getPublicEnvVar } from "@/lib/env"; import { cn } from "@/lib/utils"; import { ChatCircleIcon, @@ -23,13 +25,11 @@ import { TrashIcon, XIcon, } from "@phosphor-icons/react"; +import { useUser } from "@stackframe/stack"; import { ALL_APPS } from "@stackframe/stack-shared/dist/apps/apps-config"; -import { typedEntries } from "@stackframe/stack-shared/dist/utils/objects"; import { throwErr } from "@stackframe/stack-shared/dist/utils/errors"; -import type { AppId } from "@/lib/apps-frontend"; +import { typedEntries } from "@stackframe/stack-shared/dist/utils/objects"; import { runAsynchronouslyWithAlert } from "@stackframe/stack-shared/dist/utils/promises"; -import { getPublicEnvVar } from "@/lib/env"; -import { useUser } from "@stackframe/stack"; import { usePathname } from "next/navigation"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { PageLayout } from "../../page-layout"; @@ -391,7 +391,7 @@ function DashboardDetailContent({ {/* Both panels are always in the DOM so the iframe never unmounts/reloads. The chat panel animates its width; the dashboard panel adjusts via flex-1. */} -
+
{/* Dashboard iframe panel */}
Date: Mon, 4 May 2026 17:28:01 -0700 Subject: [PATCH 2/3] orginal import order --- .../[projectId]/dashboards/[dashboardId]/page-client.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx index 2ee8c48994..13fa1707bf 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx @@ -14,9 +14,7 @@ import { type AssistantComposerApi, } from "@/components/vibe-coding"; import { ToolCallContent } from "@/components/vibe-coding/chat-adapters"; -import type { AppId } from "@/lib/apps-frontend"; import { useUpdateConfig } from "@/lib/config-update"; -import { getPublicEnvVar } from "@/lib/env"; import { cn } from "@/lib/utils"; import { ChatCircleIcon, @@ -25,11 +23,13 @@ import { TrashIcon, XIcon, } from "@phosphor-icons/react"; -import { useUser } from "@stackframe/stack"; import { ALL_APPS } from "@stackframe/stack-shared/dist/apps/apps-config"; -import { throwErr } from "@stackframe/stack-shared/dist/utils/errors"; import { typedEntries } from "@stackframe/stack-shared/dist/utils/objects"; +import { throwErr } from "@stackframe/stack-shared/dist/utils/errors"; +import type { AppId } from "@/lib/apps-frontend"; import { runAsynchronouslyWithAlert } from "@stackframe/stack-shared/dist/utils/promises"; +import { getPublicEnvVar } from "@/lib/env"; +import { useUser } from "@stackframe/stack"; import { usePathname } from "next/navigation"; import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { PageLayout } from "../../page-layout"; From f97e32bd5c010e706ff1f20815eb3ed236805341 Mon Sep 17 00:00:00 2001 From: Aadesh Kheria Date: Tue, 5 May 2026 10:19:38 -0700 Subject: [PATCH 3/3] fix(dashboard): adjust dashboard panel height for better layout --- .../[projectId]/dashboards/[dashboardId]/page-client.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx index 13fa1707bf..333fc15fac 100644 --- a/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx +++ b/apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx @@ -391,7 +391,7 @@ function DashboardDetailContent({ {/* Both panels are always in the DOM so the iframe never unmounts/reloads. The chat panel animates its width; the dashboard panel adjusts via flex-1. */} -
+
{/* Dashboard iframe panel */}