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

plugin-hubtype-analytics: Add target bot_interaction_id on feedback knowledge base events #2877

Conversation

Iru89
Copy link
Contributor

@Iru89 Iru89 commented Jul 22, 2024

Description

@botonic/core
Add a new bot_interaction_id attribute in request.input.
Add bot_interaction_id in HandoffBuilder.withBotEvent

@botonic/react
Be able to store in a Text message the value of botInteractionId. Use the value of botInteractionId when creating a feedback_knowledge_base event

@botonic/plugin-flow-builder
When create a Text message using a knowledge base, add the attribute of botInteractionId

@botonic/plugin-hubtype-analytics
Add in feedback_knowledge_base event the attribute feedback_target_bot_interaction_id
Refactor and split Webviews events in 2 classes and also add optionals attributes

Context

This new attribute is needed in the knowledge base feedback events.

Testing

Fix tests of @botonic/core, @botonic/plugin-flow-builder, @botnic/plugin-flow-builder adding bot_interaction_id in Input tests
Add feedback_target_bot_interaction_id in feedback_knowledge_base test

@Iru89 Iru89 changed the title Blt 971 add target bot interaction id of feedback events to point to bot interaction id plugin plugin-hubtype-analytics: Add target bot_interaction_id on feedback knowledge base events Jul 22, 2024
@Iru89 Iru89 force-pushed the BLT-971-add-target-bot-interaction-id-of-feedback-events-to-point-to-bot-interaction-id-plugin branch 2 times, most recently from a18bc48 to 16ebc0a Compare July 22, 2024 13:43
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jul 22, 2024
@Iru89 Iru89 marked this pull request as ready for review July 22, 2024 14:05
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jul 23, 2024
@Iru89 Iru89 force-pushed the BLT-971-add-target-bot-interaction-id-of-feedback-events-to-point-to-bot-interaction-id-plugin branch from 861748b to d040404 Compare July 29, 2024 13:17
@Iru89 Iru89 merged commit c9b75e8 into master-lts Jul 29, 2024
7 checks passed
@Iru89 Iru89 deleted the BLT-971-add-target-bot-interaction-id-of-feedback-events-to-point-to-bot-interaction-id-plugin branch July 29, 2024 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants