Skip to content

Remove the unused ComposerView and other composer, session and media orphans - #152

Merged
Tarquinen merged 1 commit into
devfrom
composer-session-orphans
Nov 18, 2026
Merged

Tarquinen merged 1 commit into
devfrom
composer-session-orphans

Conversation

@Tarquinen

Copy link
Copy Markdown
Member

Removes code that nothing calls any more.

  • Composer: deletes ComposerView.kt, which had no callers, along with what only it used: Modifier.attachmentMenuAnchor, ComposerPickers.filesIntent and the composer_attachment_photo_description string (removed from English and every translation). Also deletes OneShotRequestGate.kt and QueuedMessagesSheetMetrics.estimatedRowHeight.
  • Session: removes SessionFeature.markdownStream, TitleBreathing.REPLAY_SECONDS and AgentActivityOrb.SIGMA.
  • Media: removes AgentImageBento.defaultCornerRadius.

Each symbol was grepped in src/main and src/test across all modules; none is used outside its own definition. docs/parity/composer.md is updated.

Verified: scripts/translations.py all passes, and vm.sh check (all modules) passes.

…orphans

ComposerView had no callers; it goes with what only it used: the
attachmentMenuAnchor modifier, ComposerPickers.filesIntent and the
composer_attachment_photo_description string (English and every
translation). Also removed, each referenced only at its definition:
OneShotRequestGate, QueuedMessagesSheetMetrics.estimatedRowHeight,
SessionFeature.markdownStream, TitleBreathing.REPLAY_SECONDS,
AgentActivityOrb's SIGMA and AgentImageBento.defaultCornerRadius.
docs/parity/composer.md updated to match.

Verified: git grep over src/main and src/test in every module,
scripts/translations.py all, full scripts/check.sh on the Android VM.
@Tarquinen
Tarquinen merged commit 665cbb2 into dev Nov 18, 2026
3 checks passed

This branch was previously deployed

1 inactive deployment
release — 73fba198 Deployed Nov 18, 2026 by Tarquinen via check #508
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant