Add project workspace detail page

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
dotta 2026-03-28 09:51:58 -05:00
parent 15e0e2ece9
commit bb1732dd11
4 changed files with 586 additions and 5 deletions

View file

@ -165,3 +165,11 @@ export function projectRouteRef(project: { id: string; urlKey?: string | null; n
export function projectUrl(project: { id: string; urlKey?: string | null; name?: string | null }): string {
return `/projects/${projectRouteRef(project)}`;
}
/** Build a project workspace URL scoped under its project. */
export function projectWorkspaceUrl(
project: { id: string; urlKey?: string | null; name?: string | null },
workspaceId: string,
): string {
return `${projectUrl(project)}/workspaces/${workspaceId}`;
}