Repository navigation
Conversation
Card on the Settings page for GET/PUT /cluster/settings/shared_indexing (qdrant/qdrant#11828). The switch applies immediately with wait=true and is restored if the server refuses the change. It is disabled with a hint when the indexing service is not configured on the peer, and the card is hidden when the endpoint is missing (Qdrant < 1.20.4) or not readable (403). Includes MSW mock handlers and component tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lockfile-only, all within existing semver ranges: - react-router 8.3.0 -> 8.5.3 (npm audit fix) - @tailwindcss/cli 4.1.11 -> 4.3.5 (via @uppy/components), which drops tar - plus in-range transitive bumps pulled in by npm audit fix npm audit --production now reports 0 vulnerabilities. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What
UI for the runtime shared indexing switch added in qdrant/qdrant#11828 (
GET/PUT /cluster/settings/shared_indexing, Qdrant ≥ 1.20.4).A Shared Indexing card on the Settings page, below Quotas:
PUT …?wait=truewith{"enabled": bool}), with no Save button, since there is only one flag. The switch moves right away and the state is re-read from the server. If the change is refused (e.g. 400 because not all peers are on ≥ 1.20.4, or 403 without manage access), the switch is restored and the server's error is shown.configured: false: the switch is disabled, and a notice says shared indexing is only available in Qdrant Cloud and has to be set up by Qdrant Cloud.Also adds MSW mock handlers (
configured: true, enabled: false) fornpm run dev:msw.Screenshots (mock data)
Testing
src/components/Settings/SharedIndexingCard.test.jsx: 7 tests covering loading the state, turning it on, a refused change, not configured, hiding on 404/403, and Retry.npx vitest run: all tests pass. eslint, prettier andnpm run buildare clean.npm run dev:msw: toggling sends the PUT and the status line updates.indexing_serviceconfigured.Open points
configuredis reported by the peer serving the request, so a cluster where only some peers have the indexing service set up can show different states depending on the peer.🤖 Generated with Claude Code
Written with Overlord from https://overlord.qdrant.tech/r/1531/t/10725