jor / src /components /layout /workspaceMeta.ts
Mentor AMP Frontend
Refactor Volt frontend into feature pages and shared context
6e631f3
Raw History Blame Contribute Delete
546 Bytes
import type { ScreenName } from '../../types'
export function screenTitle(active: ScreenName) { return active === 'Dashboard' ? 'Dashboard' : active === 'Models' ? 'Model Library' : active }
export function screenDescription(active: ScreenName) { return active === 'Dashboard' ? 'A decision-ready view of models, runs, investigations, and system health.' : active === 'Models' ? 'Browse model versions, inspect hierarchy, and open the workspace for a model.' : `The ${active.toLowerCase()} workspace is connected to the active model context.` }