Grow the tapped chat row into the chat page on phones
Replace the identity-avatar Hero with a container transform: the row's surface, tint and edge marker morph into the full page while the content cross-fades, and Back, the Cupertino edge swipe or Android predictive back shrink the page into the open chat's row. Reduced motion or a row off screen fades instead; wide layouts are unchanged.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Mobile chat opening transition
|
||||
|
||||
The mobile chat row and conversation header share the chat identity avatar through a native Flutter `Hero`. The identity is added inside the existing title pill, preserving the colored header wash and desktop title geometry. Wide list/detail panes and reduced-motion contexts do not create a flight.
|
||||
|
||||
Focused behavioral coverage is in `test/features/chat/chat_open_transition_test.dart`; it uses a fake chat, checks the mobile route opens/returns with the identity in the header, verifies an intermediate Hero geometry during the route animation, and checks reduced motion omits `Hero`.
|
||||
Superseded by `chat-open-container-transform.md`: the tapped row itself grows
|
||||
into the chat page and shrinks back on Back. The earlier identity-avatar
|
||||
`Hero` between the row and the header was removed.
|
||||
|
||||
Reference in New Issue
Block a user