-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hey guys
I'm having issues with LiveToast 0.8 on both Phoenix 1.7 and Phoenix 1.8
I followed the docs and created this repo to reproduce the issues:
https://github.com/luislhsc/live-toast-test
There are instructions on how to test on README
The main test I did are in
ib/hello_phoenix_web/live/conversation_live/index.ex and
lib/hello_phoenix_web/live/conversation_live/form.ex
The main questions are:
1 - When should I used put_toast vs send_toast vs put_flash? The docs are not clear about when a toast or a flash message will be displayed. Seems like LiveToast.put_toast always shows flash instead of toast for push_patch and push_navigate Is this the expected behavior? When an actual toast will be displayed?
Also, on whenever it falls back to flash it doesn't show the title
2 - Why LiveToast.send_toast never works on this test? Am I using it wrong or the docs missing some setup step?
Thanks in advance