Repository navigation
#805 Option card picker that fits every Timeline Style - #808
Merged
ivanfenenko merged 1 commit intoOct 23, 2026
Merged
Conversation
Adds OpenCodeOptionCard, a reusable single-choice card with a radio, title, tag, subtitle, and illustration preview; an accent tone for OpenCodeTag; and a fitAllContent bottom sheet height that grows to the screen's sheet limit before scrolling. The Timeline Style picker uses all three, so every option is in view and the sheet matches prototype B. Co-Authored-By: Claude Opus 5.5 <[email protected]>
ivanfenenko
merged commit Oct 23, 2026
904f171
into
feature/805-timeline-style-picker
1 of 2 checks passed
Collaborator
Author
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.
Stacked on #807: review that first; this PR's base switches to
mainwhen #807 merges.Summary
OpenCodeOptionCard(iOS + Android, Component Collection → Lists, gallery entry): one choice in a single-choice list. Bordered card with a leading radio, title, optional small tag, up to 3 lines of subtitle, and a 92×56 skeleton illustration preview. Selected = interactive border + surface-interactive-weak fill; disabled = 50%. The tag moves under the title when both don't fit, so the title never wraps for it. Meant for other pickers later.OpenCodeTagaccent tone (interactive text on a 12% interactive fill), next to the existing neutral look.fitAllContentheight: wraps all content up to the tallest card the screen allows (the expanded-sheet top limit) and only scrolls past that, instead of dropping to the 50% detent at 420pt.fitContentandhalfare unchanged.fitAllContent, so every style is in view. On iOS Step Rail was below the fold in #805 One-time Timeline Style picker with option cards #807.Checks
OpenCodeBottomSheetHeightTests(38, incl. new fit-all limit tests) andSessionChatDisplayPreferencesTestspass;SessionChatViewModelTests(200) pass. One unrelated timing test (sendPrompt_postSendReloadMatchingUser_dropsOptimistic) failed once and passed on two re-runs.:app:assembleDebugand the full:app:testDebugUnitTestpass, including newOpenCodeOptionCardTest,SessionChatTimelineStylePickerSheetTestand 5 fit-all layout tests;ktlintCheckclean on added lines.Issue
Risks / Follow-ups
illustrationdecorator andtagfrom #805 One-time Timeline Style picker with option cards #807 are now used only by the gallery.🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmithwith what you need.