API Reference ash_ui_phoenix v#0.1.0

Copy Markdown View Source

Modules

Primary Phoenix integration for routed AshUi resources.

Plug for serving AshUi's client-side runtime assets.

Compile-time contract for host-specific LiveView integration.

Stores a stable AshUi session id in the Plug session, so HTTP remounts (refresh, direct entry, test drivers that remount per navigation) continue the same UI session. Add to the host's browser pipeline

Host-facing Phoenix render_errors view for AshUi error resources.

Transport shim: AshUi.Render emits the one render algebra (AshUi.Rendered/AshUi.Comprehension, LiveView-shape by contract); this module converts it โ€” lazily, closure by closure โ€” into the Phoenix.LiveView.Rendered structs LiveView's own diff engine consumes. No emission logic lives here.

Optional router preset for hosts that use AshAuthentication Phoenix routes.

Optional AshAuthentication override preset for DaisyUI-styled auth screens.

Document assembly for routed AshUi resources (DESIGN.md ยง9).

Resource route metadata carried from Phoenix route expansion into the LiveView host.

Router macros that discover and mount routed Ash resources.