fix(dashboard): project-scope Command Center analytics (FUX-037)

Apply FUX-037 projectId scoping to Command Center and Reliability view.
This commit is contained in:
ddonaldson130
2026-07-09 03:16:55 -04:00
committed by gsxdsm
parent f10c39fa0b
commit 8dce51fdd9
27 changed files with 403 additions and 157 deletions

View File

@@ -6254,7 +6254,7 @@ export interface AgentPromptSizePoint {
totalChars: number;
}
function withProjectId(path: string, projectId?: string): string {
export function withProjectId(path: string, projectId?: string): string {
if (!projectId) return path;
const separator = path.includes("?") ? "&" : "?";
return `${path}${separator}projectId=${encodeURIComponent(projectId)}`;