- 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>
32 lines
1.5 KiB
TypeScript
32 lines
1.5 KiB
TypeScript
import React from 'react';
|
|
import type { OnLoadingComplete, PlaceholderValue } from '../shared/lib/get-img-props';
|
|
import type { ImageLoaderProps } from '../shared/lib/image-config';
|
|
export type { ImageLoaderProps };
|
|
export type ImageLoader = (p: ImageLoaderProps) => string;
|
|
/**
|
|
* The `Image` component is used to optimize images.
|
|
*
|
|
* Read more: [Next.js docs: `Image`](https://nextjs.org/docs/app/api-reference/components/image)
|
|
*/
|
|
export declare const Image: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "height" | "width" | "loading" | "ref" | "alt" | "src" | "srcSet"> & {
|
|
src: string | import("../shared/lib/get-img-props").StaticImport;
|
|
alt: string;
|
|
width?: number | `${number}` | undefined;
|
|
height?: number | `${number}` | undefined;
|
|
fill?: boolean | undefined;
|
|
loader?: import("../shared/lib/get-img-props").ImageLoader | undefined;
|
|
quality?: number | `${number}` | undefined;
|
|
priority?: boolean | undefined;
|
|
loading?: "eager" | "lazy" | undefined;
|
|
placeholder?: PlaceholderValue | undefined;
|
|
blurDataURL?: string | undefined;
|
|
unoptimized?: boolean | undefined;
|
|
overrideSrc?: string | undefined;
|
|
onLoadingComplete?: OnLoadingComplete | undefined;
|
|
layout?: string | undefined;
|
|
objectFit?: string | undefined;
|
|
objectPosition?: string | undefined;
|
|
lazyBoundary?: string | undefined;
|
|
lazyRoot?: string | undefined;
|
|
} & React.RefAttributes<HTMLImageElement | null>>;
|