feat(journeys-ui): apologist chat drawer UI update [NES-1641]#9184
feat(journeys-ui): apologist chat drawer UI update [NES-1641]#9184edmonday wants to merge 3 commits into
Conversation
- DragHandle: extract useDragSheet hook, track max abs displacement to fix synthetic-tap-after-drag-then-return, add live-drag callbacks - DragHandle: replace chevron icon with standard pill affordance - AiChat: forward drag handlers, make ChatHeader a drag surface, controlled collapsed state - PinnedChatBar: own snap state with three stops (minimized / 80% / full); first message auto-expands to 80%, re-expansion always lands at 80%, full reachable only by drag-up from 80% - PinnedChatBar: 780ms ease-out snap, 480ms toggle ease-out - DragHandle: tap on collapsed handle is a no-op (drag-only expand) - Conversation: suppressScrollPill prop so the chevron doesn't flash in mid-collapse animation - PromptInput: brand red send/stop button when active or loading Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
View your CI Pipeline Execution ↗ for commit bab1490
☁️ Nx Cloud last updated this comment at |
setCollapsed(false) was unconditional in handleSubmit/handleRetry/initial- message paths. In controlled mode this routed through onCollapsedChange, which always snaps to the large (80%) stop — silently shrinking a sheet the user had dragged to 100%. Skip the call when already expanded. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
|
The latest updates on your projects.
|
Summary
Iterates on the pinned apologist-chat sheet UX based on the Claude Design handoff. Replaces the binary collapse/expand gesture with a live-tracking drag and three snap stops, swaps the chevron handle for a standard drag pill, and tints the send button brand red.
Also addresses one of the deferred items from the PR #9122 review — the synthetic-tap-after-drag-then-return edge case.
Drawer behaviour
Send button
Files
Verification
Linear: NES-1641
🤖 Generated with Claude Code