Repository navigation
feat(platform-mock-api): restore the water sports search with restoreState j:KIT-6459 - #8782
fbeaudoincoveo wants to merge 1 commit into
Conversation
…State j:KIT-6459 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Tip All tests passed and all changes approved!🟢 UI Tests: 440 tests unchanged |
|
Tip All tests passed and all changes approved!🟢 UI Tests: 440 tests unchanged |
@coveo/atomic
@coveo/atomic-hosted-page
@coveo/atomic-legacy
@coveo/atomic-react
@coveo/bueno
coveo.analytics
@coveo/create-atomic-rollup-plugin
@coveo/headless
@coveo/headless-react
@coveo/quantic
@coveo/relay
@coveo/shopify
@coveo/atomic-angular
commit: |

Jira
https://coveord.atlassian.net/browse/KIT-6459
Motivation
restoreStatebrings a commerce-search surface back to a saved search: query, page, page size, sort and facet selections, including the selected path of a category facet. Agent Gateway handles it, but the mock converse service ignored it, so the demo couldn't exercise a restore in mock mode.Changes
@coveo/platform-mock-apirestoreState. Like the gateway, a restore replaces the surface's search with the snapshot instead of merging into it.FacetRestore.facetIdnames them:ec_brandvalues, theec_pricerange, and theec_categorypath.@coveo/mock-converse-apiValidation
@coveo/mock-converse-apitests pass (98).🤖 Generated with Claude Code