feat(topbar): GlobalSearch component wired to /api/v1/search (MAPPS-298) #319
No reviewers
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
psa-systems/mokosh-apps!319
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/MAPPS-298-global-search-client"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A new
GlobalSearchcomponent lands in the TopBar between the page title and the action chips on lg+ viewports (hidden below, where the title takes the row). Each keystroke (two-char minimum to keep the dropdown out of single-letter noise) fetchesGET /search?q=...and renders a grouped dropdown of the top matches across tickets / contacts / companies / assets / projects. Selecting a row clears the input, closes the dropdown, and navigates to the entity's detail page via the router.Result rendering:
5/47count hint when the per-section cap (5 server-side) clipped the result set, so the user knows there are more matches to refine for.label(ticket number + title, company name, etc.); the small grey secondary line is the server'ssecondaryfield (company name on a ticket / contact / asset row, industry on a company row).Server-side companion PR on mokosh-server (
feat/MAPPS-298-global-search-endpoint) provides the/api/v1/searchendpoint this component consumes. Both must merge for the feature to land.#MAPPS-298