Bloccs.Web.DashboardLive (bloccs_web v0.1.0)

Copy Markdown View Source

The single LiveView behind every dashboard panel. live_action selects the panel (:networks, :topology, :metrics, :coverage) — the oban_web pattern — so navigation never remounts.

It loads the read-only Bloccs.Introspect data each panel needs in handle_params, resolves the Pro-gating context on_mount, and dispatches rendering to the per-panel function components in Bloccs.Web.Panels.*. Live telemetry (P4) is layered on top via PubSub.

Summary

Functions

on_mount hook installed by bloccs_dashboard/2: stash the configured resolver, the resolved user/access/features, and the mount base path on the socket before any panel renders.

Functions

on_mount(arg, params, session, socket)

on_mount hook installed by bloccs_dashboard/2: stash the configured resolver, the resolved user/access/features, and the mount base path on the socket before any panel renders.