- Removed broken LaunchSwarmDialog (formula-based) from TopBar/LeftPanel - All Rocket buttons (TopBar, LeftPanel, DAG nodes, social cards) now open AssignmentPanel (archetype-based) which actually works - Every Rocket clears taskId first so assignMode && !taskId condition passes - Conversation button priority: taskId always shows conversation, not assign panel - Added TelemetryStrip: minimized right sidebar with status dots when non-telemetry panel (conversation/assignment) is active - Live feed has minimize button → restores last taskId or assignMode - DAG nodes: Signal icon → restores telemetry feed - Social button on DAG nodes: single router.push to avoid race (setView + setTaskId) - Fixed social card message button: opens right panel with drawer:closed (no popup) Co-Authored-By: Oz <oz-agent@warp.dev>
39 lines
1.3 KiB
TypeScript
39 lines
1.3 KiB
TypeScript
import { DependencyGraphPage } from '../../components/graph/dependency-graph-page';
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
import { readIssuesForScope } from '../../lib/aggregate-read';
|
|
import { resolveProjectScope } from '../../lib/project-scope';
|
|
import { listProjects } from '../../lib/registry';
|
|
|
|
interface GraphPageProps {
|
|
searchParams?: Promise<Record<string, string | string[] | undefined>>;
|
|
}
|
|
|
|
export default async function GraphPage({ searchParams }: GraphPageProps) {
|
|
const params = (await searchParams) ?? {};
|
|
const requestedProjectKey = typeof params.project === 'string' ? params.project : null;
|
|
const requestedMode = typeof params.mode === 'string' ? params.mode : null;
|
|
const registryProjects = await listProjects();
|
|
const scope = resolveProjectScope({
|
|
currentProjectRoot: process.cwd(),
|
|
registryProjects,
|
|
requestedProjectKey,
|
|
requestedMode,
|
|
});
|
|
|
|
const issues = await readIssuesForScope({
|
|
mode: scope.mode,
|
|
selected: scope.selected,
|
|
scopeOptions: scope.options,
|
|
preferBd: true,
|
|
});
|
|
return (
|
|
<DependencyGraphPage
|
|
issues={issues}
|
|
projectRoot={scope.selected.root}
|
|
projectScopeKey={scope.selected.key}
|
|
projectScopeOptions={scope.options}
|
|
projectScopeMode={scope.mode}
|
|
/>
|
|
);
|
|
}
|