Skip to content

#899 Remove old floating pill components - #923

Merged
ivanfenenko merged 1 commit into
mainfrom
feature/899-remove-old-pill-components
Nov 1, 2026
Merged

ivanfenenko merged 1 commit into
mainfrom
feature/899-remove-old-pill-components

Conversation

@ivanfenenko

@ivanfenenko ivanfenenko commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Part of #899. Since #903 every floating pill renders through OpenCodeFloatingPill and the corner slots, so these components were only referenced by their own previews and Component Gallery entries. Removed on iOS and Android:

  • OpenCodeSideQuestionPill + Side Question Pill gallery entry
  • OpenCodePendingPromptsStrip + Pending Prompts Strip gallery entry + its label tests
  • OpenCodeSessionTodosPill + Session Todos Pill gallery entry. The todos accessibility label is still used by the corner slots, so it moves to SessionTodosPillLabels (one call-site change in iOS SessionChatTimelineView).
  • OpenCodeSyncingPill + Syncing Pill gallery entry. The live syncing activity item and SessionChatSyncingPillTiming stay.
  • OpenCodeActionPill variants reviewPermission / answerQuestion (only scrollToEnd is used).
  • Design-system docs: syncing-pill.md, session-todos-pill.md, their sections in tokens.md, and mentions in floating-pill-chrome.md / action-pill.md.

PendingPromptsStripGate stays as is: it still drives the queued pill's timing in both Session Chat view models. I didn't rename it, to avoid touching the view models while other #899 work is in flight.

Checks

  • Android: ./gradlew :app:assembleDebug :app:testDebugUnitTest passes.
  • iOS: xcodebuild test (OpenCode MobileTests, iPhone 17 simulator): 3020 tests; one failure in ProjectionReconciliationTests.worldAndReconnectPair_yieldsOneGet (reconnect timing, unrelated), which passed when the suite was re-run alone.
  • Grep confirms no remaining references to the removed types outside the kept gate/timing names.
  • No user-facing UI change; Component Gallery entries removed.

Risks

  • Low: deletions of dead code only. Not checked: the Component Gallery on a device (entries come from the same enum/switch, so the build covers it).

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

The floating pills now render through OpenCodeFloatingPill and the corner
slots, so the old Side Question Pill, Pending Prompts Strip, Session Todos
Pill and Syncing Pill were only used by their previews and gallery entries.
Remove them, their gallery entries, the strip label tests and their
design-system docs on both platforms. Drop the unused Review permission and
Answer question variants from OpenCodeActionPill.

The todos pill accessibility label is still used by the corner slots, so it
moves into SessionTodosPillLabels.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review: no finding that 2+ of 3 passes agreed on.

opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.047

@ivanfenenko
ivanfenenko merged commit b87b4a2 into main Nov 1, 2026
@ivanfenenko
ivanfenenko deleted the feature/899-remove-old-pill-components branch November 1, 2026 15:26
@ivanfenenko ivanfenenko mentioned this pull request Nov 1, 2026
11 tasks done
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