PhoenixKitWeb.Live.Modules (phoenix_kit v1.7.71)

Copy Markdown View Source

Admin modules management LiveView for PhoenixKit.

Displays available system modules and their configuration status. All module references are resolved at runtime via the ModuleRegistry, so removing or adding modules requires no changes to this file.

Summary

Functions

format_bytes(bytes)

format_timestamp(iso_string)

handle_event(binary, map, socket)

Callback implementation for Phoenix.LiveView.handle_event/3.

handle_info(arg1, socket)

Callback implementation for Phoenix.LiveView.handle_info/2.

mcfg(module_configs, key, field, default \\ nil)

Safely get a module config value, returning default if module not loaded.

mount(params, session, socket)

Callback implementation for Phoenix.LiveView.mount/3.

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.