GlobalSearch (attik-frontend/src/components/navbar/GlobalSearch.tsx) wires results as Autocomplete / AutocompleteItem with onSelectionChange: any selection calls handleNavigation (which uses window.open(..., '_blank')) and then setInputValue(''), which clears the search after one result.<a href> elements, so the browser does not provide standard “Open link in new tab” / ⌘+click semantics on the row itself, and there is no handling of metaKey / ctrlKey or contextmenu in that file today.window.open, but the query is still cleared, so the core gap is gesture + context parity and optional “don’t clear on background open” behavior.attik-frontend/src/components/navbar/GlobalSearch.tsx — primary surface: result rendering, selection handler, and how handleNavigation interacts with setInputValue and onItemSelect.Autocomplete behavior — whatever approach is chosen must play nicely with listbox selection, focus, and accessibility (keyboard vs pointer); decision needed on whether to expose real <Link href> rows (or a hybrid), synthetic context menu actions, or onMouseDown/onClick with modifier detection without breaking screen readers./inspections/:id), quotes (/work/quotes?quoteId=), contacts (/contacts/:id) should behave the same unless product intentionally differs.attik-frontend/src/components/forms/AddressSearchInputFallbackForm.tsx — those suggestions are not URLs, so “open in new tab” may not apply the same way; treat as out of scope unless explicitly added.handleNavigation today?Related UX / calendar search context: ATT-1655 (linked as related in Linear).
Entry point: attik-frontend/src/components/navbar/GlobalSearch.tsx (handleNavigation, onSelectionChange, AutocompleteItem sections for inspections, quotes, contacts).
Please authenticate to join the conversation.
Planned
Main App
17 days ago
Linear
Get notified by email when there are changes.
Planned
Main App
17 days ago
Linear
Get notified by email when there are changes.