Skip to content

ANIMATION RETRIBUTION II: PROLAPSED OUBLIETTE#15863

Closed
kitlangton wants to merge 5 commits intoanomalyco:devfrom
kitlangton:kitlangton/tool-call-abstraction-turn-diff-summary
Closed

ANIMATION RETRIBUTION II: PROLAPSED OUBLIETTE#15863
kitlangton wants to merge 5 commits intoanomalyco:devfrom
kitlangton:kitlangton/tool-call-abstraction-turn-diff-summary

Conversation

@kitlangton
Copy link
Copy Markdown
Contributor

@kitlangton kitlangton commented Mar 3, 2026

Summary

  • Consolidates the branch into the current timeline/composer UI pass: extracted session timeline header, composer island work, and updated tool-call / turn rendering.
  • Refines session timeline behavior with staged rendering, scroll-anchor preservation, queued-state polish, and smoother assistant/user turn presentation.
  • Adds reusable motion primitives (GrowBox, RollingResults, shared motion helpers) plus follow-up polish for TextReveal / TextShimmer and reduced-motion compliance.
  • Includes supporting session/app plumbing, websearch/codesearch rendering fixes, and trims redundant one-off stories while keeping the main simulator/composer demos.

Key Changes

  • Timeline + tool UI: packages/ui/src/components/message-part.tsx, packages/ui/src/components/session-turn.tsx, packages/ui/src/components/basic-tool.tsx, packages/app/src/pages/session/message-timeline.tsx, packages/app/src/pages/session/session-timeline-header.tsx
  • Motion primitives: packages/ui/src/components/grow-box.tsx, packages/ui/src/components/rolling-results.tsx, packages/ui/src/components/motion.tsx, packages/ui/src/components/motion-spring.tsx, packages/ui/src/components/text-reveal.tsx, packages/ui/src/components/text-shimmer.tsx
  • Composer + demos: packages/ui/src/components/composer-island.tsx, packages/ui/src/components/composer-island.stories.tsx, packages/ui/src/components/session-timeline-simulator.stories.tsx
  • Session/app behavior: prompt input, composer region/todo dock, auto-scroll, hash scroll, command/layout/sync wiring
  • Hooks + utils: packages/ui/src/hooks/use-reduced-motion.ts, packages/ui/src/hooks/use-page-visible.ts, packages/ui/src/hooks/use-element-height.ts, packages/util/src/array.ts

Scope

  • 84 files changed
  • 7,419 insertions, 3,784 deletions

Validation

  • bun turbo typecheck (run by the repo pre-push hook on the final pushes)

@gigamonster256
Copy link
Copy Markdown
Contributor

image

@kitlangton kitlangton force-pushed the kitlangton/tool-call-abstraction-turn-diff-summary branch 3 times, most recently from 653cfc7 to 2e4a146 Compare March 5, 2026 15:11
@kitlangton kitlangton marked this pull request as ready for review March 5, 2026 16:02
@kitlangton kitlangton requested a review from adamdotdevin as a code owner March 5, 2026 16:02
@kitlangton kitlangton force-pushed the kitlangton/tool-call-abstraction-turn-diff-summary branch from 95c7fac to 4ac47ad Compare March 6, 2026 00:01
Copy link
Copy Markdown
Member

@adamdotdevin adamdotdevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's get this merrrrrrrrged

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's swap this out with https://primitives.solidjs.community/package/resize-observer/#createelementsize (i think we already have this package installed and some usage of it)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pedantic, but let's leave this untouched

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again, pedantic, but would prefer this package not touched at all

kitlangton and others added 5 commits March 6, 2026 14:36
…ovements

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ties

- Replace manual autoOpen signal+effect with hold(pending, 2000)
- Extract updateScrollMask() shared by ShellExpanded and ContextToolExpandedList
- Extract useCollapsible() hook for the shared expand/collapse animation pattern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove anim.stop() from useRowWipe cleanup — stopping mid-animation
  leaves WAAPI fill-forward that overrides cleared inline styles. Let
  animations run to completion; cancelAnimationFrame prevents starts.
- Add generation counter to useCollapsible to guard against stale
  microtask and promise callbacks on rapid open/close toggling.
- Use .then(ok, err) instead of .catch().then() to prevent callbacks
  firing after animation cancellation.
- Remove redundant fade constant in ShellExpanded.
- Clean up unused imports in context-tool-results.tsx.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants