Skip to content
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

fix(insight): literally just a single character! #4841

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Conversation

mikegron
Copy link
Contributor

@mikegron mikegron commented Jan 9, 2025

fix(insight): facet manager bindings error on disconnect callback

SVCC-4338

There was an error if you add the component to the DOM and then remove it without calling initialize on the search interface, since bindings are undefined, so I added an optional chaining operator on the facet manager disconnect callback to not have an error!

It was not a big deal but mostly annoying in ServiceNow since it displayed a huge error toast on the client side 😓

@mikegron mikegron self-assigned this Jan 9, 2025
@mikegron mikegron requested a review from a team as a code owner January 9, 2025 14:50
@mikegron mikegron enabled auto-merge January 9, 2025 14:50
@mikegron mikegron requested a review from dguerinCoveo January 9, 2025 14:50
Copy link

github-actions bot commented Jan 9, 2025

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 243 243 0
commerce 354.1 354.1 0
search 414 414 0
insight 405.3 405.3 0
recommendation 255.2 255.2 0
ssr 407.5 407.5 0
ssr-commerce 371.4 371.4 0

SSR Progress

Use case SSR (#) CSR (#) Progress (%)
search 39 44 89
recommendation 0 4 0
case-assist 0 6 0
insight 0 27 0
commerce 0 15 0
Detailed logs search : buildInteractiveResult
search : buildInteractiveInstantResult
search : buildInteractiveRecentResult
search : buildInteractiveCitation
search : buildGeneratedAnswer
recommendation : missing SSR support
case-assist : missing SSR support
insight : missing SSR support
commerce : missing SSR support

@mikegron mikegron added this pull request to the merge queue Jan 10, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 10, 2025
@mikegron mikegron added this pull request to the merge queue Jan 10, 2025
Merged via the queue into master with commit 7b7e2b8 Jan 10, 2025
95 checks passed
@mikegron mikegron deleted the fix/SVCC-4338 branch January 10, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants