Repository navigation
mac: the workspace moves on §4's springs - #298
Merged
Merged
Conversation
ConchMotion already held §4's values -- morph bounce 0.12 / response 0.46, pop 0.34 / 0.36 -- and the workspace never used them, animating with hand-rolled .easeOut(duration: 0.18) instead. The overlay has used the real springs for months; this applies the same convention to the window. ⌘B collapse takes morph. The stage's pages take morph and now move at all -- before, the deliverable replaced the conversation between one frame and the next. Switching sessions fades the transcript in over 0.12s with no slide, because moving a reading surface is the thing Tyler called distracting. Reduce Motion now DROPS THE BOUNCE and keeps the timing, which is what §4 says; passing nil had disabled the animation outright, a different promise. The fade is declarative -- .animation(_:value:) with the value flipped on the next runloop turn -- never an imperative animation block, which this file's own guard forbids in the transcript: one that restarts on every streamed token never settles the viewport. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SfEX6bfwCGXtThk1JRNmsE
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.
Tyler: "the js version was much better / smoother." This is the "smoother" half — §4, which I had never read.
ConchMotionalready held §4's exact values —morphbounce 0.12 / response 0.46,pop0.34 / 0.36, withresolved(reduceMotion:)built in. The workspace simply never used them, animating with hand-rolled.easeOut(duration: 0.18)instead. The overlay has used the real springs for months (control-bar-source.test.tspins them); this applies the same convention to the window.morph.easeOut(0.18)ConchMotion.morphmorphConchMotion.morphnil— killed the animation outrightresolved(reduceMotion:)That last row is a behaviour fix, not a value: passing
nilmade Reduce Motion mean "no animation", where §4 means "no bounce".The fade is declarative, on purpose
mac-phase1-sourceforbids imperative animation blocks in the transcript — one that restarts on every streamed token never settles the viewport. My first attempt used one and tripped that guard, which was right to fire. The fade now rides.animation(_:value:)with the value flipped on the next runloop turn, so it cannot touch the scroll path at all.(My own comment then tripped the same guard by containing the forbidden word. Reworded — the guard is a plain substring check and was correct both times.)
Mutation battery
Gate
bun test2303/0 exit 0 ·tsc --noEmitexit 0 ·swift testexit 0 · MacxcodebuildBUILD SUCCEEDED · iOSxcodebuildBUILD SUCCEEDED — re-run after rebasing onto #297, since both slices editedDashboardView.swiftand the same test file.A still frame cannot verify this one.
conch shotcaptures a moment; springs are the thing between moments. It builds, it is guarded, and the values are yours from the lab — but judging whether it feels right is on the live window.🤖 Generated with Claude Code
https://claude.ai/code/session_01SfEX6bfwCGXtThk1JRNmsE