PhoenixKitWeb.Live.Modules.Posts.Posts (phoenix_kit v1.7.62)

Copy Markdown View Source

LiveView for displaying and managing posts in PhoenixKit admin panel.

Provides comprehensive post management interface with filtering, searching, and quick actions for social posts system.

Features

  • Real-time Post List: Live updates of posts
  • Advanced Filtering: By type, status, group, tag, date range
  • Search Functionality: Search across titles and content
  • Pagination: Handle large volumes of posts
  • Bulk Actions: Publish, delete multiple posts
  • Quick Actions: Edit, delete, change status
  • Statistics Summary: Key metrics (total, drafts, scheduled, public)

Route

This LiveView is mounted at {prefix}/admin/posts and requires appropriate admin permissions.

Note: {prefix} is your configured PhoenixKit URL prefix (default: /phoenix_kit).

Usage

# In your Phoenix router
live "/admin/posts", PhoenixKitWeb.Live.Modules.Posts.Posts, :index

Permissions

Access is restricted to users with admin or owner roles in PhoenixKit.

Summary

Functions

Callback implementation for Phoenix.LiveView.render/1.

Functions

render(assigns)

Callback implementation for Phoenix.LiveView.render/1.