MishkaBlogWeb.Live.Admin.Dashboard.Tag.Index (Mishka Blog v0.0.1)

Copy Markdown View Source

The tags grid: a Gervaz table drawn as MishkaBlogWeb.Templates.TagCard, its create/edit form, and the version history of one tag.

The page itself is thin — it decodes the URL state, forwards PubSub broadcasts into the table component, opens the form modal for a language chip, and closes it over the gervaz:exec-js bridge. The only feature it owns is the version history, which is read a page at a time off the render and shown in a modal beside the form's, the same way MishkaBlogWeb.Live.Admin.Dashboard.Post.Index shows a tag's — the modal and its list are MishkaCmsCoreWeb.Templates.VersionHistory, shared across the admin.

See MishkaBlog.Tag for the table, filter and row-action definitions.

Summary

Functions

Callback implementation for Phoenix.LiveView.render/1.

Functions

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.