Skip to content

feat: omnibox live server search + cross-platform build fix#142

Open
ehorizon7 wants to merge 1 commit intolinkwarden:mainfrom
ehorizon7:feat/omnibox-server-search
Open

feat: omnibox live server search + cross-platform build fix#142
ehorizon7 wants to merge 1 commit intolinkwarden:mainfrom
ehorizon7:feat/omnibox-server-search

Conversation

@ehorizon7
Copy link
Copy Markdown

Changes

Omnibox: live server search

The omnibox previously only searched a local cache, which is empty on fresh installs
and only grows as links are saved through the extension. This meant new users got no
suggestions until they'd built up a cache.

This adds a live call to /api/v1/search on each omnibox input (2+ characters),
merging server results with cached results (deduped by URL). If the server is
unreachable it silently falls back to the local cache, preserving existing behavior.

Cross-platform build script

Replaced the Unix-only cp command in the build script with a Node.js
fs.copyFileSync call so npm run build works correctly on Windows without
a manual copy step.

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