2
0
Commit Graph

430 Commits

Author SHA1 Message Date
56e175bda6 🐛 (pixel) Fix multiple Meta pixels tracking
Closes #846
2023-09-27 07:52:09 +02:00
a176e23cc8 🚸 Better random IDs generation in setVariable 2023-09-27 07:52:09 +02:00
1ca742fc0b (setVariable) Add "Environment name" value in Set variable block (#850)
Closes #848
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Added "Environment name" as a new value type in the
SetVariable function, allowing users to distinguish between 'web' and
'whatsapp' environments.
- Refactor: Simplified session state handling in `resumeWhatsAppFlow.ts`
for improved code clarity.
- Refactor: Updated `startWhatsAppSession.ts` to include an initial
session state with WhatsApp contact and expiry timeout, enhancing
session management.
- Bug Fix: Improved null handling in `executeSetVariable.ts` for
'Contact name' and 'Phone number', preventing potential issues with
falsy values.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-26 09:50:20 +02:00
b81fcf0167 Auto continue bot on whatsApp if starting block is input (#849)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**New Features:**
- Added WhatsApp integration feature to the Pro plan.

**Refactor:**
- Introduced the ability to exclude specific plans from being displayed
in the Change Plan Modal.
- Renamed the function `isProPlan` to `hasProPerks`, enhancing code
readability and maintainability.
- Updated the `EmbedButton` component to handle a new `lockTagPlan`
property and use the `modal` function instead of the `Modal` component.

**Chore:**
- Removed the `whatsAppPhoneNumberId` field from the `Typebot` model
across various files, simplifying the data structure of the model.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-25 17:20:42 +02:00
4f953ac272 (whatsapp) Add custom session expiration (#842)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Introduced session expiry timeout for WhatsApp
integration, allowing users to set the duration after which a session
expires.
- New Feature: Added an option to enable/disable the start bot condition
in WhatsApp integration settings.
- Refactor: Enhanced error handling by throwing specific errors when
necessary conditions are not met.
- Refactor: Improved UI components like `NumberInput` and
`SwitchWithLabel` for better usability.
- Bug Fix: Fixed issues related to session resumption and message
sending in expired sessions. Now, if a session is expired, a new one
will be started instead of attempting to resume the old one.
- Chore: Updated various schemas to reflect changes in session
management and WhatsApp settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-22 17:12:15 +02:00
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +02:00
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
b77e2c8d2c 🔥 Remove disable response saving option
Doesn't work properly when it comes to keep tracking storage usage
2023-03-07 14:41:57 +01:00
022c5a5738 Add new Jump block
Also improve Select input with a clear button

Closes #186
2023-03-03 15:15:43 +01:00
2ff6991ca7 (buttons) Allow dynamic buttons from variable
Closes #237
2023-02-23 14:48:17 +01:00
b2d1235f1b 🚸 (bot) Show a popup when the redirect is blocked by browser
Allows us to show a link button to redirect the user anyway
2023-02-20 08:36:48 +01:00
621cd58244 (embedBubble) Enable variable embed height 2023-02-19 09:53:57 +01:00
44cb14d0cb 🐛 (bot) Still parse variables value if code fails 2023-02-16 20:02:43 +01:00
435edd03c0 💄 Add proper italic fonts in bot 2023-02-15 16:39:53 +01:00
17020c8fef 🐛 (bot) Still parse variable ID in code if has no value 2023-02-14 16:45:35 +01:00
97e2578bcc 🚸 (bot) Keep bubble content in local state for each bubble 2023-02-14 15:40:37 +01:00
51f76700b2 📦 Update cuid to cuid2 2023-02-10 15:06:02 +01:00
c386bb5a08 🐛 Fix custom CSS initialization
Initializing in its own <style> element to allow import statements
2023-02-10 08:40:54 +01:00
f936d4fae3 🐛 (chatwoot) Fix setUser with variables
Closes #300
2023-02-07 08:52:01 +01:00
4e0df33551 🐛 Fix phone input placeholder color
Closes #290
2023-02-06 08:32:18 +01:00
77df5556f4 🔥 Remove useless console logs
Closes #289
2023-02-06 08:02:35 +01:00
ae88d2cae1 Improve old engine bubbles display robustness 2023-02-03 15:39:58 +01:00
58ca1c3ad6 🐛 Fix crash when outgoing edge blockId does not exist 2023-01-31 08:52:00 +01:00
58c6efc5c8 🔥 Remove inline edit in old engine 2023-01-31 07:54:31 +01:00
201939f8a3 ⬆️ Upgrade dependencies 2023-01-28 14:42:50 +01:00
a842f57297 ♻️ Rename Code block to Script block
Closes #245
2023-01-27 15:58:05 +01:00
fa9e4b7b67 Add Wait block
Closes #142
2023-01-26 18:23:09 +01:00
14e6ee373f 🐛 (viewer) Should not import google font url if empty
Closes #271
2023-01-26 08:12:31 +01:00
30baa611e5 (engine) Improve engine overall robustness 2023-01-25 14:59:53 +01:00
04d206eab1 ⬆️ Upgrade dependencies 2023-01-21 13:24:23 +01:00
f697a5e99c 🚸 (fileUpload) Add clear and skip button labels customization 2023-01-20 08:12:59 +01:00
7311988901 (chat) Improve chat API compatibility with preview mode 2023-01-16 12:13:21 +01:00
6459fb8ec8 ⬆️ Upgrade dependencies 2023-01-14 16:53:34 +01:00
13d6679308 🐛 Fix date input label computation 2023-01-14 15:41:52 +01:00
21f1c7a17e Add Bubble and Popup in embed lib v2
Closes #214
2023-01-09 14:51:36 +01:00
f79f6932c2 ⬆️ Upgrade dependencies 2023-01-07 17:06:18 +01:00
ec7481d002 ⬆️ Upgrade dependencies
Closes #198, closes #171
2023-01-02 10:33:35 +01:00
f49a3013d4 🐛 (bot) Update result variables when overwritten by input 2022-12-28 16:07:07 +01:00
b0075fd374 ⬆️ Upgrade dependencies 2022-12-25 09:13:33 +01:00
449080b0ad (rating) Add one click submit option
Closes #187
2022-12-24 08:11:41 +01:00
1a3869ae6d ⚗️ Implement bot v2 MVP (#194)
Closes #190
2022-12-22 17:02:34 +01:00
c3985b0d50 🐛 (webhook) Fix parent linked typebot data parsing in webhook 2022-12-22 11:49:46 +01:00
f46ce4781f ⬆️ Upgrade dependencies 2022-12-18 11:50:56 +01:00
92dc797b6c 🐛 (typebotLink) Populate variable value when linked typebot is injected 2022-12-13 09:48:48 +01:00
656d1e3cad 🐛 (typebotLink) Make sure to update all linked bot variable values 2022-12-12 10:29:52 +01:00
54dee6e362 🐛 (typebotLink) Fix fetching when typebot ID is current bot ID 2022-12-12 09:41:35 +01:00
dcec1f0a5c (googleSheets) Advanced get filtering
Allows you to select rows based on advanced conditions / comparisons
2022-12-06 11:12:51 +01:00
2932043056 ⬆️ Upgrade dependencies 2022-12-05 16:16:49 +01:00