Skip to content

Projects 0.24.0: Two places to show a dashboard inside Projects

Projects 0.24.0 tells the Dashboards module where a board can appear inside Projects: as a tab beside the project list, and as a Dashboard tab on every project page, where one shared board shows each project’s own data.

Two dashboard slots

Projects now declares two places where a dashboard can be shown. Projects does not depend on the Dashboards module; the slots only show up on a site that has it.

  • Projects dashboard: a dashboard beside the project list, in the Projects sidebar.
  • Project page: the Dashboard tab on every project. It carries the project the page is about, so one board serves every project, and a single project can use a different board from its Modules panel.

“My project” on the module dashboard

The dashboard beside the project list belongs to no project. A widget set to show the viewer’s own project still works there when the viewer can reach exactly one project. With more than one, the module does not guess, and the widget gets no project.

The project picker in the Projects widgets now says which context it accepts, so the Dashboards module can offer “the project this page is about” or “my project” as the source for it.

Fixes

  • Seven texts shown to users were missing from every translation: the permission matrix label, description and sub-permission, and four project tab labels. They are now translated in all seven of the module’s languages.
  • A clean checkout of the module stopped before compiling because a dependency was missing from the lock file. This did not affect apps installing from Hex.

Upgrading

No migration and no configuration. Update the dependency. Install the Dashboards module if you want the new slots.

Full release notes: Projects 0.24.0

0.24.0 · 11 September 2026

PR #43 — declares the two places a dashboard can appear inside Projects.

Added

  • Dashboard slots. PhoenixKitProjects.phoenix_kit_dashboard_slots/0 — a duck-typed contract (mirrors phoenix_kit_widgets/0; no dependency on phoenix_kit_dashboards) declaring two places a dashboard may be shown: a sidebar sub-tab beside the project list (“Projects dashboard”, context-free — a widget bound to the viewer’s own project still resolves there) and the Dashboard tab inside every project page (“Project page”, supplying the projects.project context so one shared board serves every project, overridable per project from its Modules panel).
  • phoenix_kit_dashboard_viewer_context/2 — resolves “my project” for a viewer on the module-wide slot: answers only when exactly one project is reachable, nil otherwise, rather than guessing “most recently visited”.
  • The widgets’ shared project-picker field now declares context: "projects.project", letting the dashboards host offer “the project this page is about” / “my project” as bind sources for it.

Fixed

  • mix.exs declared phoenix_kit_templates as a dependency with no matching entry in mix.lock, so a clean checkout stopped at “the dependency is not locked” before compiling anything — invisible to every gate in the release playbook, which runs after deps.get.
  • 7 user-visible strings (permission-matrix label/description/sub-permission, 4 per-project subtab labels) reached no gettext catalogue at all across all 7 locales.

Projects 0.24.0. Install or update: {:phoenix_kit_projects, "~> 0.24"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.