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>
This commit is contained in:
Alvis
2026-04-08 11:23:06 +00:00
parent 5c7edd4bbc
commit f1d51b8cc8
23998 changed files with 3242708 additions and 0 deletions

View File

@@ -0,0 +1,90 @@
import type { CacheFs } from '../../../shared/lib/utils';
import type { PrerenderManifest } from '../../../build';
import type { IncrementalCacheValue, IncrementalCacheEntry, IncrementalCache as IncrementalCacheType, IncrementalCacheKindHint } from '../../response-cache';
export interface CacheHandlerContext {
fs?: CacheFs;
dev?: boolean;
flushToDisk?: boolean;
serverDistDir?: string;
maxMemoryCacheSize?: number;
fetchCacheKeyPrefix?: string;
prerenderManifest?: PrerenderManifest;
revalidatedTags: string[];
experimental: {
ppr: boolean;
};
_appDir: boolean;
_pagesDir: boolean;
_requestHeaders: IncrementalCache['requestHeaders'];
}
export interface CacheHandlerValue {
lastModified?: number;
age?: number;
cacheState?: string;
value: IncrementalCacheValue | null;
}
export declare class CacheHandler {
constructor(_ctx: CacheHandlerContext);
get(..._args: Parameters<IncrementalCache['get']>): Promise<CacheHandlerValue | null>;
set(..._args: Parameters<IncrementalCache['set']>): Promise<void>;
revalidateTag(_tag: string): Promise<void>;
resetRequestCache(): void;
}
export declare class IncrementalCache implements IncrementalCacheType {
dev?: boolean;
disableForTestmode?: boolean;
cacheHandler?: CacheHandler;
hasCustomCacheHandler: boolean;
prerenderManifest: PrerenderManifest;
requestHeaders: Record<string, undefined | string | string[]>;
requestProtocol?: 'http' | 'https';
allowedRevalidateHeaderKeys?: string[];
minimalMode?: boolean;
fetchCacheKeyPrefix?: string;
revalidatedTags?: string[];
isOnDemandRevalidate?: boolean;
private locks;
private unlocks;
constructor({ fs, dev, appDir, pagesDir, flushToDisk, fetchCache, minimalMode, serverDistDir, requestHeaders, requestProtocol, maxMemoryCacheSize, getPrerenderManifest, fetchCacheKeyPrefix, CurCacheHandler, allowedRevalidateHeaderKeys, experimental, }: {
fs?: CacheFs;
dev: boolean;
appDir?: boolean;
pagesDir?: boolean;
fetchCache?: boolean;
minimalMode?: boolean;
serverDistDir?: string;
flushToDisk?: boolean;
requestProtocol?: 'http' | 'https';
allowedRevalidateHeaderKeys?: string[];
requestHeaders: IncrementalCache['requestHeaders'];
maxMemoryCacheSize?: number;
getPrerenderManifest: () => PrerenderManifest;
fetchCacheKeyPrefix?: string;
CurCacheHandler?: typeof CacheHandler;
experimental: {
ppr: boolean;
};
});
private calculateRevalidate;
_getPathname(pathname: string, fetchCache?: boolean): string;
resetRequestCache(): void;
unlock(cacheKey: string): Promise<void>;
lock(cacheKey: string): Promise<() => Promise<void>>;
revalidateTag(tag: string): Promise<any>;
fetchCacheKey(url: string, init?: RequestInit | Request): Promise<string>;
get(cacheKey: string, ctx?: {
kindHint?: IncrementalCacheKindHint;
revalidate?: number | false;
fetchUrl?: string;
fetchIdx?: number;
tags?: string[];
softTags?: string[];
}): Promise<IncrementalCacheEntry | null>;
set(pathname: string, data: IncrementalCacheValue | null, ctx: {
revalidate?: number | false;
fetchCache?: boolean;
fetchUrl?: string;
fetchIdx?: number;
tags?: string[];
}): Promise<any>;
}