Volleyball Elite Academy development update
|
Volleyball Elite Academy
Fix Academy People search
|
Fix Academy People searchVolleyball Elite Academy — Development Update • May 6, 2026
Fix Academy People search
What & Why The SuperAdmin "Academy People" directory search returns "No people found" for every query, even for people who are clearly in the 328-person directory (e.g. "renee" returns nothing even though Renee Adam… is visible in the list). The cause is a client-side bug: the search query key is being serialized as a URL path segment, so the request goes to instead of . The server route only matches the form, so every search silently returns nothing. Fix the wiring and tighten a few related UX gaps so the admin lookup actually works the way it looks like it should.
Done looks like
- Typing two or more characters in the People search box returns matches by first name, last name, preferred name, email, or phone number.
- Searching for "renee" finds Renee Adam… (and any other Renee in the directory).
- Turning on "Show Archived" and searching also returns archived people that match, clearly marked as archived.
- Clearing the search restores the full directory list.
- The empty state ("No people found matching your search") only appears when the server actually returned zero matches, not when the request silently failed.
Out of scope
- Redesigning the People page layout or moving to a "search then pick fields" multi-select flow — the current type-ahead → click profile pattern stays.
- Bulk actions, archive/unarchive flows, or role assignment UX.
- The Command Center "Data Bank" search (separate endpoint, already paginated).
Steps 1. Fix the search request URL. Update the search query so the typed term is sent as the query parameter, not appended as a path segment. Confirm the request hits and returns results. 2. Let archived people be searched when the toggle is on. When "Show Archived" is enabled, the search should query an archived-aware endpoint (or pass a flag) and visually mark archived results in the list so admins can still find someone who was archived. 3. Include phone-number matches in the admin search. The storage layer already has a phone-number search helper; have the route combine name/email matches with phone matches (deduped) so typing a phone fragment finds the person too. 4. Surface request failures instead of silently showing "no results". If the search request errors out, show a small inline error in place of the empty state so a future regression is visible instead of looking like "no matches". 5. Add a browser test that loads the People page as a SuperAdmin, types a known person's first name, and asserts that person's row appears in the results (and that an unrelated query returns the empty state).
Relevant files - - - -
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment