analytics/lib/plausible_web/live
hq1 24a8aa2821
Reapply sentry context (#3675)
* Reapply "Sentry context in live views (#3672)"

This reverts commit 5449fead160064b8a0081c458cc5dcd34399eb0b.

* Make sure `:selection_made` is handled in `GoalSettings.Form`

That was a bit unepexcted.. normally `handle_info` is injected
by the LiveView use macro and it discards any message gracefully.
After switching to `use PlausibleWeb, :live_view` we're also
using `PlausibleWeb.Live.Flash` that happens to inject its own receive
clause for closing the flash. Which then renders the original,
overridable, `handle_info` catch-all obsolete.

* Update LV SentryContext only on connected sockets

(first mount already has the right context coming from Sentry plug)

* Make sure Live.ChoosePlan passes `current_user_id` session key
2024-01-09 12:28:31 +01:00
..
components Implement UI for 2FA setup and verification (#3541) 2023-12-06 12:01:19 +01:00
goal_settings Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
plugins/api Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
props_settings Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
choose_plan.ex Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
flash.ex Improve LiveView flash messages (#3523) 2023-11-20 11:31:56 +01:00
goal_settings.ex Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
props_settings.ex Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
register_form.ex Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
reset_password_form.ex Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
sentry_context.ex Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00
sites.ex Reapply sentry context (#3675) 2024-01-09 12:28:31 +01:00