- 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>
34 lines
1.3 KiB
TypeScript
34 lines
1.3 KiB
TypeScript
/// <reference types="node" />
|
|
import type { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http';
|
|
import type { FetchMetrics } from './index';
|
|
import { BaseNextRequest, BaseNextResponse } from './index';
|
|
import type { NextRequestHint } from '../web/adapter';
|
|
export declare class WebNextRequest extends BaseNextRequest<ReadableStream | null> {
|
|
request: Request;
|
|
headers: IncomingHttpHeaders;
|
|
fetchMetrics?: FetchMetrics;
|
|
constructor(request: NextRequestHint);
|
|
parseBody(_limit: string | number): Promise<any>;
|
|
}
|
|
export declare class WebNextResponse extends BaseNextResponse<WritableStream> {
|
|
transformStream: TransformStream<any, any>;
|
|
private headers;
|
|
private textBody;
|
|
statusCode: number | undefined;
|
|
statusMessage: string | undefined;
|
|
constructor(transformStream?: TransformStream<any, any>);
|
|
setHeader(name: string, value: string | string[]): this;
|
|
removeHeader(name: string): this;
|
|
getHeaderValues(name: string): string[] | undefined;
|
|
getHeader(name: string): string | undefined;
|
|
getHeaders(): OutgoingHttpHeaders;
|
|
hasHeader(name: string): boolean;
|
|
appendHeader(name: string, value: string): this;
|
|
body(value: string): this;
|
|
private readonly sendPromise;
|
|
private _sent;
|
|
send(): void;
|
|
get sent(): boolean;
|
|
toResponse(): Promise<Response>;
|
|
}
|