chore(ui): remove 8 unreferenced dead code files (~1,186 lines)#7883
Closed
jeffa-block wants to merge 1 commit intoblock:mainfrom
Closed
chore(ui): remove 8 unreferenced dead code files (~1,186 lines)#7883jeffa-block wants to merge 1 commit intoblock:mainfrom
jeffa-block wants to merge 1 commit intoblock:mainfrom
Conversation
Remove files with zero imports across the entire codebase: Components: - InterruptionHandler.tsx (236 lines) — UI for interruption detection, superseded by inline logic in ChatInput.tsx - WaveformVisualizer.tsx (113 lines) — audio waveform visualisation, never wired into any view - CustomRadio.tsx (81 lines) — custom radio button component, unused - RecipeExpandableInfo.tsx (98 lines) — recipe info accordion, unused - RecipeInfoModal.tsx (66 lines) — recipe info modal, unused - ScheduleFromRecipeModal.tsx (138 lines) — recipe scheduling modal, unused Hooks: - useRecipeManager.ts (324 lines) — recipe management hook, unused Utils: - sessionCache.ts (130 lines) — session caching utility, unused Verified: no barrel exports, no dynamic imports, no lazy() references. Total: 8 files, ~1,186 lines removed.
DOsinga
pushed a commit
that referenced
this pull request
Mar 26, 2026
…code Squash of cleanup PRs #7872–#7883: - Remove debug console.log from main.ts, App.tsx, renderer.tsx, settings components, session sharing, extensions, and core components - Upgrade extensions config save failure from debug to warn - Remove stale TODO referencing non-existent doc in experiments.rs - Remove stale comment in CardHeader.tsx - Remove 8 unreferenced dead code files (~1,186 lines): InterruptionHandler, WaveformVisualizer, RecipeExpandableInfo, RecipeInfoModal, ScheduleFromRecipeModal, CustomRadio, useRecipeManager, sessionCache
Collaborator
|
Squashed into #8142 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
These 8 files have zero imports anywhere in the codebase — no direct imports, no barrel exports, no lazy/dynamic imports. They appear to be features that were built but never wired in, or were superseded by different implementations.
What
Remove 8 files totalling ~1,186 lines:
InterruptionHandler.tsxChatInput.tsxuseRecipeManager.tsScheduleFromRecipeModal.tsxsessionCache.tsWaveformVisualizer.tsxRecipeExpandableInfo.tsxCustomRadio.tsxRecipeInfoModal.tsxHow to review
Verify each file has zero references:
Testing
npm run buildinui/desktop— should compile cleanly (no imports to break)npm run test— no test files reference these components