Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements the new toasts design (v59) with significant visual and interaction improvements. The changes introduce a modern glassmorphic appearance using Haze effects, swipe-to-dismiss gesture support, and improved animations.
Key Changes
- Added swipe-to-dismiss gesture support with upward drag detection and spring-back animation
- Replaced gradient backgrounds with glassmorphic Haze effects for a modern iOS-style appearance
- Improved toast positioning and visual hierarchy with better shadows and spacing
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| ToastView.kt | Complete redesign of toast UI with Haze effects, drag gestures, improved animations, and updated preview examples |
| MainActivity.kt | Added HazeState initialization and integration to enable the new glassmorphic toast appearance |
Pull request was converted to draft
|
Draft to implement adjustments |
Screen_recording_20251208_145157.webmAdjustments implemented |
ovitrif
left a comment
There was a problem hiding this comment.
tACK
Great UI/UX 🥇
Will extract this issue:
Polish Toasts
The last tweak for toasts UI/UX would be to dismiss towards the swiped direction, right now it always animates towards the top.
But this more in scope for another PR which should mainly fix the animation in case of multiple toasts, ie.; Get rid of the auto-dismiss mid-transition which cancels both toasts when a new toast is triggered while an old one is showing.
Recording
transitionsIssues.mp4
|
@jvsena42 e2e keeps failing at Pinged @piotr-iohk to check for the root cause, it seems a bit surreal that it can't find the
|
I checked the video, the drawer is displayed |
FIGMA
Description
This PR implements the toasts v59
Preview
Screen_recording_20251205_173152.webm
QA Notes
To mock more easily: