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

Copy Markdown View Source

The comments list: a Gervaz table drawn as MishkaBlogWeb.Templates.CommentCard, with a create / edit / reply form.

The page decodes the URL state, forwards PubSub broadcasts into the table component, and drives the form modal over the gervaz:exec-js bridge. Replying is its own path: a row's Reply seeds the form with the parent comment's parent_comment_id, post_id and site_id and opens the modal, so the new comment is saved as a threaded answer — the same shape a document issue's reply takes.

See MishkaBlog.Comment 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.