Migrate web examples to Render ReactiveSearch API - #2326
Merged
Conversation
Point all packages/web/examples demos from legacy searchbase.io clusters to https://reactivesearch-api-9-4-0.onrender.com with shared read-only credentials, unblocking Docs CodeSandbox embeds on tree/next. Co-authored-by: Cursor <cursoragent@cursor.com>
Extend demo backend migration to packages/vue/examples and packages/maps/examples on next, covering Docs CSB embed paths outside the initial web P0 set. Co-authored-by: Cursor <cursoragent@cursor.com>
Use language_code filters (eng/fre/spa) and book result rendering so ToggleButton demos work against the migrated Render good-books-ds index. Co-authored-by: Cursor <cursoragent@cursor.com>
Use original_title.keyword in ReactiveList to avoid ES text-field sort errors on good-books-ds. Retarget QuerySuggestion to good-books-ds and drop popular/category suggestion analytics that require movies-store-app. Co-authored-by: Cursor <cursoragent@cursor.com>
… GeoDistance to earthquakes Vue Vite dev servers now set allowedHosts: true so CodeSandbox preview URLs work without per-sandbox hostnames. Maps GeoDistanceDropdown/Slider use the earthquakes index instead of missing meetup_dataset.
…o preferences API The minimal Render demo server returns 500 for preferences-backed suggestion types; keep autosuggest-only like the working featured-suggestions example.
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
Migrates all
packages/web/examples/*demos from legacy Appbasesearchbase.ioclusters to the self-hosted ReactiveSearch API on Render, unblocking Docs CodeSandbox embeds that load fromtree/next.https://appbase-demo-ansible-abxiydt-arc.searchbase.io(and embedded-credential variants)https://reactivesearch-api-9-4-0.onrender.coma03a1cb71321:…,04717bb076f7:…, etc.)d03e6f5f33d5:49124674-554e-4343-9ab2-006b2932f5c0(read-only)/_reactivesearch(legacy cluster default)/_reactivesearch(unchanged; no.v3references found)101 files updated across standalone examples, SSR pages, and
ssr-with-react-dom. Embedded credentials in URLs were split into expliciturl+credentialsprops where needed.P0 examples (Docs embeds)
MyAwesomeSearchStep1good-books-dsMyAwesomeSearchStep2good-books-dsMyAwesomeSearchStep3good-books-dsMyAwesomeSearchStep4good-books-dsMyAwesomeSearchStep5good-books-dsSearchBoxgood-books-dsReactiveListgood-books-dsSingleListgood-books-dsExamples not migrated / caveats
packages/web/examples/mongo-examples/*good-books-dsindices (movies-demo-app,carstore-dataset,meetup_app,yc-companies-dataset, etc.)Backend smoke test
Returns Gatsby result ✅
Test plan
rg searchbase.io packages/web/examples— zero matchesgood-books-ds/_reactivesearch*.codesandbox.iooriginsnext, Docstree/nextembeds pick up changes automaticallyCoordination
Once CSB previews are verified, Docs team can either:
tree/feat%2Fdemo-migration-renderfor pre-merge testing, ornextso existingtree/nextembeds update automaticallyMade with Cursor