- Foldable left panel (user profile) and right panel (task details) - Clicking a task in the list or graph node selects it and shows details - Both views (task list + graph) always mounted via absolute inset-0 for correct canvas dimensions; tabs toggle visibility with opacity - Graph node selection animation: other nodes repel outward (charge -600), then selected node smoothly slides to center (500ms cubic ease-out), then charge restores to -120 and graph stabilizes - Graph re-fits on tab switch and panel resize via ResizeObserver - Fix UUID string IDs throughout (backend returns UUIDs, not integers) - Add TaskDetailPanel, UserPanel components - Add CLAUDE.md project documentation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
1.3 KiB
TypeScript
24 lines
1.3 KiB
TypeScript
/// <reference types="react" />
|
|
import type { CacheNodeSeedData, FlightRouterState } from '../../../server/app-render/types';
|
|
import type { CacheNode, ChildSegmentMap } from '../../../shared/lib/app-router-context.shared-runtime';
|
|
import type { FetchServerResponseResult } from './fetch-server-response';
|
|
type Task = {
|
|
route: FlightRouterState;
|
|
node: CacheNode | null;
|
|
children: Map<string, Task> | null;
|
|
};
|
|
export declare function updateCacheNodeOnNavigation(oldCacheNode: CacheNode, oldRouterState: FlightRouterState, newRouterState: FlightRouterState, prefetchData: CacheNodeSeedData, prefetchHead: React.ReactNode): Task | null;
|
|
export declare function listenForDynamicRequest(task: Task, responsePromise: Promise<FetchServerResponseResult>): void;
|
|
export declare function abortTask(task: Task, error: any): void;
|
|
export declare function updateCacheNodeOnPopstateRestoration(oldCacheNode: CacheNode, routerState: FlightRouterState): {
|
|
lazyData: null;
|
|
rsc: import("react").ReactNode;
|
|
head: import("react").ReactNode;
|
|
prefetchHead: import("react").ReactNode;
|
|
prefetchRsc: import("react").ReactNode;
|
|
loading: import("../../../shared/lib/app-router-context.shared-runtime").LoadingModuleData;
|
|
parallelRoutes: Map<string, ChildSegmentMap>;
|
|
lazyDataResolved: boolean;
|
|
};
|
|
export {};
|