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.
Nav Menu Search
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+Kfocuses the search input - Clear button - resets the filter
- Hidden in compact sidebar mode
Files Touched
| File | Change |
|---|---|
assets/controllers/nav-search_controller.js | Added - Stimulus controller |
assets/styles/nav-search.css | Added - search input styles |
Controller/Admin/ProjectsUntitledCrudController.php | Added - untitled project CRUD |
templates/admin/menu.html.twig | Added - EasyAdmin menu override with search |
Controller/Admin/DashboardController.php | Modified - menu item added |
Controller/Admin/ProjectCrudController.php | Modified - column reordering |
assets/styles/custom-ea.scss | Modified - imports nav-search CSS |
Changelog Reference
feat(admin): datagrid columns, Untitled projects list, and nav menu search(94916c3)