Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions components/frontend/src/app/integrations/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import type { Metadata } from 'next'
import React from 'react'
import IntegrationsClient from '@/app/integrations/IntegrationsClient'

export const metadata: Metadata = {
title: 'Integrations · Ambient Code Platform',
}

export const dynamic = 'force-dynamic'
export const revalidate = 0

Expand Down
7 changes: 7 additions & 0 deletions components/frontend/src/app/projects/[name]/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function WorkspaceLayout({
children,
}: {
children: React.ReactNode;
}) {
return children;
}
6 changes: 6 additions & 0 deletions components/frontend/src/app/projects/[name]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ export default function ProjectDetailsPage() {
const initialSection = (searchParams.get('section') as Section) || 'sessions';
const [activeSection, setActiveSection] = useState<Section>(initialSection);

// Update page title with display name when available
useEffect(() => {
const title = project?.displayName || projectName;
document.title = `${title} · Ambient Code Platform`;
}, [project?.displayName, projectName]);

// Update active section when query parameter changes
useEffect(() => {
const sectionParam = searchParams.get('section') as Section;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function SessionLayout({
children,
}: {
children: React.ReactNode;
}) {
return children;
}
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,14 @@ export default function ProjectSessionDetailPage({
return undefined;
}, [capabilities?.framework, runnerTypes]);

// Update page title with display name when available
useEffect(() => {
const title = session?.spec?.displayName || sessionName;
if (title) {
document.title = `${title} · Ambient Code Platform`;
}
}, [session?.spec?.displayName, sessionName]);

// Track the current Langfuse trace ID for feedback association
const [langfuseTraceId, setLangfuseTraceId] = useState<string | null>(null);

Expand Down
13 changes: 13 additions & 0 deletions components/frontend/src/app/projects/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { Metadata } from "next";

export const metadata: Metadata = {
title: "Workspaces · Ambient Code Platform",
};

export default function WorkspacesLayout({
children,
}: {
children: React.ReactNode;
}) {
return children;
}
Loading