Compose dashboard pages from widgets contributed by any PhoenixKit module or by the host app. A grid dashboard has named layouts sized to one screen (for example Desktop or Wall TV); a second type is a free pixel canvas. Dashboards are stored per user, per role or system-wide in the phoenix_kit_dashboards table.
Use it when
- You want a wall-screen or landing dashboard combining data from several modules
- Your own module or app wants to offer widgets without depending on the dashboards package
What it gives you
- Manage page at /admin/dashboards and a grid builder per dashboard
- Grid layouts on a 25px cell lattice and a pixel canvas mode
- Personal, shared and per-role dashboards with per-user cloning
- Built-in Note, Clock and Module stats widgets
- Widget contract phoenix_kit_widgets/0, also for host-app providers
- Works without JavaScript; drag and resize as progressive enhancement
Example
config :phoenix_kit_dashboards, widget_providers: [MyAppWeb.Widgets]
Dashboards news
-
Dashboards 0.8.0: A separate permission for shared dashboards and PhoenixKit 3
PhoenixKit Dashboards 0.8.0 adds a permission for changing shared dashboards and places, works with PhoenixKit 3 and lets doctor and repair check its table.
-
Dashboards 0.7.0: Header trails on every dashboards page
PhoenixKit Dashboards 0.7.0 shows a header trail on every dashboards page and now needs PhoenixKit 2.38 or later for the acting user and activity log.
-
Dashboards 0.6.0: The module takes over its own database migrations
PhoenixKit Dashboards 0.6.0 starts its own migration chain. The first step only records a version marker; the table and saved dashboards stay as they are.
-
Dashboards 0.5.0: Places to show dashboards across the admin
PhoenixKit Dashboards 0.5.0 adds a Places screen to show shared dashboards on the admin home page and in other modules, per role, with personal copies.
-
Dashboards 0.4.0: The builder in Estonian and Russian
PhoenixKit Dashboards 0.4.0 ships its own English, Estonian and Russian translations, so the builder, widget catalog and sidebar follow the admin's language.
Install
1
Add to mix.exs
{:phoenix_kit_dashboards, "~> 0.8"}
2 Fetch it and run its migrations
$ mix deps.get && mix phoenix_kit.update
3
Switch it on in /admin/modules
- Package
- phoenix_kit_dashboards
- Releases
-
- 0.8.0
- 0.7.0
- 0.6.0
- Admin
-
/admin/dashboards - Links
- HexDocs ↗ GitHub ↗ Changelog ↗
Related modules
What it needs, what builds on it, and its neighbours in Platform & tools.
Database Explorer
Browse Postgres tables and watch row changes live from the admin
No other modules needed
Hello World
A demo module to copy when building your own PhoenixKit module
No other modules needed
Legal
Generated legal pages, cookie consent banner and consent logging
Needs Publishing
Stats
Collect and chart time-series metrics from external sources over Graphite
No other modules needed
Sync
Pull data between PhoenixKit sites over token-based connections
No other modules needed
Templates Editor
Edit your app's email template files from the email settings page
Needs templates