Repository navigation
Conversation
Send was a 40 dp face and Stop and Call 34 dp, and a change of control cut from one to the next because each control drew its own label. Now the trailing slot has one 40 dp face that carries across the controls: the colours blend, the face gives a small press, Send's arrow rises in and leaves upward as the message goes, and the other glyphs grow in and shrink out. The send's fading snapshot of the card leaves the trailing controls out, so the live swap isn't doubled. The answer bar's button and dictation's Stop take the same 40 dp face. Reduce motion swaps at once. Verified: scripts/check.sh :feature:session; emulator against session-lab in light and dark, frame by frame at 5x slower animations.
The stop symbol's square fills half of its box, so a 16 dp glyph drew an 8 dp square in the 40 dp face, lighter than the arrow and the phone. A 24 dp glyph draws 12 dp, for the trailing Stop and dictation's Stop. Verified: built and recorded on the emulator in light and dark.
Animate the composer's Send, Stop and Call button as one face
…tras Agents testing on an emulator paired the app with session-lab by hand through Enter a Server Manually (about nine steps and 2.5 minutes each time) and tapped through Settings to flip Experimental switches. In debug builds, `lab-server-url` now saves that server as the last-used one, so the launch connects to it. Until now it was only read as a flag. `lab-experiments-on` and `lab-experiments-off` take comma-separated experiment names and set those switches. Verified: `scripts/check.sh` passes; the new test fails without the LabLaunch change. On an API 36 emulator, after `pm clear`, `am start --es lab-server-url http://10.0.2.2:4151 -a VIEW -d opencode://session/ses_approval_root` opens the lab session connected in about 5 s with no onboarding, and `--es lab-experiments-on inbox-sidebar,sound-effects` stores both switches (app storage holds `experimental-inbox-sidebar` true; Settings shows the Sound Effects volume slider).
feat(app): connect to a lab server and set experiments from launch extras
When a docked permission or question was answered, the panel folded away but the room the capsule reserved for it stayed until the fold finished, then went in one step: a blank band for about 250 ms, then the chip row and the transcript dropped a whole panel height in one frame. The room now follows the panel's reveal, so it shrinks with the fold and the transcript settles down as the card leaves. Reduce Motion is unchanged (the reveal still snaps after its fade), and a request that docks mid-fold grows the room back with the reveal. Verified: vm.sh check :feature:session; emulator recordings of a permission answered in light, dark and at animator scale 5, the showcase question resolving, and Reduce Motion, compared frame by frame against a dev build.
Opening or closing a "Used N tools" group swapped the right chevron for the down one in a single frame, while the rows below grew on DisclosureMotion. Now one right chevron turns 90° on the same curve (Motion.layout, closing on its quicker exit), as the link list's "more" chevron does. Under Reduce Motion it swaps to the down chevron at once, also as that sibling does. Verified: scripts/check.sh :feature:transcript on the VM passes; recorded open and close on the tool-groups checkpoint against the release, at real speed, at animator_duration_scale 5, and in dark mode.
Turning on Enable Voice or All Experiments added sections and rows in one frame, before the switch's thumb had moved, and pushed the rest of the page. settingsSection now gives every section animateItem (fade in on MicroIn, delayed by half of Layout so it lands after the sections below make room; placement on Layout; fade out on MicroOut), as ServerDetailsView's rows do, and the section card animates its size on Layout when rows inside it change. Every Settings page uses settingsSection with keys, so no page needed edits. Verified: vm.sh check :feature:settings passes. On the emulator against session-lab, Voice (Enable Voice on/off, light, and dark at 4x animator scale) and Experimental (All Experiments on/off) frame by frame against v0.8.0; opening Voice and Experimental from Settings plays no stray fade or slide.
The splash and window background were hard-coded black, so a light launch started black and the system's splash exit drew its reveal in that black: a dark radial wipe into a white screen, with the navigation handle still light. A dark launch dipped through black between the icon's fade and the app. The splash and window background are now a day/night colour, the default palette's canvas (white, #161616). The splash's night mode follows the phone, so MainActivity mirrors Appearance's Light, Dark or System into the app's own night mode (UiModeManager .setApplicationNightMode: YES, NO, or AUTO to follow the phone), and handles uiMode itself so changing Appearance doesn't recreate it. The splash theme is Theme.SplashScreen.IconBackground so the white mark keeps its dark launcher circle on the white splash. Verified on the API 36 emulator, frame by frame: cold starts on a light and a dark phone, paired and unpaired, in-app Light on a dark phone and in-app Dark on a light phone; Appearance switches and system dark mode switches with the app open (no recreate, page kept); clearing data resets the night mode; Share and Ask OpenCode follow the in-app choice. The first launch after updating, for someone whose in-app choice differs from the phone's, still uses the phone's mode once. scripts/check.sh :app passes.
Shrink an answered request's space with its fold
Animate Settings sections and rows as they come and go
The agent chip's name was plain text, so picking another agent cut its name in one frame and its new width shoved the model chip sideways. The agent name now goes through the model chip's OnePickerChipRoll: the new name rolls in on MotionTransition.roll and the chip's width eases on Motion.layout (both follow Reduce Motion), so the model chip slides over. Verified: $V build and scripts/check.sh :feature:composer pass. On the emulator against session-lab, picking Plan then Docs Writer cuts on v0.8.0 and rolls on this branch, frame by frame at real speed and at animator scale 5, in light and dark.
Start the app on a splash that matches its light or dark theme
Roll the composer's agent name like the model's
Picking a theme, a voice or a Delegator mode swapped the check from the old row to the new one in a single frame. The check now comes in through MotionPresence: it scales and fades in on MicroIn and fades out on MicroOut, the same roles as the drawer's selection check. The theme row's empty ring cross-fades with it. Each mark keeps its size, tint and slot, so rows don't change width, and a list that opens with a row selected doesn't animate. TalkBack's selected state is unchanged. Language and the server list are left alone: a language pick restarts the activity, and the server list returns to the connection card. Verified: vm.sh build, vm.sh check :feature:settings; on the emulator, frame by frame at animator scale 5 and at real speed: Themes, Voice (Enable Voice on, then off again) and Delegator (experiment on, then off).
A Markdown image or Mermaid diagram that finished loading replaced its spinner box in one frame. Now its pixels fade in over the dim role, as the agent image gallery's do: reduced under Reduce Motion, and no fade when the image was already decoded when the view first showed. Verified on the emulator against session-lab (files checkpoint with 3 s file latency, cold start; math-diagrams checkpoint, cold start): frame by frame the image and diagram pass through partly transparent frames in light and dark, and show at once with animations off. scripts/check.sh :feature:transcript :feature:media passes.
Closing the full-screen viewer faded its bottom bar and page count over the whole flight home, so they stayed faintly drawn over the transcript and the message field until the image landed (and past it when closing from zoom). Close now hides them with the same 0.15 s fade that drag to dismiss and predictive back already use, so they are gone well before the image lands. Open and the drawing hand-off still time the controls to their flights. Verified: scripts/check.sh :feature:media on the Android VM (passes). Emulator, session-lab images checkpoint, against the v0.8.0 release (same viewer code as dev): closing from zoom with Back, the 8 / 11 count took about 280 ms (light) and 220 ms (dark) to fade before, about 130 ms and 115 ms now. Close button, Back without zoom, drag part-way and let go, and predictive back part-way and cancel all checked: the controls hide during the gestures and come back on cancel. Not checked on a phone.
OpenCodePrimaryButton, OpenCodeSecondaryButton and OpenCodeIconButton showed only Material's ripple under the finger. They now also apply the shared motionPress (0.97 on Motion.press, a dim under Reduce Motion) on the button's own interaction source, so every caller gets it. The ripple stays. Disabled buttons emit no press, so they don't move. No other press scale wraps these components (the composer + button, Share's Send and the answer/dictation bars are custom Box clickables), so nothing scales twice. Verified: vm.sh build and vm.sh check :core green; before/after recorded on the FX_1 emulator against session-lab (What's New "Choose a Model" and the drawer's Settings button, real speed and at animator_duration_scale 5). Not checked on a phone.
When reconnecting gave up, the pill cut to "Couldn't connect" in one frame: glyph, title, Try Again and width all changed at once, and the same cut happened back to "Reconnecting" after Try Again. The pill's row now sits in an AnimatedContent keyed on the notice: the old and new contents swap on MotionTransition.swap and the pill's size follows on Motion.layout, as OnePickerChip's label swap does. Reduce Motion gets the transition helper's cross-fade. The pill's enter and exit are unchanged. Verified: vm.sh check :feature:session passed. On the emulator against session-lab (lab stopped, then Try Again, then lab started), compared with v0.8.0 frame by frame in light at normal speed and in dark at animator scale 5: the release cuts in one frame both ways, this build cross-fades and resizes over several frames. Not checked on a phone or with Reduce Motion on.
Reveal the empty transcript's text with animateFloatAsState
Remove the Tuning-only Frontier and Focus text reveal styles
Remove unused picker tunables, session chrome and drawer lab traces
…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.
Each was referenced only at its own definition: LabMarks.markOnce (and its onceKeys set), promotionTrace, workingTrace and transcriptSnapshot; MotionCurve.isSpring; TunableSpring.defaultSpring; Tunable.sliderSteps; TuningStore.undoableRollGroups; emptyReducer; and SharedKeys.touchProbe, whose only other use was its line in TestIsolationGuard. No release ever wrote the touch probe key, so no saved value is orphaned. docs/parity/devtools.md's LabMarks row updated to match. Verified: git grep over src/main, src/test and testFixtures in every module, full scripts/check.sh on the Android VM.
Each was referenced only at its own definition: CatchUpCardLayer.applyTo, CatchUpStackController.refreshPreviewAppearance and cancelPendingAnimations, CatchUpSwipeMath.projectedLanding, DrawerPinDrag.cancelSlotMinY, CardSwipeOrigin.outsideCard, Modifier.drawerSearchFocusHitTesting, DrawerTunables.holdStyle and holdLift (and with them the DrawerHoldStyle enum), DrawerRowShape and DrawerTitle.CROSS_FADE_MILLIS. docs/parity/drawer.md updated to match. Verified: git grep over src/main and src/test in every module, full scripts/check.sh on the Android VM.
Let the composer card animate line growth instead of the field's own spring
Remove the unused ComposerView and other composer, session and media orphans
Remove unused core lab marks, tuning helpers and the touch probe key
Remove unused drawer helpers and tunables
The quote comment panel opens just above the composer, where the background-work capsule, the queued and connection pills and the jump button sit, and the capsule was drawn on top of the comment field. composerPanelCovers now also covers while a quote's comment is being edited, so those fade out under the panel, as they already do under the model picker and the @ suggestions, and come back when it closes. Verified on the emulator against session-lab (background-work): before, the capsule covers "Add an optional comment…"; after, it hides while the panel is open and returns after Done and Back, light and dark, with no transcript or composer jump. The Reconnecting pill (lab stopped) also stays hidden under the panel. vm.sh check :feature:session passed.
Hide the pills above the composer while a quote's comment editor is open
The animation review treated every one-frame change as a defect. These rules start from how often a moment is seen instead: frequent actions, direct input, content at load and view switches don't animate; layout moved by something else does; press scale is for buttons; jumps are fixed with layout first; Reduce Motion keeps a short fade. They follow Anomaly's motion guide, with Material and the platform's own motion kept for pages, sheets, menus and dialogs. Docs only, nothing to run.
Add motion rules to AGENTS.md
Member
|
closing, main is retired. releases run from dev now (release.yml), see docs/releasing.md — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊 |
This branch was previously deployed
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.
Releases everything on
devsince 0.8.0.Chat
Full-screen viewer
Settings
Across the app
Fixes
Speed and battery
Behind the scenes
PRs: #110, #112, #113, #114, #115, #116, #117, #118, #119, #122, #123, #124, #127, #128, #129, #131, #132, #133, #134, #135, #136, #137, #138, #139, #140, #141, #142, #143, #144, #145, #146, #147, #148, #149, #150, #151