Skip to content

feat: configurable search and command palette - #6

Merged
WangEn merged 14 commits into
mainfrom
feat/search-command-palette
Sep 11, 2026
Merged

feat: configurable search and command palette#6
WangEn merged 14 commits into
mainfrom
feat/search-command-palette

Conversation

@WangEn

@WangEn WangEn commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

What changed

  • add Search Engine create/update/delete API backed by the existing D1 search_engines table
  • seed Google, Bing, DuckDuckGo and GitHub with !g, !b, !ddg and !gh
  • validate HTTP(S) search templates with a required %s placeholder
  • normalize and validate configurable bang keywords
  • add a Search Engine management UI with default-engine selection and ordering
  • upgrade Launcher into an executable keyboard Command Palette
  • support global Cmd/Ctrl+K focus, ArrowUp/ArrowDown selection, Enter execution, Shift+Enter new-tab behavior and Escape clear/blur
  • make Workspace and Session results execute Open All / Restore directly from the Launcher
  • add default web-search result for ordinary queries
  • add bang discovery when typing ! or a partial bang prefix
  • add exact bang routing such as !gh dockmark
  • update V1 roadmap status

Command priority

Open Tabs > Workspace > Session > Bookmark > Navigation > Search

In Web mode there are no privileged open-tab results yet; the ranking leaves that capability slot ready for the browser bridge.

Search semantics

  • ordinary query: local Dockmark matches first, plus the configured default search engine
  • !: list configured bang shortcuts
  • !gh dockmark: route only to the GitHub search engine
  • %s in the configured template is replaced with the URL-encoded query

Validation

CI runs Node 22 install, TypeScript checks and both Web + Extension builds.

@WangEn
WangEn merged commit d0e2310 into main Sep 11, 2026
1 check passed
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