You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create TypeScript interfaces and React components for managing WorkspaceCodeGraph, following existing patterns from repository management. Then integrate into the workspace view below the repository section.
// Add to main store
createCodeGraph: async(data: WorkspaceCodeGraph)=>{returnapi.post(`/${data.workspace_uuid}/codegraph`,data);},updateCodeGraph: async(data: WorkspaceCodeGraph)=>{returnapi.post(`/${data.workspace_uuid}/codegraph`,data);},deleteCodeGraph: async(workspace_uuid: string)=>{returnapi.delete(`/${workspace_uuid}/codegraph`);},getCodeGraph: async(workspace_uuid: string)=>{returnapi.get(`/${workspace_uuid}/codegraph`);}
3. Component Implementation
Create AddCodeGraphModal component with:
Form fields for name and URL
Validation and error handling
Loading states
Success/error toasts
TypeScript props and state typing
Integration with store methods
Part 2: Workspace View Integration
1. Update Workspace View
Note when there is no code graph. Represent only the title and the add button.
Description
Create TypeScript interfaces and React components for managing WorkspaceCodeGraph, following existing patterns from repository management. Then integrate into the workspace view below the repository section.
Part 1: Core Implementation
1. Type Definitions
2. Store Integration
3. Component Implementation
Create AddCodeGraphModal component with:
Part 2: Workspace View Integration
1. Update Workspace View
Note when there is no code graph. Represent only the title and the add button.
Add new section below repositories:
2. Add Modal Management
Task List
Design Notes
Acceptance Criteria
The text was updated successfully, but these errors were encountered: