Commit Graph

4 Commits

Author SHA1 Message Date
Maximilian Roos ace16de0e8 Remove wildcard prefix matching from search
Remove the manual wildcard suffix addition and rely on the expand
option for prefix matching instead.
2026-01-08 12:22:44 -08:00
Maximilian Roos 7dea514ec4 feat(search): enable wildcard prefix matching for search terms
Add wildcard suffix to search terms and enable expand option in elasticlunr
to support prefix matching. This allows partial term matches (e.g., "switc"
will match "switch").
2026-01-08 12:08:11 -08:00
Maximilian Roos 68db3fcc8e Improve search input stability during view transitions
Refactor search container to use :focus-within for expanded state and
view-transition-name to freeze the search box during page navigation.
This prevents layout shifts caused by input shrinking when focus is lost
during the view transition. Update search.js to only clear suggestions
on modifier-click (new tab/window) to avoid jarring shrink during normal
navigation.
2025-12-11 11:35:57 -08:00
Maximilian Roos b2c3d70f51 Docs: Add client-side search functionality
Adds an in-docs search bar, using elasticlunr with Zola's built-in search index. Search results are displayed as an in-page dropdown.
2025-12-02 12:45:16 -08:00