Commit Graph

1547 Commits

Author SHA1 Message Date
Baptiste Arnaud
073654e1e0 ♻️ Remove sentry client monitoring in viewer 2023-10-07 07:58:40 +02:00
Baptiste Arnaud
4746e38cb2 🐛 Add no cache instructions to streamer
Attempt to fix buffering issue when Cloudflare proxy is enabled
2023-10-06 18:31:42 +02:00
Baptiste Arnaud
bf1f657642 🔥 Remove streamer Pages API endpoint 2023-10-06 17:45:12 +02:00
Baptiste Arnaud
0ba13b4df0 🐛 Enable stream again by migrating endpoint to route handler
https://vercel.com/docs/functions/edge-functions/streaming#streaming-data-with-edge-functions
2023-10-06 15:07:26 +02:00
Baptiste Arnaud
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00
Baptiste Arnaud
3838ac9c3f 🐛 New sendMessage version for the new parser
Make sure old client still communicate with old parser
2023-10-06 10:14:26 +02:00
Baptiste Arnaud
d567bede6e 📝 (whatsapp) Remove private beta mention 2023-10-05 17:28:32 +02:00
Baptiste Arnaud
9e6a1f7dc0 ♻️ (api) Auto start bot if starting with input
Closes #877, closes #884
2023-10-04 16:47:58 +02:00
Baptiste Arnaud
2bc9dfb503 🚑 (results) Fix broken infinite scroll 2023-10-04 08:14:25 +02:00
Baptiste Arnaud
bf051bebde 🐛 (whatsapp) Fix force create session when flow is completed at first round 2023-10-03 16:06:37 +02:00
Baptiste Arnaud
a7b784b446 🚸 (videoBubble) Reparse variable video URL to correctly detect provider 2023-10-03 11:44:51 +02:00
Baptiste Arnaud
a53d128fb0 🛂 (whatsapp) Set default whatsapp expiry to 4 hours 2023-10-03 10:53:37 +02:00
Baptiste Arnaud
3292cccf51 🛂 (whatsapp) Disable whatsapp by default on duplication 2023-10-03 10:40:38 +02:00
Baptiste Arnaud
317a15b708 📝 (docker) Update postgres image name 2023-10-03 10:11:58 +02:00
Baptiste Arnaud
4d475ff009 📝 (vercel) Add a note on function maxDuration for Hobby plans 2023-10-03 09:14:36 +02:00
Baptiste Arnaud
a102d45da1 📝 (whatsapp) Re-organize whatsapp overview doc 2023-10-03 09:09:05 +02:00
Baptiste Arnaud
876625deb8 🐳 Bump Postgres version in official docker compose file 2023-10-02 11:20:06 +02:00
Baptiste Arnaud
42ae75cb11 🚸 (sendEmail) Rename username SMTP creds label to avoid confusion 2023-10-02 10:24:16 +02:00
Baptiste Arnaud
b31bcdfb87 🐛 (builder) Fix system color mode not syncing properly 2023-09-29 19:00:41 +02:00
Baptiste Arnaud
129f5582db 📝 Update About page content
Closes #757
2023-09-29 18:25:08 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
0e4e10c77b 🛂 (whatsapp) Remove feature flag
Closes #401
2023-09-29 15:10:39 +02:00
Baptiste Arnaud
1a4b8bb8fc 📝 (typebotLink) Add instructions about shared variables and merge answers 2023-09-29 11:33:39 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
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
Baptiste Arnaud
e10a506c96 🐛 (whatsapp) Fix preview failing to start and wait timeo… 2023-09-27 18:46:53 +02:00
Baptiste Arnaud
ccc34b3028 🚸 (whatsapp) Improve upgrade plan for whatsapp notice 2023-09-27 14:22:51 +02:00
Baptiste Arnaud
ec52fdc0ad 📝 (whatsapp) Add a "Create WhatsApp app" guide 2023-09-27 08:32:18 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
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
Baptiste Arnaud
7b3cbdb8e8 🚑 (fileUpload) Fix file upload in linked typebots 2023-09-26 08:07:33 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
2307231d28 (wordpress) Add query params exclusion support 2023-09-25 11:07:08 +02:00
Baptiste Arnaud
ed60caa806 🚑 (billing) Fix disabled upgrade buttons 2023-09-22 17:19:11 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
4673989104 💚 Rename back viewer 2023-09-22 16:25:31 +02:00
Baptiste Arnaud
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
Baptiste Arnaud
8f4e5b5d63 👷 (vercel) Increase max execution duration for webhooks 2023-09-22 09:10:22 +02:00
Baptiste Arnaud
bad415ae1f 📝 Add custom domain troobleshoot section 2023-09-22 08:05:51 +02:00
Baptiste Arnaud
85272af8f3 🚑 (upload) Fix upload in embed 2023-09-21 19:08:43 +02:00
Baptiste Arnaud
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +02:00
Baptiste Arnaud
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
Baptiste Arnaud
797685aa9d 📝 Change googleSheets date system var name 2023-09-20 10:48:24 +02:00
Baptiste Arnaud
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
Baptiste Arnaud
f626c9867c (whatsapp) Improve WhatsApp preview management
Closes #800
2023-09-19 11:53:18 +02:00
Baptiste Arnaud
2ce63f5d06 🐛 (results) Fix result modal content display 2023-09-19 11:47:41 +02:00
Baptiste Arnaud
61c46bcb46 🚸 (results) Use header id as table accessor to allow duplicate names 2023-09-18 18:34:53 +02:00
Baptiste Arnaud
6548752b1b 🐛 Fix bubble icon file upload 2023-09-18 17:26:05 +02:00
Baptiste Arnaud
322c48cddc (customDomain) Add configuration modal for domain verification
Closes #742
2023-09-18 17:16:30 +02:00
Baptiste Arnaud
21ad061f7b 🚸 (typebotLink) Make sure variables from child bots are merged if necessary 2023-09-18 10:59:56 +02:00
Baptiste Arnaud
0ccc2efa45 🚸 (billing) Improve feedback when subscription is "past_due" 2023-09-12 13:17:14 +02:00
Baptiste Arnaud
6375a2425f 📝 Update support contact email 2023-09-12 09:45:45 +02:00
Baptiste Arnaud
87fac3e9ff (analytics) Keep track of already explored blocks for drop off rate 2023-09-11 16:10:59 +02:00
Baptiste Arnaud
096262cff9 🐛 (openai) Fix models dropdown list on new block 2023-09-08 17:16:15 +02:00
Ed Zynda
75e4b16af0
Add Zemantic AI Integration block (#752)
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-09-08 16:21:50 +02:00
Baptiste Arnaud
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
Baptiste Arnaud
43be38cf50 📝 (vercel) Add disable github workflows section 2023-09-08 12:53:10 +02:00
Baptiste Arnaud
59cc450fd3 💚 Remove defineLocale weird TS bug 2023-09-08 11:51:14 +02:00
Baptiste Arnaud
a2e24d08a0 (date) Add min and max options to date input block
Closes #792
2023-09-08 11:38:23 +02:00
Baptiste Arnaud
bea3332c32 🚑 (typebotLink) Correctly pass back existing values from parent bot 2023-09-08 07:40:31 +02:00
Baptiste Arnaud
cdd3e19755 ♻️ (lp) Add back static images into landing page 2023-09-07 18:31:05 +02:00
Baptiste Arnaud
a0df85108f 👷 Remove docker main tag building 2023-09-07 15:33:24 +02:00
Baptiste Arnaud
ac899b3181 🧑‍💻 (editor) Add group info in focus toolbar 2023-09-06 08:39:56 +02:00
Baptiste Arnaud
605132ec3c 📝 Add user preferences doc 2023-09-06 08:10:48 +02:00
Baptiste Arnaud
be0c619316 🚑 Fix pt-BR i18n loading 2023-09-05 18:36:22 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
e4ece315ed 🌐 Add i18n-ally config and upgrade next-international 2023-09-05 16:44:44 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
111fb323b1 (wait) Add pause option on Wait block
Closes #751
2023-09-04 14:52:16 +02:00
Baptiste Arnaud
5092e142ec 🐛 Fix select text in buttons node drag
Closes #697
2023-09-04 10:34:02 +02:00
Baptiste Arnaud
a79e605285 📝 Add cancel subscription doc 2023-09-04 07:56:50 +02:00
Baptiste Arnaud
1ebacaaa5d 🚸 Make sure to add start client side action first in the list 2023-09-02 14:27:47 +02:00
Baptiste Arnaud
e8eaac45fa 🚑 (openai) Fix create credentials modal not displaying 2023-09-02 14:04:09 +02:00
Baptiste Arnaud
968c5e3c95 🚑 (fileUpload) Fix web bot file upload input skip option 2023-09-02 09:36:48 +02:00
Baptiste Arnaud
60abddd86e 🛂 (whatsapp) Disallow test numbers as they are not unique 2023-09-01 16:51:18 +02:00
Baptiste Arnaud
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
Baptiste Arnaud
1aa017153a 🐳 Fix docker image runtime error
Closes #719
2023-09-01 15:41:11 +02:00
Baptiste Arnaud
37ccb5da5e 🚸 (sendEmail) Improve variable parsing in sendEmail body
Support for multi line variables as well

Closes #749
2023-09-01 11:33:45 +02:00
Baptiste Arnaud
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
Baptiste Arnaud
ce9ad8b970 🐛 Fix persistence when user selects system color mode 2023-08-31 11:59:05 +02:00
Baptiste Arnaud
baa13c3fa2 📝 Add troobleshoot section in Audio bubble doc 2023-08-31 10:15:57 +02:00
Baptiste Arnaud
dfcfdf2138 🚸 Skip validation if __ENV.js file does not exist 2023-08-31 09:57:54 +02:00
Baptiste Arnaud
9d29a88ed3 🐛 Fix remembered user reset hasStarted on page refresh 2023-08-30 19:28:35 +02:00
Baptiste Arnaud
96ddfadaa7 🔊 Add logs to debug invalid env 2023-08-30 18:47:57 +02:00
Baptiste Arnaud
124cb8f359 🐛 (fileUpload) Make file type optionnal 2023-08-30 15:09:41 +02:00
Baptiste Arnaud
90c8c809de 📝 Fix iframe's style instruction invalid quotes
Closes #726
2023-08-30 13:38:20 +02:00
Baptiste Arnaud
23b629f82c ♻️ Move s3-related files to specific lib folder 2023-08-30 09:36:45 +02:00
Baptiste Arnaud
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +02:00
Baptiste Arnaud
5d402d9a38 🚸 (whatsapp) Allow test phone numbers 2023-08-29 19:25:13 +02:00
Baptiste Arnaud
a0a719626c 🚸 (editor) Avoid highlighting variables in text bubble if not created 2023-08-29 18:15:18 +02:00
Baptiste Arnaud
da272f2f9c 📝 Temporarily fix docker files starter urls 2023-08-29 15:55:58 +02:00
Baptiste Arnaud
da4005e160 🐛 (embed) Make sure env.ts is not bundled in js embed lib 2023-08-29 15:00:04 +02:00
Baptiste Arnaud
013c7a6265 🐛 Fix delete session with client side actions 2023-08-29 12:19:50 +02:00
Baptiste Arnaud
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
Baptiste Arnaud
efd4600b7e 🚑 Set proper env defaults 2023-08-28 11:08:15 +02:00
Baptiste Arnaud
6dc9b28f7d 🚑 (lp) Fix environment injection in landing page 2023-08-28 09:38:52 +02:00
Baptiste Arnaud
786e5cb582
🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Baptiste Arnaud
a23a8c4456 🐛 (webhook) Fix saving invalid webhook when duplicated 2023-08-25 15:52:37 +02:00
Baptiste Arnaud
b74117d417 📝 Fix invalid custom CSS line in HTML instructions 2023-08-25 14:35:15 +02:00
Baptiste Arnaud
055cf03703 🚑 (typebotLink) Fix incoming linked typebot variables filling 2023-08-25 14:13:34 +02:00
Baptiste Arnaud
27b15a0f10 📝 Add Sheets advanced example video 2023-08-24 17:52:41 +02:00
Baptiste Arnaud
e62e71c133 🛂 Check if isQuarantined can be toggled on sub update 2023-08-24 15:38:50 +02:00
Baptiste Arnaud
d700af17e9 🚸 (openai) Implement retries if openai rate limit reached 2023-08-24 15:28:44 +02:00
Baptiste Arnaud
06ecdf040e 🐛 (sendMessage) Correctly preprocess and parse fetched bot 2023-08-24 09:11:10 +02:00
Baptiste Arnaud
ee3b94c35d (typebotLink) Better typebot link with merge option
Closes #675
2023-08-24 08:19:41 +02:00
Baptiste Arnaud
0acede92ef 🚸 Improve parsing preprocessing on typebots 2023-08-23 10:57:38 +02:00
Baptiste Arnaud
fe54888350 🐛 Fix legacy publicId format validation 2023-08-22 11:43:35 +02:00
Baptiste Arnaud
6240fd982b 🐛 (billing) Fix cancel webhook when publishedTypebot does not exist 2023-08-22 10:55:32 +02:00
Baptiste Arnaud
53dd7ba499 🚸 (billing) Make sure customer is not created before launching checkout page 2023-08-22 10:40:34 +02:00
Baptiste Arnaud
c08e0cdb0a (customDomains) Fix custom domain update feedback 2023-08-21 15:32:27 +02:00
Baptiste Arnaud
dc4c19a755 🐛 Fix getUsage query abort 2023-08-21 09:27:33 +02:00
Baptiste Arnaud
ed77f5d124 🐛 (webhook) Fix variable list parsing in custom body
Closes #687
2023-08-18 15:57:52 +02:00
Baptiste Arnaud
a4f7f8fae7 📈 Remove user email from Sentry tracking 2023-08-18 14:18:28 +02:00
Baptiste Arnaud
19fc576957 🚸 Loosen file import parsing strictness 2023-08-18 09:27:14 +02:00
Baptiste Arnaud
e2075d6135 🐛 Stop refresh typebot when typebotId is undefined 2023-08-17 18:17:53 +02:00
Baptiste Arnaud
a4ba9a8a77 🐛 Parse valid publicId even though the prefix is empty 2023-08-17 17:59:44 +02:00
Baptiste Arnaud
9cfca3857e 🚑 Fix issue when duplicating bot losing groups 2023-08-17 17:39:49 +02:00
Baptiste Arnaud
304dfe2dab 🐛 Remove publicId and customDomain duplication on imported bots 2023-08-17 16:32:37 +02:00
Baptiste Arnaud
906845bd76 🔒 Improve workspace API role filtering 2023-08-17 15:11:50 +02:00
Baptiste Arnaud
8810aa8ddb 📝 Add redirect URL with UTM instructions 2023-08-17 10:38:33 +02:00
Baptiste Arnaud
fca5865999 🚑 Fix customDomain regex validation 2023-08-17 10:01:45 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
Baptiste Arnaud
019f72ac7e 🐛 Deprecate blockId field in items 2023-08-16 09:33:57 +02:00
Baptiste Arnaud
1cc282a5fc 🐛 (editor) Fix edges connection issue when item.blockId does not match 2023-08-15 07:53:14 +02:00
Baptiste Arnaud
22cedb379d Revert "⬆️ Upgrade next packages"
This reverts commit 401efa9d0c.
2023-08-14 21:49:03 +02:00
Baptiste Arnaud
1274d2581d 🚑 Incorrect blockId in item when duplicating issue 2023-08-14 17:32:28 +02:00
Baptiste Arnaud
de616ea649 🔒 Expose minimum data to NEXT_DATA json 2023-08-14 16:55:47 +02:00
Baptiste Arnaud
401efa9d0c ⬆️ Upgrade next packages 2023-08-11 15:17:17 +02:00
Baptiste Arnaud
d31500e2e3 🐛 (auth) Fix redirect URL after sign in 2023-08-11 09:06:56 +02:00
Baptiste Arnaud
0078d6da71 🚸 (webhook) Parse user email instead of test email for sample 2023-08-10 08:29:50 +02:00
Baptiste Arnaud
7c81d0cbab 🚸 (openai) Add payment method alert in credentials modal 2023-08-10 07:53:11 +02:00
Baptiste Arnaud
330d399c42 Remember last typebot viewed for support bubble 2023-08-10 07:38:15 +02:00
Baptiste Arnaud
2b4ada007d 🐛 Normalize user inputs before comparing 2023-08-08 08:24:15 +02:00
Baptiste Arnaud
a72cb5e20d 🔊 Add debug log for item matching issue 2023-08-08 07:46:16 +02:00
Baptiste Arnaud
9171727569 🚸 (webhook) Improve deep keys parser
Support for field names with dashes
2023-08-07 15:57:56 +02:00
Baptiste Arnaud
1ae3029843 📝 Dynamic oss-friends landing page 2023-08-07 15:38:59 +02:00
Baptiste Arnaud
2c4762b57f 🚑 Add missing await on executeGroup 2023-08-07 15:37:31 +02:00
Baptiste Arnaud
af1bee8756 🚸 (bot) Update reply if we get new format from backend 2023-08-07 15:24:15 +02:00
Baptiste Arnaud
4d3f67c752 🚸 (setVariable) Rename Today setVar type to Now 2023-08-07 14:32:30 +02:00
Baptiste Arnaud
037d4ce345 (audio) Add autoplay switch in settings 2023-08-07 12:20:38 +02:00
Baptiste Arnaud
bd9c8eac4c 💚 Add conditional rewrites for NEXTAUTH_URL targets 2023-08-06 11:20:13 +02:00
Baptiste Arnaud
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
Baptiste Arnaud
53e4bc2b75 Add API endpoint to update the typebot in ongoing chat session 2023-08-04 14:53:49 +02:00
Baptiste Arnaud
c534613087 🚸 (openai) Display OpenAI initial response error 2023-08-02 08:10:26 +02:00
Baptiste Arnaud
ee067ceee1 💄 Improve multiple choice color when image background 2023-08-01 18:42:39 +02:00
Baptiste Arnaud
482462f2b1 📝 (openai) Add troobleshoot guide for empty message issue 2023-08-01 17:50:29 +02:00
Baptiste Arnaud
aa9f5bc732 (condition) Add regex comparison item 2023-08-01 08:20:16 +02:00
Baptiste Arnaud
e34b939786 (video) Detect youtu.be URLs for video bubbles 2023-07-31 09:59:24 +02:00
Lucas Moraes
f8af76d347
🐛 Fix TextBubble 'Edit Link' background color in dark mode (#653)
TextBubble's "Edit link" card had a white background in dark mode,
making it impossible to read the content. I was studying React with your
project so I already took the opportunity to implement this small
correction for you lol.

Before:
![Captura de tela de 2023-07-27
21-34-09](https://github.com/baptisteArno/typebot.io/assets/48826783/09473f5e-635d-4e65-afdf-04230f05fd79)

After:
![Captura de tela de 2023-07-27
21-33-44](https://github.com/baptisteArno/typebot.io/assets/48826783/1971edae-b453-49eb-a01a-7e5fabc57c6b)

Note: I also added some direct links to project files cited in the
CONTRIBUTING.md file. They help to find these files more easily.
2023-07-31 07:30:45 +02:00
Baptiste Arnaud
3df81a3cb9 🐛 (analytics) Fix analytics drop-off rate not computing correctly 2023-07-31 07:24:28 +02:00
Baptiste Arnaud
c99298e49b (paymentInput) Handle Stripe redirection
Closes #631
2023-07-27 17:25:02 +02:00
Baptiste Arnaud
abc3abd86b 🔒 (auth) Block disposable emails during sign up 2023-07-27 09:29:17 +02:00
Baptiste Arnaud
7a7d471805 🐛 (analytics) Fix previous total computation max call stack exceeded
Closes #624
2023-07-25 17:29:06 +02:00
Baptiste Arnaud
4607f0ea39 💄 Fix round icons color in dark mode
Closes #609
2023-07-25 17:17:39 +02:00
Baptiste Arnaud
43555c171e 🚸 New dedicated onboarding page 2023-07-25 16:21:40 +02:00
Baptiste Arnaud
283c55c1a4 🚸 Update onboarding bot
Closes #400
2023-07-25 09:12:53 +02:00
Baptiste Arnaud
b17177f35f 📝 Remove old stripe env var 2023-07-25 09:09:13 +02:00
Baptiste Arnaud
b171b39606 🐛 Fix table list when empty always show "add" button
Closes #544
2023-07-24 17:54:08 +02:00
Baptiste Arnaud
0c923b70a6 📝 Add "conditionally display button" video in docs 2023-07-24 14:36:27 +02:00
Baptiste Arnaud
9433d3ea8f
📝 Update README (#632)
Closes #628
2023-07-24 12:24:08 +02:00
Baptiste Arnaud
7942ae4751 🐛 (sendMessage) Return updated session in all cases 2023-07-24 09:21:55 +02:00
Baptiste Arnaud
04faa3e847 🧑‍💻 (docs) Add "Edit this page" links in docs 2023-07-24 08:49:00 +02:00
Baptiste Arnaud
3283d7e261 🧑‍💻 (results) Add get result by id API endpoint 2023-07-24 07:50:50 +02:00
Baptiste Arnaud
1ebd528753 (video) Add youtube shorts auto parsing 2023-07-21 08:02:15 +02:00
Johannes Zellner
48f074cdf7
Support specifying custom OAuth scope (#619)
For OpenID connect over OAuth, at least `openid profile` need to be set
there, but since the email is also used, the `email` scope will instruct
the OpenID provider to also deliver that.

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-07-20 11:38:21 +02:00
Baptiste Arnaud
3952ae2755 Stream bubble content if placed right after Op…
Closes #617
2023-07-19 11:20:44 +02:00
Baptiste Arnaud
13ac46975d 🐛 Fix viewer's .env.local.example inline comment 2023-07-18 14:54:11 +02:00
Baptiste Arnaud
aa4c16dad7 Regroup database queries of /sendMessage in one place
Potentially reduces the total queries to database and it will help to migrate to Edge runtime
2023-07-18 14:31:20 +02:00
Baptiste Arnaud
1095cf7f09 ⬆️ Upgrade giphy package 2023-07-18 09:25:24 +02:00
Baptiste Arnaud
3426d6689d Replace updates with updateManys when possible
Easy performance win to avoid triggering SELECT query after an UPDATE
2023-07-16 18:52:30 +02:00
Baptiste Arnaud
12ce4eb01b 📝 Remove pixel troubleshoot section 2023-07-16 18:21:24 +02:00
Baptiste Arnaud
93337bd1d9 📝 (settings) Update General section 2023-07-16 09:51:45 +02:00
Baptiste Arnaud
88e2f50d35 📝 Add script block precision 2023-07-16 09:41:35 +02:00
Baptiste Arnaud
844832f310 📝 Add troubleshoot self-host page 2023-07-16 09:27:55 +02:00
Baptiste Arnaud
be7be7bf7a (embed) Add new command setInputValue 2023-07-15 17:38:12 +02:00
Baptiste Arnaud
521cb50782 Remove invalid js in meta head code 2023-07-15 16:39:45 +02:00
Baptiste Arnaud
d3fb31b43a Downgrade next package version
Introduced "Invalid left-hand side in assignment"
2023-07-15 14:47:09 +02:00
Baptiste Arnaud
e293cb0111 Add Next.js embed library 2023-07-15 12:28:10 +02:00
Baptiste Arnaud
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
Baptiste Arnaud
de08179f8b 🚸 (billing) Set existing stripe customer for custom plan checkout 2023-07-13 18:03:59 +02:00
Baptiste Arnaud
6565fcc29c 🐛 (openai) Fix incompatible OpenAI types 2023-07-12 12:28:58 +02:00
Baptiste Arnaud
5644a0c8e0 ⬆️ Upgrade OpenAI stream deps 2023-07-12 12:00:23 +02:00
Baptiste Arnaud
455c3bdfd7 👷 Improve monthly clean database script
Archive results that were not properly archived
2023-07-12 12:00:23 +02:00
Baptiste Arnaud
37bb172f25 🚑 Fix invalid rewrites for custom domains 2023-07-11 19:32:37 +02:00
Baptiste Arnaud
174d50ad1b (settings) Parse custom head code to remove invalid text nodes 2023-07-11 19:17:38 +02:00
Baptiste Arnaud
b2a973472f 🚑 (lp) Hard-code rewrite to typebot.io 2023-07-11 18:34:17 +02:00
Baptiste Arnaud
fc0e3782b1 🐛 (workspace) Fix members list limit bug 2023-07-11 18:14:23 +02:00
Baptiste Arnaud
0465275f82 🔧 Rewrite viewer to landing-page 2023-07-11 18:13:31 +02:00
Baptiste Arnaud
28fd81cb65 📝 (theme) Add change bot avatar guide in docs 2023-07-11 10:57:16 +02:00
Baptiste Arnaud
a31345ae26 🚸 (theme) Move isBrandingEnable param in the Theme tab 2023-07-11 10:43:49 +02:00
Baptiste Arnaud
8ce5447012 🐛 (ga) Fix gtag not initializing properly 2023-07-11 08:09:11 +02:00
Baptiste Arnaud
56078b4e02 🐛 (share) Enable back empty public ID for self-hosted version
Closes #576
2023-07-07 14:35:17 +02:00
Baptiste Arnaud
5ae6c64d06 🚸 (video) Improve video autoplay behavior
Autoplay video only when displayed entirely and fix weird Safari autoplay issues when scrolling
2023-07-07 12:02:40 +02:00
Baptiste Arnaud
31b70223c8 🚸 Remove new typebot default user avatar 2023-07-07 11:44:14 +02:00
Baptiste Arnaud
5a05310a9c 🛂 Add isSuspended prop on workspace 2023-07-04 14:56:36 +02:00
Baptiste Arnaud
92740ad2ff 🚑 Fix answer upsert on duplicate itemId 2023-07-01 22:20:22 +02:00
Baptiste Arnaud
24126ac9b8 🚑 Fix answer upsert missing groupId 2023-06-30 12:56:50 +02:00
Baptiste Arnaud
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
Baptiste Arnaud
55ff944ebb 💄 Correctly highlight current line in code editor 2023-06-29 15:37:56 +02:00
Baptiste Arnaud
9658277d97 🐛 (sheets) Fix sheet block when filter is undefined 2023-06-29 15:17:51 +02:00
Baptiste Arnaud
50fcbfd95e (pixel) Add skip initialization option 2023-06-28 10:37:01 +02:00
Baptiste Arnaud
033f8f99dd Add Meta Pixel block
Closes #582
2023-06-28 09:52:03 +02:00
Baptiste Arnaud
92f7f3cbe2 🐛 (condition) Improve comparison on dates 2023-06-27 09:18:36 +02:00
Baptiste Arnaud
3575fef34f 🐛 (results) Fix export duplicate columns when no order set 2023-06-26 17:41:48 +02:00
Baptiste Arnaud
6f7ef820e2 📈 (billing) Track when workspace subscription is cancelled 2023-06-26 11:33:06 +02:00
Baptiste Arnaud
0582ca74ac 🚸 (editor) Improve editor performance by rounding paths
Related to #575
2023-06-24 11:48:46 +02:00
Baptiste Arnaud
69254c3624 🧑‍💻 (api) Add icon field in create workspace endpoint 2023-06-24 10:26:38 +02:00
Baptiste Arnaud
6864667297 🛂 (billing) Enable Published bot branding when plan cancelled 2023-06-24 10:26:07 +02:00
Baptiste Arnaud
de0b105276 🛂 (billing) Display branding when subscription… 2023-06-23 11:30:26 +02:00
Baptiste Arnaud
c94cd1e37c 🚑 (condition) Remove null check on comparison value
Closes #572
2023-06-22 14:48:12 +02:00
Baptiste Arnaud
bfca8d9368 🐛 (openai) Fix streaming when starting with OpenAI block 2023-06-22 11:47:28 +02:00
Baptiste Arnaud
8e7479a1bd 🐛 (condition) Fix condition parsing with value "null" 2023-06-22 11:39:03 +02:00
Baptiste Arnaud
97fcee2764 🛂 (billing) Always invoice when subscription is updated 2023-06-22 10:21:17 +02:00
Baptiste Arnaud
3be39cbc78 (openai) Use Vercel's AI SDK for streaming 2023-06-20 17:33:30 +02:00
Baptiste Arnaud
7c2e5740dc 🔒 Add rate limiter on email signin endpoint 2023-06-20 15:49:54 +02:00
Baptiste Arnaud
eaadc59b1f Add recent section in icon and emoji picker
Closes #536
2023-06-20 14:04:33 +02:00
Baptiste Arnaud
36623930bc 📝 Add status page link in footers 2023-06-20 10:45:20 +02:00
Baptiste Arnaud
da289a0da7 📝 (embed) Improve Wix embed instructions 2023-06-20 07:40:14 +02:00
Baptiste Arnaud
471dedccc8 📝 Change CNAME value to vercel domain
To avoid CNAME Cross-User ban from Cloudflare
2023-06-20 07:28:35 +02:00
Baptiste Arnaud
f1b643c5be 🔒 Revert ddos lockdown 2023-06-19 18:41:00 +02:00
Baptiste Arnaud
3e2c462617 🔒 Remove lp image DDOS prevention 2023-06-19 17:15:25 +02:00
Baptiste Arnaud
00945bfa0c 🔒 Disable email auth 2023-06-19 15:23:21 +02:00
Baptiste Arnaud
cec072b2a2 🐛 (conditions) Fix negative comparisons 2023-06-19 10:41:07 +02:00
Baptiste Arnaud
0e31a6ce00 📝 (makecom) Add return data instructions 2023-06-17 08:18:57 +02:00
Baptiste Arnaud
d8e56050f3 🚸 Move item settings button to the left 2023-06-17 08:08:30 +02:00
Baptiste Arnaud
dcdf870308 (openai) Retry OpenAI call if status code is 503
Closes #529
2023-06-16 19:31:28 +02:00
Baptiste Arnaud
524f1565d8 🚸 (openai) Parse stream on client to correctly handle errors 2023-06-16 19:26:29 +02:00
Baptiste Arnaud
83f2a29faa (openai) Add new models and remove tiktoken
Instead of computing total tokens with tiktoken we just attempt retries after trimming the first message
2023-06-16 16:50:32 +02:00
Baptiste Arnaud
e54aab452a 🚸 (webhook) Show save in variables accordion only when needed 2023-06-16 07:32:21 +02:00
Baptiste Arnaud
42234850ed (numberInput) Variabalize min, max, step 2023-06-15 15:20:46 +02:00
Baptiste Arnaud
d8c1a36bc0 (setVariable) Add "Moment of the day" variable value
Closes #564
2023-06-15 14:45:42 +02:00
Baptiste Arnaud
fbe63aa3f3 🚸 (sheets) Show info log instead of error when no rows are found 2023-06-15 14:42:20 +02:00
Baptiste Arnaud
1e9c4bcb9a
📦 Add Cloudron package (#550)
Closes #30
2023-06-14 08:59:38 +02:00
Baptiste Arnaud
290b491e53 (payment) Improve payment input amount label format
Closes #553
2023-06-09 10:44:23 +02:00
Baptiste Arnaud
25524ac622 📝 Add 2 new oss friends in landing page 2023-06-09 10:12:25 +02:00
Baptiste Arnaud
e9c2deee5f 🐛 (openai) Fix default response mapping item 2023-06-08 15:56:52 +02:00
Baptiste Arnaud
4614caf498 📝 Add Google Ads conversion instructions 2023-06-07 09:35:41 +02:00
Baptiste Arnaud
a16367b194 ✏️ Fix FlutterFlow modal title typo 2023-06-06 18:36:58 +02:00
Baptiste Arnaud
a4cb6face8 👷 Add email alert hourly sender
Closes #549
2023-06-06 13:25:13 +02:00
Baptiste Arnaud
40ef934740 Add Näak product recommendation template
Closes #548
2023-06-05 17:53:03 +02:00
Baptiste Arnaud
ef0a2d9dc6 Add conditional choice items
Allows you to conditonnally display an item from the Buttons or the Picture choice input

Closes #546
2023-06-05 17:33:43 +02:00
Baptiste Arnaud
acaa1c6223 🚸 Add item duplication
Closes #545
2023-06-05 14:49:04 +02:00
Baptiste Arnaud
8822e4e7e4 🚸 (openai) Add missing credentials error to chat completion streamer 2023-06-05 09:03:54 +02:00
Baptiste Arnaud
bc90c9c81e Improve credentials dropdown accessibility if long name 2023-06-01 10:37:04 +02:00
Baptiste Arnaud
b6e5002a56 💄 Improve picture choice description UI 2023-06-01 10:29:02 +02:00
Sam Schröder
537b9fe6ce
Update de.ts (#535)
Adjusted words for better readability and more modern terms.
2023-05-31 13:57:28 +02:00
Baptiste Arnaud
57f3e5c004 (js) Add placement option for bubble embed
Allows you to place the bubble embed on the bottom left corner
of your site
2023-05-31 10:22:58 +02:00
Baptiste Arnaud
b2ea8fc059
🌐 Translate workspace (#528) 2023-05-31 07:53:30 +02:00
Loan J
6651c85f02
Update builder configuration docs (#531) 2023-05-30 08:06:16 +02:00
Baptiste Arnaud
9ca0c7014e 🔍 (lp) Add FB app ID in landing page 2023-05-28 11:19:17 +02:00