-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Plan for Removing Unused Components
This plan outlines the steps to remove unused components from the codebase. The removal is broken down into phases to ensure a safe and manageable process.
Phase 1: Remove AIEditStatus component
The AIEditStatus component and its associated stylesheet are not used anywhere in the application.
- Files to delete:
src/client/VZSidebar/AIChat/AIEditStatus.tsxsrc/client/VZSidebar/AIChat/AIEditStatus.scss
Phase 2: Remove generateFilesContext.ts
The contents of src/client/AIAssist/generateFilesContext.ts are completely commented out, making it dead code.
- File to delete:
src/client/AIAssist/generateFilesContext.ts
Phase 3: Remove AIAssistCodeMirrorKeyMap
The AIAssistCodeMirrorKeyMap is not used. It is imported but commented out in getOrCreateEditor.tsx.
- File to delete:
src/client/AIAssist/AIAssistCodeMirrorKeyMap.ts
- File to modify:
src/client/AIAssist/index.ts: Remove the export ofAIAssistCodeMirrorKeyMap.
Phase 4: Remove highlightWidgets.ts
The contents of src/client/CodeEditor/InteractiveWidgets/highlightWidgets.ts are completely commented out.
- File to delete:
src/client/CodeEditor/InteractiveWidgets/highlightWidgets.ts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels