Clean up legacy UI code and unused components #99
Labels
No labels
good first issue
has-pr
help wanted
idea
priority
critical
priority
high
priority
low
priority
medium
status
blocked
status
in-progress
status
needs-review
status
ready
type
bug
type
docs
type
enhancement
type
feature
type
refactor
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
customable/claude-mem#99
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The WebUI codebase likely contains legacy/unused components, dead code, and outdated patterns that should be cleaned up as part of the redesign effort.
Tasks
Approach
This cleanup should happen alongside or before the redesign (#98) to:
Related Issues
Notes
Run a full component audit before starting the redesign to understand the actual scope.
Component Audit Complete:
Audited all UI components for usage:
✅ In Use:
Console.tsx- 2 imports (App.tsx)ObservationDetails.tsx- 10 imports (Search, Sessions, Memories)StatusBar.tsx- 2 imports (App.tsx)WorkerStatus.tsx- 3 imports (App.tsx)❌ Removed:
ObservationList.tsx- 0 imports (functionality duplicated in Memories.tsx)Dependencies Check:
Finding: The codebase is already relatively clean. The daisyUI v5 migration appears complete. No commented-out code or TODOs found.
Remaining tasks from the issue list would require more subjective decisions about code patterns.
UI Audit Results
Performed a full audit of the UI codebase. The code is already clean:
Components (4 files)
Console.tsxStatusBar.tsxWorkerStatus.tsxObservationDetails.tsxViews (8 files)
All views are actively used via routing in App.tsx:
Code Quality
Conclusion
The UI codebase is already well-maintained. No cleanup needed at this time.
Closing as the audit shows no issues to address.