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

Blt 992 plugin hubtype analytics create new web event endpoint #2878

Merged

Conversation

Iru89
Copy link
Contributor

@Iru89 Iru89 commented Jul 25, 2024

Description

@botonic/core

  • Remove bot_interaction_id from HandoffBuilder.withBotEvent. This value is obtained by the backend when generate the event.

@botonic/plugin-hubtype-analytics

  • Use the new endpoint for webevents created from frontend. This new endpoint does not use the bot_id and uses the session.user.id of the webchat which is the provider_id instead of the chat_id from the lambda.
  • Fixes a typo in feedback_knowledge_base_event
  • webviewStepNumber is required in EventWebviewStep

@botonic/react

  • Saves the botInteractionId in the localStorage message
  • Use the webchat session to generate the knowledge base feedback event.

@botonic/plugin-flow-builder

  • Add HandoffBuilder.withExtraData({language}), to be able to use automatic translations on the desk

@Iru89 Iru89 marked this pull request as ready for review July 25, 2024 16:41
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jul 26, 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
Base automatically changed from BLT-971-add-target-bot-interaction-id-of-feedback-events-to-point-to-bot-interaction-id-plugin to master-lts July 29, 2024 13:20
@Iru89 Iru89 force-pushed the BLT-992-plugin-hubtype-analytics-create-new-web-event-endpoint branch from 4d5e412 to d3d4463 Compare July 29, 2024 13:26
@Iru89 Iru89 force-pushed the BLT-992-plugin-hubtype-analytics-create-new-web-event-endpoint branch from 5d3f455 to 9fcb97e Compare July 29, 2024 14:18
@Iru89 Iru89 merged commit 14d758a into master-lts Jul 31, 2024
7 checks passed
@Iru89 Iru89 deleted the BLT-992-plugin-hubtype-analytics-create-new-web-event-endpoint branch July 31, 2024 10:30
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.

2 participants