GoodJob.Web.LiveDashboardPage (good_job v1.0.0)

Copy Markdown View Source

Phoenix LiveDashboard page for GoodJob.

This module provides a comprehensive dashboard with the following features:

  • Real-time job queue statistics via PubSub (with polling fallback)
  • Job filtering and search
  • Job detail view with execution history
  • Job actions (retry, delete, discard)
  • Bulk actions
  • Pagination
  • Configurable fallback polling (PubSub handles real-time updates)

Summary

Functions

Returns the LiveView module for this page. This is required by Phoenix LiveDashboard for additional pages.

Returns the CDN URL for the ECharts JavaScript file.

Initializes the LiveDashboard page configuration.

Returns the menu link text for the LiveDashboard navigation.

Functions

__page_live__(opts)

Returns the LiveView module for this page. This is required by Phoenix LiveDashboard for additional pages.

echarts_js_path()

Returns the CDN URL for the ECharts JavaScript file.

init(opts)

Initializes the LiveDashboard page configuration.