Repository navigation
refactor(desktop): remove confirmed unused application code - #2643
Merged
Merged
Conversation
Remove obsolete UI and helper implementations with no production callers so they cannot drift from the active paths. Preserve public package exports, persisted compatibility fields, and runtime entry points.
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.
Remove internal implementations that have no production callers, including a duplicate Worktree session menu, retired Dictation controls/styles, obsolete model-metadata fallback helpers, and 42 unused import bindings. Active user flows, public package exports, IPC/RPC contracts, persisted compatibility fields, and runtime entry points are preserved. The change removes 680 lines on balance across 40 files.
Review checked removed exports against all tracked source, test, JSX fixture, and documentation references, and verified that retained Live Voice classes remain loaded by their owning modules. No dependency, schema, permission, or public behavior changes are included.
Validation:
origin/main, agent-policy sync, and diff checks pass.Candidate:
dec1e5584e9b8531f6b79ec77205e930daa7308bBase main:
ad1554774ff48c2727b70a320ce7fa0579eefbd1Executable tree:
b02ae7e3b274475bcd306ffbeaa345560ae23295Environment: macOS, reused host dependencies and installed Electron 43.6.0; existing Pi 1.5.2 repository patches applied only in task-local validation overlays. No paid provider or running user instance was used.