← Về thư mục
frontend/src/features/sessions/projects.ts
- ProjectLike · type · L24-L31 — type ProjectLike = { project_id?: string; id?: string; name?: string; description?: string; context?: string; agent_context?: string; };
- projName · function · L33-L36 — function projName(id: string | null | undefined): string
- sanitizeProjectLineage · function · L38-L84 — function sanitizeProjectLineage(payload: unknown): { project_id: string; nodes: Array>; edges: Array<{ from: string; to: string; kind: string }>; artifact_count: number; version_count: number; truncated: boolean; }
- openProjectResearchView · function · L86-L234 — async function openProjectResearchView(initialTab = "timeline"): Promise
- renderTimeline · function · L104-L139 — renderTimeline = (data: { session_count?: number; total_count?: number; count?: number; groups?: Array<{ session?: { name?: string; root_frame_id?: string } }>; })
- renderLineage · function · L140-L186 — renderLineage = (data: ReturnType)
- select · function · L187-L218 — select = async (tab: string)
- renderProjMenu · function · L238-L296 — function renderProjMenu(): void
- item · function · L249-L263 — item = (label: string, iconName: string, onClick: () => void)
- selectProject · function · L298-L303 — function selectProject(id: string): void
- openProject · function · L305-L330 — async function openProject(id: string): Promise
- createProject · function · L332-L343 — async function createProject( name: string, description: string, context: string, ): Promise
- closeProjectModal · function · L345-L348 — function closeProjectModal(): void
- openProjectModal · function · L350-L366 — function openProjectModal(proj?: ProjectLike | null): void
- submitProjectModal · function · L368-L403 — async function submitProjectModal(): Promise
- deleteProject · function · L405-L417 — async function deleteProject(id: string): Promise