Identify mobile chat peeks and expose switching and resize affordances
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Mobile peek identity and resize affordance
|
||||
|
||||
The inactive mobile chat now has a persistent title and native Switch action.
|
||||
The header occupies layout space above its transcript rather than covering it.
|
||||
The existing Expand <title> semantics and chat-peek-<pane-id> identifier remain,
|
||||
so tapping any non-dragging area still switches and transcript drags still scroll.
|
||||
The native button's full-title tooltip says Switch to <title>.
|
||||
|
||||
The existing resize target now paints a neutral grip with a visible keyboard
|
||||
focus outline and Drag to resize inactive chat tooltip. Arrow keys and semantic
|
||||
increase/decrease retain the saved bounds: nonzero minimum, maximum original20%.
|
||||
Only the active bottom edge remains colored on the phone; no side edges added.
|
||||
|
||||
Header and body stay stable siblings across role changes, preserving chat State,
|
||||
drafts and reading offsets. The regular header reserves44px; compact native text
|
||||
roles fit physically tiny previews, and the header is capped by actual available
|
||||
height. Minimum48px peeks and32px visual previews are tested at2x text on Material
|
||||
and Cupertino. Non-tape fixed-layout transitions hide the peek label until they
|
||||
settle, preserving the source viewport and avoiding repeated expensive relayout.
|
||||
Tape remains the default and its looping picture/joins are unchanged.
|
||||
|
||||
51 workspace and Settings-preview tests passed (/tmp/memwatch/out.s8tNnF), including
|
||||
all animation styles, draft/scroll retention, real remaining body viewport,
|
||||
scroll-to-last-row, visible Switch activation once, min bounds and2x tiny sizes.
|
||||
Analyzer clean (flutter-analyze.qg9nO5). Browser evidence is left to the parent's
|
||||
integrated capture, where the body viewport must be compared with peek height
|
||||
minus the visible header, not total peek-card height. No deployment performed.
|
||||
Reference in New Issue
Block a user