Files
taskpile/frontend/node_modules/next/dist/client/route-loader.d.ts
Alvis f1d51b8cc8 Add side panels, task selection, graph animation, and project docs
- 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>
2026-04-08 11:23:06 +00:00

48 lines
1.7 KiB
TypeScript

import type { ComponentType } from 'react';
import type { MiddlewareMatcher } from '../build/analysis/get-page-static-info';
declare global {
interface Window {
__BUILD_MANIFEST?: Record<string, string[]>;
__BUILD_MANIFEST_CB?: Function;
__MIDDLEWARE_MATCHERS?: MiddlewareMatcher[];
__MIDDLEWARE_MANIFEST_CB?: Function;
__PRERENDER_MANIFEST?: string;
__REACT_LOADABLE_MANIFEST?: any;
__RSC_MANIFEST?: any;
__RSC_SERVER_MANIFEST?: any;
__NEXT_FONT_MANIFEST?: any;
__SUBRESOURCE_INTEGRITY_MANIFEST?: string;
__INTERCEPTION_ROUTE_REWRITE_MANIFEST?: string;
}
}
interface LoadedEntrypointSuccess {
component: ComponentType;
exports: any;
}
interface LoadedEntrypointFailure {
error: unknown;
}
type RouteEntrypoint = LoadedEntrypointSuccess | LoadedEntrypointFailure;
interface RouteStyleSheet {
href: string;
content: string;
}
interface LoadedRouteSuccess extends LoadedEntrypointSuccess {
styles: RouteStyleSheet[];
}
interface LoadedRouteFailure {
error: unknown;
}
type RouteLoaderEntry = LoadedRouteSuccess | LoadedRouteFailure;
export interface RouteLoader {
whenEntrypoint(route: string): Promise<RouteEntrypoint>;
onEntrypoint(route: string, execute: () => unknown): void;
loadRoute(route: string, prefetch?: boolean): Promise<RouteLoaderEntry>;
prefetch(route: string): Promise<void>;
}
export declare function markAssetError(err: Error): Error;
export declare function isAssetError(err?: Error): boolean | undefined;
export declare function getClientBuildManifest(): Promise<Record<string, string[]>>;
export declare function createRouteLoader(assetPrefix: string): RouteLoader;
export {};