dbx/apps/desktop
hhzorg 95b7b8b9a3
fix(milvus): list all databases and their collections in sidebar
Milvus supports multiple databases, but the sidebar only ever showed
collections under the hardcoded "default" database. The backend returned
["default"] for every vector store and the frontend loaded collections
for a single database and flattened them under the connection node.

- Backend (vector_driver): add list_databases() that calls Milvus
  /v2/vectordb/databases/list (falling back to "default" for older Milvus
  and for non-Milvus vector stores), and thread a database parameter
  through find_documents() instead of hardcoding "default".
- document_ops: list_databases_core delegates VectorDb to list_databases();
  find_documents_core forwards the selected database.
- Frontend: add a "vector-database" tree node type. For Milvus, connections
  expand into database nodes, which expand into their own collections.
  Collection node ids are namespaced by database to avoid collisions
  across databases, and the collection id is stored in meta so activation
  no longer parses the node id.

Fixes #2693

Co-authored-by: 朱豪豪 <zhu.hh.sz@belle.com.cn>
2026-07-06 19:24:55 +08:00
..
public fix(ui): kafka agent icon contrast in dark theme 2026-07-03 21:14:31 +08:00
src fix(milvus): list all databases and their collections in sidebar 2026-07-06 19:24:55 +08:00
components.json refactor(desktop): organize lib modules by domain 2026-07-04 13:53:52 +08:00
index.html
tsconfig.json feat(driver): centralize database capabilities 2026-06-10 22:12:44 +08:00
vite.config.ts feat(web): support context path deployments 2026-06-29 09:14:37 +08:00