Human-readable rendering for notifications.
Maps {activity.action, activity.metadata} → %{icon, text, link, actor_uuid}
so the bell dropdown and inbox page don't need to know the action taxonomy.
Unknown actions fall back to the raw action string with a generic icon, so a new action that hasn't been mapped yet still displays safely.
Summary
Functions
Returns the display payload for a notification.
Types
Functions
@spec render(PhoenixKit.Notifications.Notification.t()) :: render_result()
Returns the display payload for a notification.
notification.activity must be preloaded.