feat(embeddings): add operator UI - #323
Open
kkopanidis wants to merge 24 commits into
Open
kkopanidis wants to merge 24 commits into
kkopanidis wants to merge 24 commits into
Conversation
Normalize config, backfill, and capability responses so operator UI can consume a stable contract without leaking modelName or redacted secrets.
Add navigation, maps, and a fail-soft overview with a reusable capability, provider, index, config, and worker checklist.
Operators need list/create/detail flows that show matching index readiness, gate enablement, and confirm edits that can replace an index.
Save provider settings without submitting a redacted API key. Enable workers separately from the deployed embeddings workload.
Give operators filterable run history and per-run actions without implying collection-wide completion.
Run Admin semantic search against a ready config with the shared readiness checklist.
Give embeddings helpers and focused components a real runner with path-filtered CI, without changing operator behavior.
…, and list actions Keep embeddings chrome stable and make configs, search errors, and backfill controls usable without changing unrelated modules or theme behavior.
Deduplicate settled-result handling and move overview helpers out of the dashboard page. Type settings and config forms at the edges.
Match index selection, worker config, and search gates to the live Admin API.
Strip plaintext API keys before RSC serialization, send an explicit upsert body without client allowlists, and sanitize semantic-search documents for table and JSON views.
Reuse schema/config fetches per request, send summaries to the client, and reject upserts when schema eligibility cannot be verified.
Use the Database enabled filter and local DeclaredSchema checks so create/edit, upsert, search, backfill, and index resolution fail closed.
…ults Drop leftover LLM phrasing and duplicated start-backfill initial state after review fixes.
Exclude the ui-rewrite node:test file from Vitest, matching the other Node test files.
Align provider settings with HTTPS endpoint, replacement-only API key, and a named model catalogue. Drop gRPC-key and allowed-hosts fields; GRPC_KEY remains deployment-owned.
Select provider and model from the live catalogue, derive dimensions, and only offer schemas that are enabled and extendable.
Reject explicit dimension mismatches and extension collisions, omit optional dimensions, and keep mock GET/PATCH catalogue-shaped with redacted keys.
Keep switches and Save in sync when the backend forces enabled false or catalogue fields after a material edit.
Fetch GET /database/schemas/system and deny core/router-owned internals. Keep enabled+extendable User/Team/business schemas; fail closed if the system list is unavailable.
Reuse the shared namedSchema helper, drop unused combobox keywords, and align empty-provider and form-reset wiring with existing settings patterns.
Keep the keyboard settings save assertion on exact toast text, and run embeddings-ui when shared nav, module-map, breadcrumb, or dashboard files change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ui-rewrite: overview, configs, backfills, test search, and Settings.GRPC_KEYstays deployment-owned.GET /database/schemas/systemfiltering. Provider keys and search documents stay off the client.Test plan
pnpm test— Vitest 125 passedpnpm test:e2e— Playwright 40 passedpnpm lintpnpm exec tsc --noEmitCI=false pnpm buildDepends on ConduitPlatform/Conduit#1592