First to Site
Release 3.4

Admin Datagrids, Untitled Projects & Nav Search

Datagrid improvements, filtered project lists, and sidebar search added in 3.4.0

Overview

v3.4.0 expanded the admin operational surface in three ways: reordered datagrid columns to lead with business-meaningful fields, a new filtered list for untitled projects, and a real-time sidebar menu search.

Datagrid Changes

The "Job No." (ftsClientNumber) field was promoted to the first column on the project index page, replacing the raw database id. The id field is still available but hidden from the index view via hideOnIndex(). This puts the business identifier front and centre for admin users.

Untitled Projects List

A new ProjectsUntitledCrudController filters the project index to show only projects where titleStatus.tag equals untitled - parcels or lots that have not yet been issued a certificate of title. This is common in subdivision workflows where land is proposed or under development. A corresponding "Untitled" menu item was added under the Projects submenu in the admin sidebar.

A client-side Stimulus controller (nav-search_controller.js) indexes all EasyAdmin sidebar menu items on connect and filters them in real-time as the user types. Features include:

  • Multi-term matching - space-separated terms match against both parent and child menu labels
  • Auto-expand - matching submenus expand automatically
  • Empty section hiding - section headers with no matches are hidden
  • Keyboard shortcut - Ctrl+K / Cmd+K focuses the search input
  • Clear button - resets the filter
  • Hidden in compact sidebar mode

Files Touched

FileChange
assets/controllers/nav-search_controller.jsAdded - Stimulus controller
assets/styles/nav-search.cssAdded - search input styles
Controller/Admin/ProjectsUntitledCrudController.phpAdded - untitled project CRUD
templates/admin/menu.html.twigAdded - EasyAdmin menu override with search
Controller/Admin/DashboardController.phpModified - menu item added
Controller/Admin/ProjectCrudController.phpModified - column reordering
assets/styles/custom-ea.scssModified - imports nav-search CSS

Changelog Reference

  • feat(admin): datagrid columns, Untitled projects list, and nav menu search (94916c3)