Created detailed markdown plans for all items in todo.md: 1. 01-playwright-scaffolding.md - Base Playwright infrastructure 2. 02-magnitude-tests-comprehensive.md - Complete test coverage 3. 03-stream-ai-to-deepgram-tts.md - TTS latency optimization 4. 04-fix-galaxy-node-clicking.md - Galaxy navigation bugs 5. 05-dark-light-mode-theme.md - Dark/light mode with dynamic favicons 6. 06-fix-double-border-desktop.md - UI polish 7. 07-delete-backup-files.md - Code cleanup 8. 08-ai-transition-to-edit.md - Intelligent node creation flow 9. 09-umap-minimum-nodes-analysis.md - Technical analysis Each plan includes: - Detailed problem analysis - Proposed solutions with code examples - Manual Playwright MCP testing strategy - Magnitude test specifications - Implementation steps - Success criteria Ready to implement in sequence. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.7 KiB
1.7 KiB
Plan: Delete Backup/Old Page Files
Priority: LOW - Code cleanup Dependencies: None Affects: Code maintenance, repository cleanliness
Overview
Remove all backup and old page.tsx files that are no longer needed. These files clutter the codebase and can cause confusion.
Files to Delete
Need to search for:
*.backup.*files*.old.*files*-old.*files- Files with "backup" in the name
- Commented-out old implementations
Search Strategy
# Find all backup files
find . -name "*.backup.*" -o -name "*.old.*" -o -name "*-old.*"
# Find files with "backup" in name
find . -iname "*backup*"
# Check git status for renamed files
git status | grep -i backup
Implementation Steps
-
Search for backup files
find app -name "*.backup*" -o -name "*.old*" find components -name "*.backup*" -o -name "*.old*" find lib -name "*.backup*" -o -name "*.old*" -
Verify files are not imported anywhere
# For each found file, check if it's imported grep -r "import.*from.*filename" . -
Delete files
git rm app/chat/page.tsx.backup # ... repeat for each file -
Check for commented-out code
- Review recent commits for large commented blocks
- Remove if no longer needed
-
Commit deletion
git commit -m "chore: Remove backup and old files" git push origin development
Success Criteria
- ✅ No
.backupfiles in codebase - ✅ No
.oldfiles in codebase - ✅ No files with "backup" in name
- ✅ Code still builds successfully
- ✅ All tests still pass
Files to Delete
(Will be determined during search step)
Example:
app/chat/page.tsx.backup- Any other discovered backup files