# `MishkaBlogWeb.Live.Admin.Dashboard.Post.Index`
[🔗](https://github.com/mishka-group/mishka_blog/blob/v0.0.1/lib/mishka_blog_web/live/admin/dashboard/post/index.ex#L5)

The blog posts list: a Gervaz table drawn as `MishkaBlogWeb.Templates.PostCard`, its create/edit
form, and the version history of one post.

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.Collection.Index` shows a collection's.

Restoring goes through the generic `:restore_version_api` / `:master_restore_version_api` actions
rather than the `update` twins of the same name: `Ash.ActionInput.for_action/3` only accepts an
action of type `:action`, and handed an update it raises rather than returning `{:error, _}`.

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

# `render`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
