Skip to content

Projects 0.19.0: Reworked lists with optional columns and faster search

Projects 0.19.0 reworks the module’s three list pages, Projects, Tasks and Templates, on one shared design: optional columns, a search that filters instantly on smaller lists, and titles that link everywhere. It also fixes drag-and-drop reordering on long lists.

Lists with optional columns

Each list has a Columns menu, and your choice is remembered. New columns show Created by on all three lists, and Uses and Last used for templates and library tasks, so you can see which ones are actually in use. Lists now sort by most recent by default. The header row above the list is gone: create actions sit in the admin breadcrumb and in an add row at the foot of the list.

Search that keeps up

With up to 100 rows, the whole list loads and the search filters it in the browser, without a round trip. Past 100 rows, the search runs on the server over the main and translated names, with a load-more button.

Titles, breadcrumb and the Tasks groups view

A project page’s name now sits in the site breadcrumb instead of a separate back link and heading; an embedded page keeps the full header. Every title in the module, in lists, task rows and sub-project names, is a link. The Tasks page’s groups view becomes a responsive grid of cards, with an icon switch between list and groups in the toolbar.

Fixes

  • With manual sorting and more than 100 rows, dragging a row on the first loaded page renumbered only the visible rows and scrambled the order of the rest. Dragging now waits until the full list is loaded.
  • A failed sub-project link, save or status generation, and a failed inline task creation, are now written to the log.

Upgrading

No migration. The module still needs PhoenixKit 1.7.189 or later. Two small pieces, the search spinner and the list and groups switch on Tasks, depend on core changes that had not reached Hex when this release shipped, and do nothing until that core version is installed.

Full release notes: Projects 0.19.0

0.19.0 · 20 July 2026

Admin UI overhaul: shared list architecture, breadcrumb chrome, hybrid search. Every list page (Projects / Tasks / Templates) now runs on one shared architecture (Web.ListUi): no in-content header row (create actions live in the admin breadcrumb + a list-foot add-row), optional-column dropdowns with batched lookups (Created by / Uses / Last used), recency-default sort, and a hybrid client/server search — the full set loads and filters client-side up to 100 rows, SQL ilike + pagination past that. The show page moved its identity into the site breadcrumb (“Admin Panel / Templates / ‹name›”), every title in the module is now a link, and the Tasks Groups view gained a responsive card grid with an icon-only List/Groups switcher in the toolbar. Rides several core additions not yet released to Hex (BeamLabEU/phoenix_kit#650) — the search-loading spinner and the Groups/List toggle silently no-op until that core version ships; see the review doc for detail. Closed out with a quality sweep (activity-logging error branches, dead-code removal, doc sync) and this release’s own review (dev_docs/pull_requests/2026/31-admin-ui-overhaul-list-architecture/CLAUDE_REVIEW.md), which found and fixed three more issues on top.

Added

  • Shared list architecture (PhoenixKitProjects.Web.ListUi). Column visibility persistence, search-param coercion, and the Columns dropdown component, used by ProjectsLive, TasksLive, TemplatesLive in place of three bespoke implementations.
  • Hybrid search. ≤100 rows: the full set loads and the core TableLocalSearch hook filters client-side with no round trip. >100 rows: escaped SQL ilike over primary + translated values, with load-more pagination and the core search spinner.
  • New list columns: Created by (activity-log resolution, batched per page), template Uses/Last used (via a durable settings["created_from_template_uuid"] back-link stamped atomically on clone), task Uses/Last used (via assignment references).
  • Show page breadcrumb identity. The standalone admin show page drops its back-link + h1 row — the breadcrumb section now carries both; embeds keep the full header.
  • Clickable titles everywhere — list titles, assignment rows, sub-project names — with emit-mode wiring for embedded hosts.
  • Tasks Groups view: a responsive card grid plus a columnar Standalone list; the List/Groups switcher is an icon-only join in the toolbar’s trailing slot.

Fixed

  • DnD reorder gating didn’t account for load-more pagination truncation (ProjectsLive/TasksLive/TemplatesLive). With manual sort, no search/filter, and >100 total rows, dragging within the first loaded page silently renumbered only the visible rows to 1..N, corrupting the untouched rows’ relative order. DnD now also waits for the full set to be loaded.
  • DashboardWidgets.project_options/0 rescued every exception, not just DB errors — a genuine programming error would have degraded silently instead of surfacing. Narrowed to the module’s declared DB-error set.
  • A test assertion always passed regardless of the rendered HTML (refute html =~ "..." and false, an operator-precedence bug) — would have silently missed a regression in the “Last used” column. Fixed to check the real condition.
  • Six mutation handlers (detach_subproject, link_subproject, sub-project create/edit saves, generate_default_statuses, inline create_task) now log on their error branches, not just on success. ProjectsSettingsLive gained the module-standard debug-logged handle_info catch-all it was missing.

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