mirror of
https://github.com/zitadel/zitadel.git
synced 2026-11-03 12:47:09 -06:00
**Description:**
Replaces Fumadocs' default client-side Orama search with our server-side
Postgres vector search backend.
**Key Changes:**
- API Proxy (app/api/search/route.ts): Added a secure proxy to the
search backend with IP rate-limiting and Edge caching.
- Custom Search UI (custom-search-dialog.tsx): Built a headless Fumadocs
search dialog featuring 300ms debouncing, request cancellation
(AbortController), and URL deduplication.
- Smart Highlighting: Added the <HighlightMatch> component to render
exact matches with Tailwind styling inside the search results.
- Providers: Hooked the new custom dialog into the RootProvider.
(cherry picked from commit ab3b44cd74)