mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
Connect the dead search input in ChatHeader to the existing GET /api/v1/search endpoint via a new SearchOverlay component. - SearchOverlay: debounced input (300ms), 2-char minimum, AbortSignal cancellation, keyboard nav, ARIA roles - SearchOverlayController in OverlayManagers: error handling with toast + re-throw for overlay status display - ChatHeader: onSearchFocus callback opens overlay, blurs input - MainPage: wires controller with channel-scoped search and jump-to-message via scrollToMessage - CSS: result item styles for header/content/time - 16 unit tests covering debounce, results, keyboard nav, error states, min-length guard, backdrop close