-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(quantic): Exposed the options to be be passed in Did You Mean controller in the QuanticDidYouMean component #4682
Conversation
…on thunk processor
packages/quantic/force-app/main/default/lwc/quanticDidYouMean/quanticDidYouMean.js
Outdated
Show resolved
Hide resolved
Pull Request ReportPR Title❌ Title should follow the conventional commit spec: Example: Live demo linksBundle Size
SSR Progress
Detailed logssearch : buildInteractiveResultsearch : buildInteractiveInstantResult search : buildInteractiveRecentResult search : buildInteractiveCitation search : buildGeneratedAnswer recommendation : missing SSR support case-assist : missing SSR support insight : missing SSR support commerce : missing SSR support |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the renaming of the property everything seems good!
I think you could add to this PR the change to the defaultDidYouMeanOptions
we discussed in slack.
packages/headless/src/controllers/insight/did-you-mean/headless-insight-did-you-mean.ts
Outdated
Show resolved
Hide resolved
packages/quantic/force-app/main/default/lwc/quanticDidYouMean/quanticDidYouMean.js
Outdated
Show resolved
Hide resolved
packages/quantic/force-app/main/default/lwc/quanticDidYouMean/quanticDidYouMean.js
Outdated
Show resolved
Hide resolved
packages/quantic/force-app/main/default/lwc/quanticDidYouMean/quanticDidYouMean.js
Outdated
Show resolved
Hide resolved
7d9966f
to
4a930c8
Compare
packages/headless/src/controllers/insight/did-you-mean/headless-insight-did-you-mean.ts
Outdated
Show resolved
Hide resolved
packages/headless/src/controllers/insight/did-you-mean/headless-insight-did-you-mean.ts
Outdated
Show resolved
Hide resolved
packages/headless/src/controllers/insight/did-you-mean/headless-insight-did-you-mean.test.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Breaking change Alert 🚨
packages/quantic/force-app/main/default/lwc/quanticDidYouMean/quanticDidYouMean.js
Outdated
Show resolved
Hide resolved
00427f6
to
360ff19
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code looks good to me,
couple remarks about the unit tests to be addressed.
...ges/quantic/force-app/main/default/lwc/quanticDidYouMean/__tests__/quanticDidYouMean.test.js
Show resolved
Hide resolved
...ges/quantic/force-app/main/default/lwc/quanticDidYouMean/__tests__/quanticDidYouMean.test.js
Outdated
Show resolved
Hide resolved
3a1937a
to
c899b5f
Compare
SFINT-5681
IN THIS PR:
disableQueryAutoCorrection
andqueryCorrectionMode
properties in theQuanticDidYouMean
component.Notes:
queryCorrectionMode
to legacy to avoid breaking changes. This will be changed after the next major release, we have the jira tickets to eventually change that.TESTS: