#445 Search is a bar across the timeline; Search or Enter opens its results
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#445
- pull request
- state:merged
The timeline toolbar's **Search** button is replaced by a search bar the full width of the timeline card, directly beneath its toolbar. - Type words and press **Search** or Enter: the results open in the **Search this timeline** dialog, as before. The dialog keeps its own field, so the words can be refined there. - Searching for nothing just keeps the focus in the bar; nothing opens. - When the dialog closes, the bar keeps the words last searched. - **/** outside a text field now goes to the bar instead of opening the dialog. - A shared search link fills both the bar and the dialog. - The bar is hidden wherever the button was: in a comparison, or with no timeline open. - On a phone, Search leaves the **Tools** menu, since the bar is always shown. - The tour's Search step points at the bar. Docs: `docs/guide.md` and `docs/search.md`. ## Testing - `test/search-browser.mjs` checks that: - **/** focuses the bar and opens nothing; - the bar spans the card; - an empty search opens nothing; - Enter opens the results with the bar's words; - the bar keeps the words refined in the dialog. - The desktop cache, help tour and phone toolbar tests are updated for the bar. - Browser tests: all 30 pass in Chromium. Unit tests: 435 of 435. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/pull/445
Related
Open #445 Search is a bar across the timeline; Search or Enter opens its results in the timeline