PhoenixKitEntities.Web.ProjectDataLive (PhoenixKitEntities v0.4.2)

Copy Markdown View Source

The entities Data tab for the phoenix_kit_projects hub — this module's phoenix_kit_project_extensions/0 contribution (see that function in PhoenixKitEntities).

Rendered by the projects hub via live_render with the hub's embed-session contract: "project_uuid", "config" (entity_uuid links ONE entity to the project), "current_user_uuid" / "locale". Linkage is CONFIG-based — no FK, no dependency on the projects package; the admin pastes the entity uuid in the project's Modules panel (the unconfigured state lists the candidates to copy from).

Read-only: records list with status/date + link-outs to the entities admin (records are name-routed — /admin/entities/<name>/data/...). Off-router-mountable: no handle_params/3 (the hub's hard requirement).