Add Notifications UI #455
Reference in New Issue
Block a user
Delete Branch "notification_ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves #447
/claim #447
Some key things to note:
redirect_to(root_path, alert: "Something went wrong")as well as flash on turbo stream responses (ex:turbo_stream.flash(alert: "Something went wrong"))https://github.com/maybe-finance/maybe/assets/622516/3b272e16-20f3-4a20-9684-96046814faf7
💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay.
@@ -207,0 +208,4 @@'stroke-fill': {to: { 'stroke-dashoffset': 0 },},},Credit to @JoshAntBrown since I stole this from #449. I'm not crazy about having to add something to the tailwind config, so if there is a better way to do this, let me know.
Awesome, thorough code! 👏🏻
@@ -0,0 +2,4 @@def flash_message(flash)messages = flash.map do |type, message|turbo_stream_action_tag(:flash_message, type: type, message: message)end.join.html_safeYou can also use
.safe_joinhttps://api.rubyonrails.org/classes/ActionView/Helpers/OutputSafetyHelper.html#method-i-safe_joinPull request closed