Commit Graph

104 Commits

Author SHA1 Message Date
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
b73ca7a98a 🐛 Fix default initial items in TableList 2023-11-08 17:38:32 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
Baptiste Arnaud
a855d85d04 🚑 Move cache control header into the post policy 2023-11-02 15:09:08 +01:00
Baptiste Arnaud
d1502f8300 Add cache-control header on newly uploaded files 2023-11-01 15:42:53 +01: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
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
ccc34b3028 🚸 (whatsapp) Improve upgrade plan for whatsapp notice 2023-09-27 14:22:51 +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
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
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
Baptiste Arnaud
322c48cddc (customDomain) Add configuration modal for domain verification
Closes #742
2023-09-18 17:16:30 +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
27a5f4eb74 (openai) Add custom provider and custom models
Closes #532
2023-09-01 16:19:59 +02:00
Baptiste Arnaud
dfcfdf2138 🚸 Skip validation if __ENV.js file does not exist 2023-08-31 09:57:54 +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
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +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
330d399c42 Remember last typebot viewed for support bubble 2023-08-10 07:38:15 +02:00
Baptiste Arnaud
4d3f67c752 🚸 (setVariable) Rename Today setVar type to Now 2023-08-07 14:32:30 +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
b171b39606 🐛 Fix table list when empty always show "add" button
Closes #544
2023-07-24 17:54:08 +02:00
Baptiste Arnaud
e293cb0111 Add Next.js embed library 2023-07-15 12:28:10 +02:00
Baptiste Arnaud
55ff944ebb 💄 Correctly highlight current line in code editor 2023-06-29 15:37:56 +02:00
Baptiste Arnaud
033f8f99dd Add Meta Pixel block
Closes #582
2023-06-28 09:52:03 +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
e9c2deee5f 🐛 (openai) Fix default response mapping item 2023-06-08 15:56:52 +02:00
Baptiste Arnaud
27b009dd76 Remember result in either local or session storage (#514)
Closes #513
2023-05-16 14:58:56 +02:00
Baptiste Arnaud
0f91b34497 (embed) Add size and icon picker in bubble settings (#508) 2023-05-15 15:22:04 +02:00
Baptiste Arnaud
123926f273 🚸 Improve support accessibility
Add documentation button in board menu and hide the support bubble in the editor. Makes it accessible only by clicking the "Help" button
2023-05-15 10:49:51 +02:00
Baptiste Arnaud
bde941613c Add predefined set variable values (#497)
Closes #234
2023-05-11 17:17:24 -04:00
Baptiste Arnaud
9abc50dce5 Add icon picker (#496)
Closes #495
2023-05-11 10:32:33 -04:00
Baptiste Arnaud
035dded654 Add picture choice block
Closes #476
2023-05-04 09:23:33 -04:00
Baptiste Arnaud
65c6f66a5c 🐛 (googleAnalytics) Fix output validation when using variable as event value 2023-05-03 18:09:25 -04:00
Baptiste Arnaud
d50e280ab3 💄 Improve toast UI when containing only description 2023-05-02 14:20:58 -04:00
Baptiste Arnaud
ddb528774b 💄 Fix toast UI in dark mode
Closes #478
2023-05-02 09:13:57 -04:00
Baptiste Arnaud
e827da7b6b 💄 Better toast UI when it doesn't contain details 2023-04-27 15:07:08 +02:00
Baptiste Arnaud
d448e64dc9 Better error toast when previewing bot
Closes #475
2023-04-27 11:21:32 +02:00
Baptiste Arnaud
b614544909 🐛 Refresh variable list on focus 2023-04-19 16:41:35 +02:00
Baptiste Arnaud
7e937e1c7c Add AB test block
Closes #449
2023-04-17 16:47:17 +02:00
Baptiste Arnaud
03cc067418 (setVariable) Add client-side set variable execution
Closes #461
2023-04-14 14:37:23 +02:00
Baptiste Arnaud
00331089a3 💄 Improve Unsplash picker dark mode UI 2023-04-12 08:14:38 +02:00
Baptiste Arnaud
6921cc23a5 🚸 (sheets) Better Get data settings UI 2023-04-11 08:19:42 +02:00
Baptiste Arnaud
75d2a95d08 More translation in FR & PT (#436)
Related to #210
2023-04-06 17:31:23 +02:00
Baptiste Arnaud
684e6338e2 🐛 (typebotLink) Fix linked typebot fetching error
Closes #429
2023-03-30 10:30:26 +02:00
Baptiste Arnaud
3ef4efab4e Add Unsplash picker
Closes #413
2023-03-29 15:20:01 +02:00
Baptiste Arnaud
50db9985c4 (openai) Show textarea instead of text input for message content 2023-03-29 10:58:26 +02:00