Repository navigation
fix(timeline,files,panels): unify TurnTail rhythm, stop animation clobbering, and animate final panel close - #2272
Open
kitlangton wants to merge 1 commit into
Open
kitlangton wants to merge 1 commit into
kitlangton wants to merge 1 commit into
Conversation
…bbering, avoid idle line_hold invalidation, and animate final panel close
This branch has not been 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.
Fixes four timeline rhythm, animation-snap, and right-panel close-spring issues.
Gives
Thinking/Working/Waitingthe exact same vertical rhythm as every other assistant row (0 pt vertical jump when a tool row replacesThinking), stops background file polls from clobbering concurrent streaming animations, stops Adaptive Drip from invalidating the timeline region when idle, and animates the right side panel shut when closing its final tab.💡 Why
rhythm::tail_extrareturned0.0(under a stale comment assuming User bubbles still reserved 28 ptmeta-room) andafter_active_tailzeroed the gap belowTurnTail, leavingThinking/Workingonly 11 pt below User bubbles/prose and 9 pt above a Pending steer — causing a 56 pt layout jump the instantUsed 1 toollanded.features/files/src/poll.rscalled transaction-widetx.instant()when background file reads or searches finished, overridingtx.animated()from Adaptive Drip and snapping live row-growth springs mid-stream.line_reveal::pollunconditionally calledstd::mem::take(s.line_hold_mut())on every live poll even when zero bytes were pending, bumpingTracked::DerefMutand busting timeline region reuse on every tick.New tabcalledtx.instant()before closing the empty side panel, and closing the final ordinary tab didn't restoretx.animated()afterprovider.close(..., tx), snapping the side panel shut instead of animating its width spring.🆕 Now you can
Thinking,Working, andWaiting for subagentssit at the exact timeline rhythm (L32 pt below user prompts and above pending steers,M20 pt below prose/bullets/tools) with zero vertical jump when the first tool or prose row arrives.line_holdcache invalidations.👀 Read:
crates/session-view/src/timeline/rhythm.rs,crates/session-view/src/line_reveal.rs,features/files/src/poll.rs, andfeatures/panels/src/{view/strip,keys,state/actions}.rs.Checks run
cargo check --bin opencode-desktop: PASScargo check -p session-view --examples: PASSbash scripts/guardrails.sh: PASS