Skip to content

fix(app): restore zen mode height animation#454

Merged
ymichael merged 1 commit into
mainfrom
bb/animate-zen-mode-height-thr_tui2imhxcy
Jul 1, 2026
Merged

fix(app): restore zen mode height animation#454
ymichael merged 1 commit into
mainfrom
bb/animate-zen-mode-height-thr_tui2imhxcy

Conversation

@ymichael

@ymichael ymichael commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • restore the zen-mode height animation effect by rerunning it when isZenMode changes
  • guard the queued editor focus callback after zen toggles if the TipTap editor has already torn down
  • add a regression test that verifies the prompt box applies the measured height transition

Regression

Introduced in b96107fa9 (TER-10: Add rich prompt editor mentions), where the textarea-specific animation dependencies were simplified and isZenMode was accidentally dropped.

Validation

  • pnpm exec turbo run test --filter=@bb/app -- src/components/promptbox/PromptBoxInternal.test.tsx
  • pnpm exec turbo run typecheck --filter=@bb/app

@ymichael ymichael merged commit be7bd70 into main Jul 1, 2026
6 checks passed
@ymichael ymichael deleted the bb/animate-zen-mode-height-thr_tui2imhxcy branch July 1, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant