Skip to content

Add LiveView attach_hook to inject breadcrumbs #484

@Doerge

Description

@Doerge

For errors that occur in LiveViews/LiveComponents, such as those happening on a phx_click, I find I lack some additional context:

  • Which liveview.
  • Which phx-click event.
  • What data was sent.

It would be nice if the specific LiveView, and the (optional) handle_event call, were captured automatically in breadcrumbs.

Is anyone working on this, or have a vague idea how to wrap all liveview calls in breadcrumbs? Then I could maybe take a stab at it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions