Dashboards 0.7.0: Header trails on every dashboards page
Dashboards 0.7.0 adds a header trail to every page of the dashboards module, so an admin always sees where they are, and moves the module onto PhoenixKit core’s shared code for the acting user and the activity log.
A trail on every page
Each dashboards page now sets the trail in the admin header. The builder shows Dashboards and the dashboard’s title, a new dashboard shows Dashboards / New dashboard, and the settings form of an existing one shows Dashboards, its title, then Edit. That form used to be titled Dashboard settings. The Places screen shows Dashboards / Places, and a single place adds its name.
Core’s acting user and activity log
The module now takes the acting user and the activity log straight from PhoenixKit core, instead of checking at runtime whether core offered them. Logged dashboard changes look the same as before. One small difference: when a page has both a signed-in scope and a current-user value, the scope’s user now counts as the actor, which is the order core uses everywhere.
The documentation for module authors who write widgets was brought up to date: widget sizes are counted in 25px cells, a default layout is 64 by 36 cells, and a widget receives the page’s record context. Dependencies were refreshed to PhoenixKit 2.64.1.
Upgrading
Dashboards 0.7 needs PhoenixKit 2.38 or later, below 3.0, and no longer builds against an older core. No migration and no configuration change. Update the dependency; nothing else changes on a live site apart from the header trails.
Full release notes: Dashboards 0.7.0
0.7.0 · 24 October 2026
Changed
- Requires
phoenix_kit >= 2.38.0 and < 3.0.0(was~> 2.15). The acting user and the activity log now come from core’sPhoenixKitWeb.ActorandPhoenixKit.Activity.log/3(#12). They are no longer feature-detected, so the package does not compile against an older core.Web.Helpers.actor_uuid/1,scope_actor_uuid/1andactor_opts/1keep their signatures and delegate toPhoenixKitWeb.Actor. One behaviour change: the current scope’s user now wins over the:phoenix_kit_current_userassign, which is core’s canonical order. - Every dashboards page sets the admin header trail (#12):
Dashboards / <dashboard>on the builder,Dashboards / New dashboard,Dashboards / <dashboard> / Editon the settings form (previously titled “Dashboard settings”),Dashboards / PlacesandDashboards / Places / <slot>. - Widget contract docs (
PhoenixKitDashboards.Widget,NoteWidget) brought up to date (#13):default_size/min_sizeare in lattice cells (25px nominal, a default layout is 64×36), thecontextassign a widget receives (%{kind => id},%{}on a context-free dashboard) is documented, and the settings-field type now admits the optionalcontext: "<kind>"key. - Dependency refresh:
phoenix_kit2.64.1 and its transitive set.
Dashboards 0.7.0. Install or update: {:phoenix_kit_dashboards, "~> 0.7"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.