Repository navigation
#899 Remove old floating pill components - #923
Merged
Merged
Conversation
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]>
11 tasks done
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.
Summary
Part of #899. Since #903 every floating pill renders through
OpenCodeFloatingPilland 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 entryOpenCodePendingPromptsStrip+ Pending Prompts Strip gallery entry + its label testsOpenCodeSessionTodosPill+ Session Todos Pill gallery entry. The todos accessibility label is still used by the corner slots, so it moves toSessionTodosPillLabels(one call-site change in iOSSessionChatTimelineView).OpenCodeSyncingPill+ Syncing Pill gallery entry. The livesyncingactivity item andSessionChatSyncingPillTimingstay.OpenCodeActionPillvariantsreviewPermission/answerQuestion(onlyscrollToEndis used).syncing-pill.md,session-todos-pill.md, their sections intokens.md, and mentions infloating-pill-chrome.md/action-pill.md.PendingPromptsStripGatestays 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
./gradlew :app:assembleDebug :app:testDebugUnitTestpasses.xcodebuild test(OpenCode MobileTests, iPhone 17 simulator): 3020 tests; one failure inProjectionReconciliationTests.worldAndReconnectPair_yieldsOneGet(reconnect timing, unrelated), which passed when the suite was re-run alone.Risks
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need.