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(headless)!: clean up deprecated feedback methods #4404

Merged
merged 10 commits into from
Sep 16, 2024
Merged

Conversation

mmitiche
Copy link
Contributor

@mmitiche mmitiche commented Sep 11, 2024

SFINT-5585

  • Updated sendFeedback method in the generated answer controllers to accept only GeneratedAnswerFeedbackV2, the latest feedback schema we created to represent a feedback.
  • Updated the analytic actions logGeneratedAnswerFeedback by remove the logic that checks between v1 and v2 and use only GeneratedAnswerFeedbackV2 type.
  • Removed logGeneratedAnswerDetailedFeedback analytics action, as it is no longer used.
  • Renamed the type GeneratedAnswerFeedbackV2 to GeneratedAnswerFeedback

Copy link

github-actions bot commented Sep 11, 2024

Pull Request Report

PR Title

✅ Title follows the conventional commit spec.

Live demo links

Bundle Size

File Old (kb) New (kb) Change (%)
case-assist 241 241 0
commerce 339.1 339.1 0
search 409.1 408.6 -0.1
insight 392.7 392.2 -0.1
recommendation 252.2 252.2 0
ssr 401.7 401.7 0
ssr-commerce 351.3 351.3 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

@mmitiche mmitiche marked this pull request as ready for review September 11, 2024 20:34
@mmitiche mmitiche requested review from a team as code owners September 11, 2024 20:34
Copy link
Collaborator

@erocheleau erocheleau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, just commented code :)

Copy link
Contributor

@SimonMilord SimonMilord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mmitiche mmitiche added this to the V3 milestone Sep 13, 2024
@mmitiche mmitiche added this pull request to the merge queue Sep 16, 2024
@louis-bompart louis-bompart removed this pull request from the merge queue due to the queue being cleared Sep 16, 2024
@louis-bompart louis-bompart changed the title fix(headless)!: Clean up deprecated feedback methods fix(headless)!: clean up deprecated feedback methods Sep 16, 2024
@louis-bompart louis-bompart merged commit 45e9f2d into master Sep 16, 2024
117 checks passed
@louis-bompart louis-bompart deleted the SFINT-5585 branch September 16, 2024 20:56
fpbrault pushed a commit that referenced this pull request Sep 17, 2024
[SFINT-5585](https://coveord.atlassian.net/browse/SFINT-5585)

- Updated `sendFeedback` method in the generated answer controllers to
accept only GeneratedAnswerFeedbackV2, the latest feedback schema we
created to represent a feedback.
- Updated the analytic actions logGeneratedAnswerFeedback by remove the
logic that checks between v1 and v2 and use only
GeneratedAnswerFeedbackV2 type.
- Removed logGeneratedAnswerDetailedFeedback analytics action, as it is
no longer used.
- Renamed the type `GeneratedAnswerFeedbackV2` to
`GeneratedAnswerFeedback`

[SFINT-5585]:
https://coveord.atlassian.net/browse/SFINT-5585?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

---------

Co-authored-by: Louis Bompart <[email protected]>
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.

5 participants