Search owned domains and assets from the command palette
Imported from GitHub pull request El-SaMa/oma#128 by @El-SaMa.
Summary
- Customers can type a domain, site, invoice number, or ticket reference in Cmd/Ctrl+K and jump straight to it.
- Adds a read-only
oma.searchplatform tool (REST and MCP) that queries the current org with SQL ILIKE. - Navigation jump-to still works; owned-asset hits appear first, grouped by type.
Test plan
- Open the client portal, press Cmd/Ctrl+K, type part of an owned domain name, and open the domain toolkit.
- Search a website/service primary domain and land on
/services/{id}. - Search an invoice number and a ticket subject/reference.
- Confirm a nav-only query (for example Settings) still works, and an empty match shows the no-results copy.
-
pnpm --filter @oma/core-api test src/org-search.test.tsandpnpm --filter @oma/web i18n:check.