2
0
Commit Graph

1050 Commits

Author SHA1 Message Date
e10a506c96 🐛 (whatsapp) Fix preview failing to start and wait timeo… 2023-09-27 18:46:53 +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
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
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
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
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
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
f626c9867c (whatsapp) Improve WhatsApp preview management
Closes #800
2023-09-19 11:53:18 +02:00
2ce63f5d06 🐛 (results) Fix result modal content display 2023-09-19 11:47:41 +02:00
61c46bcb46 🚸 (results) Use header id as table accessor to allow duplicate names 2023-09-18 18:34:53 +02:00
6548752b1b 🐛 Fix bubble icon file upload 2023-09-18 17:26:05 +02:00
322c48cddc (customDomain) Add configuration modal for domain verification
Closes #742
2023-09-18 17:16:30 +02:00
0ccc2efa45 🚸 (billing) Improve feedback when subscription is "past_due" 2023-09-12 13:17:14 +02:00
6375a2425f 📝 Update support contact email 2023-09-12 09:45:45 +02:00
87fac3e9ff (analytics) Keep track of already explored blocks for drop off rate 2023-09-11 16:10:59 +02:00
096262cff9 🐛 (openai) Fix models dropdown list on new block 2023-09-08 17:16:15 +02:00
75e4b16af0 Add Zemantic AI Integration block (#752)
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-09-08 16:21:50 +02:00
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
59cc450fd3 💚 Remove defineLocale weird TS bug 2023-09-08 11:51:14 +02:00
a2e24d08a0 (date) Add min and max options to date input block
Closes #792
2023-09-08 11:38:23 +02:00
ac899b3181 🧑‍💻 (editor) Add group info in focus toolbar 2023-09-06 08:39:56 +02:00
be0c619316 🚑 Fix pt-BR i18n loading 2023-09-05 18:36:22 +02:00
aaa208cef4 🌐 Add pt_BR and more translations (#767)
Original PR: https://github.com/baptisteArno/typebot.io/pull/694

---------

Co-authored-by: Daniel Oliveira <daniel.oliveira@kununu.com>
Co-authored-by: Daniel Oliveira <daniel@headdev.com.br>
2023-09-05 18:15:59 +02:00
e4ece315ed 🌐 Add i18n-ally config and upgrade next-international 2023-09-05 16:44:44 +02:00
9e8fa124b5 (dateInput) Add format option and improve parsing
Use date-fns for custom format and make sure dates are timezone independants

Closes #533, closes #592
2023-09-05 10:34:56 +02:00
111fb323b1 (wait) Add pause option on Wait block
Closes #751
2023-09-04 14:52:16 +02:00
5092e142ec 🐛 Fix select text in buttons node drag
Closes #697
2023-09-04 10:34:02 +02:00
e8eaac45fa 🚑 (openai) Fix create credentials modal not displaying 2023-09-02 14:04:09 +02:00
60abddd86e 🛂 (whatsapp) Disallow test numbers as they are not unique 2023-09-01 16:51:18 +02:00
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
6a0f6e4ef2 🐛 Fix forced color mode localStorage sync issue
Described the issue here: https://github.com/chakra-ui/chakra-ui/discussions/7980
2023-09-01 10:33:40 +02:00
ce9ad8b970 🐛 Fix persistence when user selects system color mode 2023-08-31 11:59:05 +02:00
dfcfdf2138 🚸 Skip validation if __ENV.js file does not exist 2023-08-31 09:57:54 +02:00
90c8c809de 📝 Fix iframe's style instruction invalid quotes
Closes #726
2023-08-30 13:38:20 +02:00
23b629f82c ♻️ Move s3-related files to specific lib folder 2023-08-30 09:36:45 +02:00
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +02:00
5d402d9a38 🚸 (whatsapp) Allow test phone numbers 2023-08-29 19:25:13 +02:00
a0a719626c 🚸 (editor) Avoid highlighting variables in text bubble if not created 2023-08-29 18:15:18 +02:00
da4005e160 🐛 (embed) Make sure env.ts is not bundled in js embed lib 2023-08-29 15:00:04 +02:00
013c7a6265 🐛 Fix delete session with client side actions 2023-08-29 12:19:50 +02:00
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
efd4600b7e 🚑 Set proper env defaults 2023-08-28 11:08:15 +02:00
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
a23a8c4456 🐛 (webhook) Fix saving invalid webhook when duplicated 2023-08-25 15:52:37 +02:00
27b15a0f10 📝 Add Sheets advanced example video 2023-08-24 17:52:41 +02:00