Skip to content

feat: unified search and shared settings across extension, web app and desktop app - #15

Merged
SpreadSheets600 merged 17 commits into
mainfrom
feat/unified-search-parity
Nov 26, 2026
Merged

SpreadSheets600 merged 17 commits into
mainfrom
feat/unified-search-parity

Conversation

@SpreadSheets600

Copy link
Copy Markdown
Owner

What changed

  • One search everywhere. The extension overlay, web app and Flutter app all use /memory/search, which searches pages, files, notes and uploads together. mode=fast answers with keyword matches in a few milliseconds; clients show those first and swap in the hybrid (keyword + meaning) result. Results carry folder, size, date, domain, highlight terms and an open_url.
  • Local files from the browser. GET /files/{id}/raw serves indexed files (text as text/plain, PDF inline, everything else as a download, always sandboxed) and POST /files/{id}/open opens a file or its folder in the desktop. The web app gets a Files & folders page to add, pause, rescan and remove folders.
  • Parity. The paired extension can use every endpoint except pairing, and its graph includes files. Capture settings (auto tracking, extraction, delay, excluded sites) live in the backend (/settings/capture); the extension, web app and desktop app all edit and read the same values. The dead "private search logging" toggle is gone.
  • Recall import removed (router, service, table model, packer script, UI and docs).

Testing

  • Backend: 133 passed, 1 skipped; ruff clean
  • Extension: tsc clean, 25 vitest tests, production build
  • Flutter: analyze clean, 17 tests
  • Ran the server against a scratch data directory: fast search answers in about 7 ms; files, capture settings and extension access checked with curl

Add instant keyword mode, kind filters and richer results to /memory/search,
serve and open indexed files from the browser, store capture settings for all
clients, let the paired extension use the same API as the app and warm the
embedding model at startup.
The dashboard and overlay search pages, files and notes together, showing
keyword results first and refining by meaning. Add a folders page, sync capture
settings through the backend and hand library searches to the search page.
Show keyword results first then refine by meaning, filter by kind, reveal files
through the backend and edit the browser capture settings used by the extension.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T07:58:27.612820Z 1b4a09b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SpreadSheets600
SpreadSheets600 merged commit 7bd6349 into main Nov 26, 2026
3 of 4 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1b4a09b42d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

}
);
}
const toItem = (hit: any): MemoryItem => ({ ...hit, url: hit.open_url || "" });

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Give note results a non-URL open path

When a result is a note, the backend emits an empty open_url, so this mapping leaves its url empty. Selecting it then sends open-url and closes the overlay, but the background rejects empty URLs; users cannot open or read note results from the extension overlay. Route note selection to a detail view or display the note content instead.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant