miroir/crates/miroir-proxy
jedarden 34f9365634 feat(search-ui): add embeddable modes and custom templates (P5.21.e)
- Implement iframe mode (?embed=true) that strips chrome and sends postMessage events for height auto-resize and result-clicked
- Implement headless mode (?headless=true) that returns only results container without search input or facets
- Add web component widget (/ui/widget.js) that registers <miroir-search> custom element with index and accent attributes
- Add custom template support (result_template: custom) with Handlebars-style interpolation ({{field}}, {{#if}}...{{/if}})
- Templates stored in search_ui_config table via task_store, with validation and error handling
- UI falls back to default card template on custom template errors
- Add GET /_miroir/ui/search/{index}/config endpoint to retrieve stored configuration

Closes: miroir-uhj.21.5
2026-05-24 14:37:00 -04:00
..
admin-ui/dist feat(admin-ui): implement Canaries, Shadow Diff, CDC Inspector, Metrics, Settings sections (P5.19.d) 2026-05-24 13:27:52 -04:00
src feat(search-ui): add embeddable modes and custom templates (P5.21.e) 2026-05-24 14:37:00 -04:00
static feat(search-ui): add embeddable modes and custom templates (P5.21.e) 2026-05-24 14:37:00 -04:00
tests feat(hedging): implement tail-latency hedging for reads (§13.2, miroir-uhj.2) 2026-05-24 07:30:16 -04:00
Cargo.toml feat(admin-ui): implement Overview and Topology sections (plan §13.19) 2026-05-24 09:53:32 -04:00