You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 92c1992
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(web): composer menus, pickers and banners act in handlers
The composer's menus, banners, model picker, attachment strip and draft
hero measure from ref callbacks and act in their handlers, and the
overlay measurer that owns held composer heights is added here.
Effect categories removed:
- measurement and positioning moved to ref callbacks (command menu
layer, active row scroll, banner overflow, hero fit, model picker
sidebar and list fades, resting controls)
- banner focus, question auto-advance and stash badge pulse moved to
handlers and keyed CSS animation
- picker key listeners moved to element scopes and onKeyDownCapture
- thumbnail loading moved to use() under Suspense
- stale scratch checks read the draft store instead of a mirrored ref
- command-key handling reads the render's menu state per keypress
- search focus and scroll lock follow the popup's own lifecycle
Bugs fixed:
- Dismissing a banner and switching threads quickly lost the dismissal.
- The active command row was not scrolled into view on first open.
- The model picker indicator did not move when providers above the
selected row were added, removed or reordered.
Kept effects:
- Draft hero layout transition: needs pre-paint geometry of a derived
layout change.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments