Commit Graph

1547 Commits

Author SHA1 Message Date
Baptiste Arnaud
bd198a4e0f 🐛 (fileUpload) Fix results file display if name contains comma
Closes #955
2023-11-14 17:15:21 +01:00
Baptiste Arnaud
a1d7415227 🐛 (billing) Set invoicing behavior to "always invoice" to fix double payment issue 2023-11-14 16:00:10 +01:00
Baptiste Arnaud
23625ad214 🐛 (textBubble) Fix variable parsing when starting or finishing by spaces 2023-11-14 15:14:36 +01:00
Baptiste Arnaud
8f224e3293 📝 Change community URLs, introduce Discord server
Closes #866
2023-11-14 08:48:31 +01:00
Baptiste Arnaud
74dd169b50 Add maxWidth and maxHeight bubble them props
Closes #458
2023-11-14 08:25:32 +01:00
Baptiste Arnaud
c59df18f21 📝 Add OpenAI Dialogue option in breaking change doc 2023-11-13 17:59:01 +01:00
Baptiste Arnaud
06065c3e85 Revert new authentication method for preview bot 2023-11-13 15:45:11 +01:00
Baptiste Arnaud
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
Baptiste Arnaud
63233eb7ee 🐛 (webhook) Fix legacy webhook {{state}} body parsing 2023-11-12 08:35:29 +01:00
Baptiste Arnaud
bac2393b5d 🛂 Reduce sendMessage serverless function max memory 2023-11-12 08:24:34 +01:00
Baptiste Arnaud
dd4de582a9
Add more video supports (#1023)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
	- Introduced a new layout option for the TextInput component.
- Added support for GUMLET and TIKTOK video content types in
VideoBubbleContent.
- Enhanced VideoUploadContent to handle new properties like aspectRatio
and maxWidth.
- Updated VideoBubble to include aspect-ratio and max-width styles based
on content properties.
- **Refactor**
- Changed the extension used for internationalization (i18n) in the VS
Code environment.
	- Modified how environment variables are accessed in tolgee.tsx.
- Updated parseVideoUrl function to include a new property
videoSizeSuggestion.
- **Chores**
- Updated the tolgeeEnv object in env.ts and added a new optional
parameter to the getRuntimeVariable function.
- Expanded video handling capabilities by introducing new video content
types and associated regular expressions.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Closes #978 #936 #926
2023-11-10 11:17:14 +01:00
Baptiste Arnaud
df578417aa 📝 Add breaking changes and OpenAI block improvements docs 2023-11-09 16:04:40 +01:00
Baptiste Arnaud
e9a10c078f 🐛 Fix theme background and font default selection 2023-11-09 15:12:48 +01:00
Baptiste Arnaud
647afdb8fa 🐛 (editor) Fix edge delete with undefined groupIndex 2023-11-09 09:22:33 +01:00
Baptiste Arnaud
9eef1665f5 🚑 (zapier) Fix execute webhook endpoint too strict on block type check 2023-11-09 08:36:46 +01:00
Baptiste Arnaud
58b9e0b306 🚑 (editor) Fix move block with outgoing edge 2023-11-08 18:31:32 +01:00
Baptiste Arnaud
b73ca7a98a 🐛 Fix default initial items in TableList 2023-11-08 17:38:32 +01:00
Baptiste Arnaud
4b67f9e2e2 🐛 Fix typebot publishing endpoint events parsing 2023-11-08 17:12:58 +01:00
Baptiste Arnaud
64418df3a1 🚸 (typebotLink) Make "current" option work like typebot links instead of jump 2023-11-08 17:05:02 +01:00
Baptiste Arnaud
aceba0abd0 🐛 (import) Fix import typebot files that does not have name field 2023-11-08 16:42:59 +01:00
Baptiste Arnaud
35300eaf34
♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
onFire(Abhi)
68e4fc71fb
fix: whole page overflowing on the x axis and displaying a horizontal scrollbar (#1011)
this PR fixes issue
https://github.com/baptisteArno/typebot.io/issues/1008 by making the
position of `HandDrawnArrow`'s parent relative, which confines the
absolute position of its children to be within the bounds of the parent,
causing layout not shift due to `right -30px`

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

## Summary by CodeRabbit

- **New Features**
- Updated the layout behavior of the `RealTimeResults` component on the
landing page for better user experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-11-08 07:40:02 +01:00
Baptiste Arnaud
b2b82c48e1 ⬆️ Upgrade Sentry to mitigate security issue
https://github.com/getsentry/sentry-javascript/security?mkt_tok=Nzc2LU1KTi01MDEAAAGPNi0ooiOxT0sphdzXd6xHU63d5z5Sc75FNR8cH-6EK-zlvUsUuUqP1YsmnxivxEyXnGZS2cN8XkpuNNGi3NIfoDnwoHci-31tbyJQB8y0Cg
2023-11-06 16:24:26 +01:00
Baptiste Arnaud
0c22d858b7 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +01:00
Baptiste Arnaud
57e454008e 📝 Add UTM params forwarding video tutorial 2023-11-03 15:44:00 +01:00
Baptiste Arnaud
a855d85d04 🚑 Move cache control header into the post policy 2023-11-02 15:09:08 +01:00
Baptiste Arnaud
bdf9faea78 ✏️ (billing) Fix plan name typo 2023-11-02 14:30:04 +01:00
Baptiste Arnaud
d1502f8300 Add cache-control header on newly uploaded files 2023-11-01 15:42:53 +01:00
Baptiste Arnaud
585e1d4074 ✏️ Fix CORSRules content typo for S3 config 2023-11-01 13:51:38 +01:00
Baptiste Arnaud
b80bea11b4 📝 Add text link section in text bubble doc 2023-10-31 14:07:28 +01:00
Baptiste Arnaud
3e02436d30 📝 Add webhook configuration tuto video 2023-10-30 15:20:53 +01:00
Baptiste Arnaud
2d1ce73931 🐛 Fix group duplicate new title bug 2023-10-28 21:32:57 +02:00
Baptiste Arnaud
bed8b42a2e
🧑‍💻 Migrate to Tolgee (#976)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Summary by CodeRabbit

- Refactor: Transitioned to a new translation library (`@tolgee/react`)
across the application, enhancing the localization capabilities and
consistency.
- New Feature: Introduced a JSON configuration file for application
settings, improving customization and flexibility.
- Refactor: Updated SVG attribute naming convention in the
`WhatsAppLogo` component to align with React standards.
- Chore: Adjusted the `.gitignore` file and added a new line at the end.
- Documentation: Added instructions for setting up environment variables
for the Tolgee i18n contribution dev tool, improving the self-hosting
configuration guide.
- Style: Updated the `CollaborationMenuButton` to hide the
`PopoverContent` component by scaling it down to zero.
- Refactor: Simplified error handling logic for fetching and updating
typebots in `TypebotProvider.tsx`, improving code readability and
maintenance.
- Refactor: Removed the dependency on the `parseGroupTitle` function,
simplifying the code in several components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-27 09:23:50 +02:00
Baptiste Arnaud
a347a2741d ✏️ Fix manual deployment doc start script typo
Closes #969
2023-10-26 15:42:09 +02:00
neo773
f1e3836184
🐛 Fix graph flickering on high res displays (#959)
This PR fixes the flickering and improves the performance so panning
around the graph is much smoother than before.



https://github.com/baptisteArno/typebot.io/assets/62795688/56b91e20-1eb0-44b5-9a4a-c07525c2ba48


/claim #575
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Summary by CodeRabbit

- Refactor: Improved the Graph component's scaling calculation for
enhanced readability and maintenance.
- Style: Updated the Graph component's style properties to ensure better
compatibility and visual performance on webkit browsers.

These changes aim to enhance the user experience by ensuring the Graph
component displays consistently across different web browsers. The
refactoring of the scaling calculation also makes the code easier to
understand and maintain, potentially leading to quicker updates and bug
fixes in the future.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-10-26 14:37:28 +02:00
Baptiste Arnaud
53558dc303 🚑 Fix can invite new members in workspace bool
Closes #964
2023-10-25 17:57:13 +02:00
Prateek Kalra
eba52a5397
Fix audio content overflow in windows. (#944)
/claim #667

The volume slider in audio element in windows chrome overflows.
Possible fixes:
1. Change the width of audio blocks. (Not suggested, as the width of all
blocks should be consistent)
2. Adjust the audio sub elements, so it doesn't overflow.(IMPLEMENTED)

It's not so straightforward to apply customization to audio tag element.
The best possible way I could find, to make the app look good, is by
hiding the timeline track in the audio. It was showing up very small
anyway(due to block width), so there shouldn't be an issue.
Please look at the before & after videos below.


https://github.com/baptisteArno/typebot.io/assets/29385192/f61c5b58-834d-470f-b684-bd82181e07f4



https://github.com/baptisteArno/typebot.io/assets/29385192/88f932eb-dc7e-4346-bf64-6405a015013e


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

- Style: Improved the visual layout of the audio player on Windows. The
update includes a cleaner interface by hiding the track timeline and
adjusting the media controls panel. This change enhances the user
experience by providing a more streamlined and intuitive audio player
design.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-19 14:39:38 +02:00
Prateek Kalra
2c15662ef2
🐛 Fixed pinch zooming mouse issue (with ctrl key) (#940)
**Fixed the drastic zoom increase decrease on ctrl + mouse scroll.**

The issue was occuring due to the "scale" property in the pinch gesture.
The scale was getting bigger values, leading to more zooming.
What I did was, made sure that maximum scale difference between current
and last value cannot be more than the scaling factor used in
zoomin/zoomout buttons. That is. 0.2
Also, the pinch zoom would work as expected.

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

- Improvement: Enhanced zoom precision in the Graph component. This
update allows for more accurate scaling when adjusting the view in the
graph builder. The change ensures that the zoom level adjusts more
precisely, providing a smoother and more controlled user experience when
interacting with graphs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-18 15:07:27 +02:00
Baptiste Arnaud
885dcecd8d 🐛 (results) Lower the max limit in getResults endpoint to avoid payload size error
Closes #908
2023-10-17 14:19:09 +02:00
Baptiste Arnaud
6b0c263f88 🚑 (billing) Fix chats pricing tiers incremental flat amou… 2023-10-17 08:32:41 +02:00
Baptiste Arnaud
797751b418
(billing) Automatic usage-based billing (#924)
BREAKING CHANGE: Stripe environment variables simplified. Check out the
new configs to adapt your existing system.

Closes #906





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

**New Features:**
- Introduced a usage-based billing system, providing more flexibility
and options for users.
- Integrated with Stripe for a smoother and more secure payment process.
- Enhanced the user interface with improvements to the billing,
workspace, and pricing pages for a more intuitive experience.

**Improvements:**
- Simplified the billing logic, removing additional chats and yearly
billing for a more streamlined user experience.
- Updated email notifications to keep users informed about their usage
and limits.
- Improved pricing and currency formatting for better clarity and
understanding.

**Testing:**
- Updated tests and specifications to ensure the reliability of new
features and improvements.

**Note:** These changes aim to provide a more flexible and user-friendly
billing system, with clearer pricing and improved notifications. Users
should find the new system more intuitive and easier to navigate.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 08:03:30 +02:00
Baptiste Arnaud
1d0aab71f9 🐛 (webhook) Fix webhook response data key number parsing 2023-10-16 14:33:13 +02:00
Baptiste Arnaud
ee685f14f3 (video) Allow changing video height when resolved to an iframe 2023-10-12 14:48:52 +02:00
Baptiste Arnaud
e071c810ae 📝 (openai) Add "Multiple OpenAI blocks" video section 2023-10-12 14:10:53 +02:00
Baptiste Arnaud
54788a828e 💚 Fix docker build when Sentry not enabled 2023-10-10 15:04:17 +02:00
Baptiste Arnaud
021cae3c29 📝 (s3) Add s3 configuration detailed instructions 2023-10-09 10:14:05 +02:00
Baptiste Arnaud
258de60bd2 🐛 (editor) Fix default branding settings on cre… 2023-10-09 08:24:11 +02:00
Baptiste Arnaud
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
Baptiste Arnaud
15823df6bd 📝 (embed) Add note about non-embeddable websites 2023-10-07 08:29:47 +02:00
Baptiste Arnaud
224a08b932 🚸 (condition) Don't show value in node content if operator is "set" or "empty" 2023-10-07 08:08:56 +02:00
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