feat(search): unified-search UI — Memories | All toggle + doc navigation#185
Merged
Conversation
🔍 Cora AI Code Review❌ Blocked — critical issues found. 🔴 Error (2)
Review powered by cora-cli · BYOK · MIT |
Wires the unified-recall backend (#184) into the MemoryList UI: - Add a "Memories | All" scope toggle next to the search bar. "All" runs `utekeServer.recallUnified` (search_type=all) and renders a mixed list of memory + document hits, each badged (💾 Memory / 📄 Doc). "Memories" keeps the existing memory-only recall path. - Memory hits → `onmemoryclick(id)` (opens detail, unchanged). - Document hits → new `ondocumentclick(slug)` prop → App.openDocument → stashes the slug in a `pendingDocSlug` store + navigates to Documents. - DocumentsView consumes `pendingDocSlug` on mount via a `$effect` and opens the doc by slug (`navigateToSlug`), then clears it. New: src/lib/stores/nav.ts (pendingDocSlug store). Verified: svelte-check (0 err), vitest (61), npm build. (Recall/TS layer from #184 already empirically validated against uteke 0.9.0.)
ajianaz
force-pushed
the
feat/unified-search-ui
branch
from
July 21, 2026 04:10
3d89a50 to
baad4b8
Compare
| if (searchMode === 'all') { | ||
| try { | ||
| unifiedResults = await utekeServer.recallUnified(searchQuery, { | ||
| searchType: 'all', |
| tabindex="0" | ||
| onclick={() => r.memory_id && onmemoryclick(r.memory_id)} | ||
| onkeydown={(e) => e.key === 'Enter' && r.memory_id && onmemoryclick(r.memory_id)} | ||
| > |
Merged
ajianaz
added a commit
that referenced
this pull request
Jul 21, 2026
* chore(release): v0.3.3 Patch release — auto-update now works, unified search, HTTP-only version gate, server version in Settings, bun tooling. - bump version 0.3.2 → 0.3.3 (package.json, Cargo.toml, Cargo.lock, tauri.conf.json) - CHANGELOG entry Contents (since v0.3.2): - Added: unified search across memories + documents — "Memories | All" toggle (#184, #185) - Fixed: auto-update — generates latest.json manifest (workaround tauri-action#1098 that left every release since v0.2.0 without it) (#187) - Changed: version detection fully HTTP-only (#183); uteke server version in Settings → Connections (#186); tooling switched to bun (#186, #187) Verified: cargo fmt/clippy(-D warnings)/test (18), svelte-check (0 err), vitest (61), npm build. * feat(settings): make codecora.dev clickable (opens in browser) The "codecora.dev" line under CorIn vX.Y.Z in the Settings sidebar is now a link — clicking opens https://codecora.dev in the system browser via @tauri-apps/plugin-shell (preventDefault + shellOpen), matching how DocumentsView handles external links. Accessible (real href) + hover style.
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wires the unified-recall backend (#184) into the UI.
MemoryList:
utekeServer.recallUnified(search_type=all) → mixed list of memory + document hits, each badged (💾 Memory / 📄 Doc) with score + tags/snippet.onmemoryclick(detail panel, unchanged). Document hit → newondocumentclick(slug).Cross-view doc open:
MemoryList ondocumentclick→App.openDocument(slug)→ stashes slug in apendingDocSlugstore +navigate("documents").DocumentsView$effectconsumespendingDocSlugon mount →navigateToSlug(slug)→ opens the doc → clears the store.New:
src/lib/stores/nav.ts(thependingDocSlugstore).Verified: svelte-check (0 errors), vitest (61), npm build. The recall/TS layer was already empirically validated against uteke 0.9.0 in #184 (
/recall search_type=allreturns mixed memory+doc list).Note: runtime click-through (search → doc opens in Documents) is structurally wired + type-checked; a manual smoke test in the running app confirms the UX. Pairs with #183 (HTTP-only gate) + #184 (unified search backend).