File tree Expand file tree Collapse file tree
components/frontend/src/app Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import type { Metadata } from 'next'
12import React from 'react'
23import IntegrationsClient from '@/app/integrations/IntegrationsClient'
34
5+ export const metadata : Metadata = {
6+ title : 'Integrations · Ambient Code Platform' ,
7+ }
8+
49export const dynamic = 'force-dynamic'
510export const revalidate = 0
611
Original file line number Diff line number Diff line change 1+ export default function WorkspaceLayout ( {
2+ children,
3+ } : {
4+ children : React . ReactNode ;
5+ } ) {
6+ return children ;
7+ }
Original file line number Diff line number Diff line change @@ -99,6 +99,12 @@ export default function ProjectDetailsPage() {
9999 const initialSection = ( searchParams . get ( 'section' ) as Section ) || 'sessions' ;
100100 const [ activeSection , setActiveSection ] = useState < Section > ( initialSection ) ;
101101
102+ // Update page title with display name when available
103+ useEffect ( ( ) => {
104+ const title = project ?. displayName || projectName ;
105+ document . title = `${ title } · Ambient Code Platform` ;
106+ } , [ project ?. displayName , projectName ] ) ;
107+
102108 // Update active section when query parameter changes
103109 useEffect ( ( ) => {
104110 const sectionParam = searchParams . get ( 'section' ) as Section ;
Original file line number Diff line number Diff line change 1+ export default function SessionLayout ( {
2+ children,
3+ } : {
4+ children : React . ReactNode ;
5+ } ) {
6+ return children ;
7+ }
Original file line number Diff line number Diff line change @@ -251,6 +251,14 @@ export default function ProjectSessionDetailPage({
251251 return undefined ;
252252 } , [ capabilities ?. framework , runnerTypes ] ) ;
253253
254+ // Update page title with display name when available
255+ useEffect ( ( ) => {
256+ const title = session ?. spec ?. displayName || sessionName ;
257+ if ( title ) {
258+ document . title = `${ title } · Ambient Code Platform` ;
259+ }
260+ } , [ session ?. spec ?. displayName , sessionName ] ) ;
261+
254262 // Track the current Langfuse trace ID for feedback association
255263 const [ langfuseTraceId , setLangfuseTraceId ] = useState < string | null > ( null ) ;
256264
Original file line number Diff line number Diff line change 1+ import type { Metadata } from "next" ;
2+
3+ export const metadata : Metadata = {
4+ title : "Workspaces · Ambient Code Platform" ,
5+ } ;
6+
7+ export default function WorkspacesLayout ( {
8+ children,
9+ } : {
10+ children : React . ReactNode ;
11+ } ) {
12+ return children ;
13+ }
You can’t perform that action at this time.
0 commit comments