Skip to content

Projects 0.28.0: Nesting a project only offers ones you can see

Projects 0.28.0 closes a gap in sub-projects: nesting an existing project under another now only lists, and only accepts, projects the person can see. Dialogs, selects and form buttons also move onto PhoenixKit’s shared components.

The sub-project picker respects access

When adding a sub-project with Nest existing, the picker listed every project on the site, so a member could read the titles of projects they had no access to. Saving also accepted any project id sent from the browser. Now a site admin with access to all projects still sees everything, anyone else sees only projects they are a member of or reach through a group grant, and the choice is checked again on save. An archived project can no longer be nested. Templates are a shared library and are not narrowed.

Shared components

Dialogs, selects, form button rows, section cards, the filter popover, the portal’s status tabs and the comments drawer now use PhoenixKit’s own components, so they look and behave like the rest of the admin. The create buttons sit in the list toolbar, and Save buttons are disabled while a save is running. Closing a dialog always works, even if the feature behind it was switched off in the meantime. Link subtitles, member roles and label colours are now translated.

Upgrading

Projects 0.28 needs PhoenixKit 2.43.0 or later (below 3.0). On an older core the list and form pages lose their create buttons and the disabled Save states, so update core first. No migration.

Full release notes: Projects 0.28.0

0.28.0 · 1 October 2026

PR #47 plus its post-merge review (dev_docs/pull_requests/2026/47-subproject-link-scope-and-core-ui/CLAUDE_REVIEW.md).

Changed

  • Requires phoenix_kit >= 2.43.0 (pin >= 2.43.0 and < 3.0.0). The list and form pages use form_actions’ submit_disabled, bulk_actions_toolbar’s :primary slot and form_section’s :actions slot, which first shipped in 2.43.0; on an older core they only warn at compile time and the page silently loses the “New …” buttons and the disabled-while-busy Save states.
  • Dialogs, selects, form-action rows, section cards, the filter popover, the portal’s status tabs and the comments drawer move onto core’s modal, select, input, form_actions, form_section, popover_panel, nav_tabs and load_more. Create buttons sit in the list toolbar.
  • Closing a dialog is never a feature-gated event, so a dialog cannot be trapped open when its feature is switched off elsewhere.
  • Resource-link subtitles, member roles and label colours are translated.

Fixed

  • “Nest an existing project” only offers, and accepts, projects the viewer can see. The picker listed every project on the site and the save took any uuid the client sent. The set is re-resolved at save time; link_subproject/2 also refuses an archived project (:archived). Templates stay a shared library.
  • The calendar’s “overdue only” test no longer fails in the first days of a month; five mis-indented phx-disable-with attributes re-aligned.

Added

  • core_ui_api_conformance_test.exs pins the core component attrs and slots the LiveViews rely on, so an older core fails with a message naming the missing piece.

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