- 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>
23 lines
1.1 KiB
TypeScript
23 lines
1.1 KiB
TypeScript
import Router from '../shared/lib/router/router';
|
|
import type { NextRouter } from '../shared/lib/router/router';
|
|
type SingletonRouterBase = {
|
|
router: Router | null;
|
|
readyCallbacks: Array<() => any>;
|
|
ready(cb: () => any): void;
|
|
};
|
|
export { Router };
|
|
export type { NextRouter };
|
|
export type SingletonRouter = SingletonRouterBase & NextRouter;
|
|
declare const routerEvents: readonly ["routeChangeStart", "beforeHistoryChange", "routeChangeComplete", "routeChangeError", "hashChangeStart", "hashChangeComplete"];
|
|
export type RouterEvent = (typeof routerEvents)[number];
|
|
declare const _default: SingletonRouter;
|
|
export default _default;
|
|
export { default as withRouter } from './with-router';
|
|
/**
|
|
* This hook gives access the [router object](https://nextjs.org/docs/pages/api-reference/functions/use-router#router-object)
|
|
* inside the [Pages Router](https://nextjs.org/docs/pages/building-your-application).
|
|
*
|
|
* Read more: [Next.js Docs: `useRouter`](https://nextjs.org/docs/pages/api-reference/functions/use-router)
|
|
*/
|
|
export declare function useRouter(): NextRouter;
|