2
0
Commit Graph

1703 Commits

Author SHA1 Message Date
3838ac9c3f 🐛 New sendMessage version for the new parser
Make sure old client still communicate with old parser
nextjs-v0.2.0 react-v0.2.0 js-v0.2.0
2023-10-06 10:14:26 +02:00
6f3e9e9251 🚑 Fix text styling parsing on variables 2023-10-05 17:53:04 +02:00
d567bede6e 📝 (whatsapp) Remove private beta mention 2023-10-05 17:28:32 +02:00
cfc5f641a6 Automatically parse markdown from variables in text bubbles
Closes #539
nextjs-v0.1.34 react-v0.1.34 js-v0.1.34
2023-10-05 16:50:17 +02:00
9e6a1f7dc0 ♻️ (api) Auto start bot if starting with input
Closes #877, closes #884
2023-10-04 16:47:58 +02:00
2bc9dfb503 🚑 (results) Fix broken infinite scroll 2023-10-04 08:14:25 +02:00
ee800d5ba2 🐳 Remove wait-for-it script to avoid edge cases issues 2023-10-03 17:07:14 +02:00
8b8a23accb 🧑‍💻 Improve invalid environment variable insight on build fail 2023-10-03 16:12:04 +02:00
bf051bebde 🐛 (whatsapp) Fix force create session when flow is completed at first round 2023-10-03 16:06:37 +02:00
a7b784b446 🚸 (videoBubble) Reparse variable video URL to correctly detect provider 2023-10-03 11:44:51 +02:00
a53d128fb0 🛂 (whatsapp) Set default whatsapp expiry to 4 hours 2023-10-03 10:53:37 +02:00
3292cccf51 🛂 (whatsapp) Disable whatsapp by default on duplication 2023-10-03 10:40:38 +02:00
60c06aa9a9 🚑 (whatsapp) Fix start whatsapp session when user has multiple whatsapp enabled 2023-10-03 10:13:25 +02:00
317a15b708 📝 (docker) Update postgres image name 2023-10-03 10:11:58 +02:00
4d475ff009 📝 (vercel) Add a note on function maxDuration for Hobby plans 2023-10-03 09:14:36 +02:00
a102d45da1 📝 (whatsapp) Re-organize whatsapp overview doc 2023-10-03 09:09:05 +02:00
876625deb8 🐳 Bump Postgres version in official docker compose file 2023-10-02 11:20:06 +02:00
42ae75cb11 🚸 (sendEmail) Rename username SMTP creds label to avoid confusion 2023-10-02 10:24:16 +02:00
3fff0a11dd 🔖 Release v2.18.0 v2.18.0 2023-10-01 16:56:23 +02:00
b31bcdfb87 🐛 (builder) Fix system color mode not syncing properly 2023-09-29 19:00:41 +02:00
129f5582db 📝 Update About page content
Closes #757
2023-09-29 18:25:08 +02:00
f016072e3e 🚸 (whatsapp) Improve how the whatsapp preview behaves (#873)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Updated WhatsApp logo with a new design and color scheme.
- New Feature: Added a help button in the UI linking to documentation,
enhancing user guidance.
- New Feature: Introduced an alert message indicating that the WhatsApp
integration is in beta testing.
- New Feature: Implemented a button to open WhatsApp Web directly from
the application, improving user convenience.
- Refactor: Adjusted the retrieval of `contactPhoneNumber` in
`receiveMessagePreview` function for better data structure
compatibility.
- Refactor: Optimized the initialization and management of the WhatsApp
session in `startWhatsAppPreview`.
- Refactor: Improved the `parseButtonsReply` function by refining
condition checks.
- Refactor: Enhanced the readability of serialized rich text in
`convertRichTextToWhatsAppText` by introducing newline characters.
- Bug Fix: Ensured preservation of `contact` information when resuming
the WhatsApp flow in `resumeWhatsAppFlow`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-29 17:47:10 +02:00
59cd79a4b8 🚑 (js) Fix dependency issue preventing user to install @typebot.io/js
Closes #871
nextjs-v0.1.33 react-v0.1.33 js-v0.1.33
2023-09-29 16:02:10 +02:00
0e4e10c77b 🛂 (whatsapp) Remove feature flag
Closes #401
2023-09-29 15:10:39 +02:00
1a4b8bb8fc 📝 (typebotLink) Add instructions about shared variables and merge answers 2023-09-29 11:33:39 +02:00
cd97da2d34 🐛 (typebotLink) Fix nested typebot link pop 2023-09-29 11:23:04 +02:00
f9a14c0685 🐛 (whatsapp) Fix auto start input where it didn't display next bu… (#869)
…bbles
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**Release Notes**

- New Feature: Enhanced WhatsApp integration with improved phone number
formatting and session ID generation.
- Refactor: Updated the `startWhatsAppPreview` and
`receiveMessagePreview` functions for better consistency and
readability.
- Bug Fix: Added a check for `phoneNumberId` in the `receiveMessage`
function to prevent errors when it's undefined.
- Documentation: Expanded the WhatsApp integration guide and FAQs in the
docs, providing more detailed instructions and addressing common
queries.
- Chore: Introduced a new `metadata` field in the
`whatsAppWebhookRequestBodySchema` to store the `phone_number_id`.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-29 09:59:38 +02:00
76f4954540 🚸 (pictureChoice) Allow dynamic picture choice with… (#865)
… string variables
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- Refactor: Updated `GoogleSheetsNodeContent` component to use the
`options` prop instead of `action`, and integrated the `useTypebot` hook
for better functionality.
- Style: Improved UI text and layout in `GoogleSheetsSettings.tsx`,
enhancing user experience when selecting rows.
- Refactor: Simplified rendering logic in `BlockNodeContent.tsx` by
directly calling `GoogleSheetsNodeContent` component, improving code
readability.
- Bug Fix: Enhanced `injectVariableValuesInPictureChoiceBlock` function
to handle different types of values for titles, descriptions, and
picture sources, fixing issues with variable value injection.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-28 16:39:48 +02:00
d46e8013d4 🚸 (pictureChoice) Improve single picture choice with same titles
Closes #859
nextjs-v0.1.32 react-v0.1.32 js-v0.1.32
2023-09-28 15:35:21 +02:00
e10a506c96 🐛 (whatsapp) Fix preview failing to start and wait timeo… 2023-09-27 18:46:53 +02:00
99b0025a66 🐛 (preview) Fix always displayed start props toast 2023-09-27 15:40:57 +02:00
ccc34b3028 🚸 (whatsapp) Improve upgrade plan for whatsapp notice 2023-09-27 14:22:51 +02:00
ec52fdc0ad 📝 (whatsapp) Add a "Create WhatsApp app" guide 2023-09-27 08:32:18 +02:00
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
801fea860a 🛂 Improve editor authorization feedback (#856)
Closes #844, closes #839

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Added a `logOut` function to the user context for
improved logout handling.
- Refactor: Updated the redirect path in the `SignInForm` component for
better user redirection after authentication.
- New Feature: Enhanced the "Add" button and "Connect new" menu item in
`CredentialsDropdown` with role-based access control.
- Refactor: Replaced the `signOut` function with the `logOut` function
from the `useUser` hook in `DashboardHeader`.
- Bug Fix: Prevented execution of certain code blocks in
`TypebotProvider` when `typebotData` is read-only.
- Refactor: Optimized the `handleObserver` function in `ResultsTable`
with a `useCallback` hook.
- Bug Fix: Improved router readiness check in `WorkspaceProvider` to
prevent premature execution of certain operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-26 14:02:53 +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
7b3cbdb8e8 🚑 (fileUpload) Fix file upload in linked typebots nextjs-v0.1.31 react-v0.1.31 js-v0.1.31 2023-09-26 08:07:33 +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
459fc4debc 🐛 (bot) Fix reactivity issue when filtering single choices
Closes #803
nextjs-v0.1.30 react-v0.1.30 js-v0.1.30
2023-09-25 11:30:13 +02:00
2307231d28 (wordpress) Add query params exclusion support nextjs-v0.1.29 react-v0.1.29 js-v0.1.29 2023-09-25 11:07:08 +02:00
90cf2e9f81 (embed) Add aria-label to bubble button 2023-09-25 10:02:18 +02:00
ed60caa806 🚑 (billing) Fix disabled upgrade buttons 2023-09-22 17:19:11 +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
4cfb45e2a3 👷 Only build docker images on tag push 2023-09-22 16:33:45 +02:00
4673989104 💚 Rename back viewer 2023-09-22 16:25:31 +02:00
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
8f4e5b5d63 👷 (vercel) Increase max execution duration for webhooks 2023-09-22 09:10:22 +02:00
bad415ae1f 📝 Add custom domain troobleshoot section 2023-09-22 08:05:51 +02:00
85272af8f3 🚑 (upload) Fix upload in embed 2023-09-21 19:08:43 +02:00