- 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>
40 lines
1.8 KiB
TypeScript
40 lines
1.8 KiB
TypeScript
import type { RouteKind } from '../route-kind';
|
|
import type { RouteMatch } from '../route-matches/route-match';
|
|
import type { RouteDefinition } from '../route-definitions/route-definition';
|
|
import type { RouteMatcherProvider } from '../route-matcher-providers/route-matcher-provider';
|
|
import type { RouteMatcher } from '../route-matchers/route-matcher';
|
|
import type { MatchOptions, RouteMatcherManager } from './route-matcher-manager';
|
|
interface RouteMatchers {
|
|
static: ReadonlyArray<RouteMatcher>;
|
|
dynamic: ReadonlyArray<RouteMatcher>;
|
|
duplicates: Record<string, ReadonlyArray<RouteMatcher>>;
|
|
}
|
|
export declare class DefaultRouteMatcherManager implements RouteMatcherManager {
|
|
private readonly providers;
|
|
protected readonly matchers: RouteMatchers;
|
|
private lastCompilationID;
|
|
/**
|
|
* When this value changes, it indicates that a change has been introduced
|
|
* that requires recompilation.
|
|
*/
|
|
private get compilationID();
|
|
private waitTillReadyPromise?;
|
|
waitTillReady(): Promise<void>;
|
|
private previousMatchers;
|
|
reload(): Promise<void>;
|
|
push(provider: RouteMatcherProvider): void;
|
|
test(pathname: string, options: MatchOptions): Promise<boolean>;
|
|
match(pathname: string, options: MatchOptions): Promise<RouteMatch<RouteDefinition<RouteKind>> | null>;
|
|
/**
|
|
* This is a point for other managers to override to inject other checking
|
|
* behavior like duplicate route checking on a per-request basis.
|
|
*
|
|
* @param pathname the pathname to validate against
|
|
* @param matcher the matcher to validate/test with
|
|
* @returns the match if found
|
|
*/
|
|
protected validate(pathname: string, matcher: RouteMatcher, options: MatchOptions): RouteMatch | null;
|
|
matchAll(pathname: string, options: MatchOptions): AsyncGenerator<RouteMatch<RouteDefinition<RouteKind>>, null, undefined>;
|
|
}
|
|
export {};
|