Commit Graph

46 Commits

Author SHA1 Message Date
Baptiste Arnaud
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
Baptiste Arnaud
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +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
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +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
ee685f14f3 (video) Allow changing video height when resolved to an iframe 2023-10-12 14:48:52 +02:00
Baptiste Arnaud
a7b784b446 🚸 (videoBubble) Reparse variable video URL to correctly detect provider 2023-10-03 11:44:51 +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
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +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
a0a719626c 🚸 (editor) Avoid highlighting variables in text bubble if not created 2023-08-29 18:15:18 +02:00
Baptiste Arnaud
037d4ce345 (audio) Add autoplay switch in settings 2023-08-07 12:20:38 +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
43555c171e 🚸 New dedicated onboarding page 2023-07-25 16:21:40 +02:00
Baptiste Arnaud
1ebd528753 (video) Add youtube shorts auto parsing 2023-07-21 08:02:15 +02:00
Baptiste Arnaud
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
Baptiste Arnaud
035dded654 Add picture choice block
Closes #476
2023-05-04 09:23:33 -04:00
Baptiste Arnaud
68a15f5ac1 ⬆️ Upgrade dependencies 2023-05-02 15:33:42 -04:00
Baptiste Arnaud
2b0e2b09f5 🐛 Fix variable dropdown size in text bubble editor when z… 2023-05-02 14:20:58 -04:00
Baptiste Arnaud
b614544909 🐛 Refresh variable list on focus 2023-04-19 16:41:35 +02:00
Baptiste Arnaud
e0a9824913 ♻️ Simplify text bubble content shape
Remove html and plainText field because it was redundant

Closes #386
2023-04-13 17:10:59 +02:00
Baptiste Arnaud
e06f8186f6 (imageBubble) Add redirect on image click option
Closes #448
2023-04-07 11:34:58 +02:00
Baptiste Arnaud
92b92ed268 🚸 (editor) Improve block dragging behavior 2023-03-24 15:53:06 +01:00
Baptiste Arnaud
fa31984456 🐛 (variables) Correctly parse variables in template literals 2023-03-23 18:32:12 +01:00
Baptiste Arnaud
02d25d0fc7 🐛 Fix focus after selecting mark in text editor 2023-03-21 18:26:39 +01:00
Baptiste Arnaud
44d7a0bcb8 ♻️ (builder) Remove barrel export and flatten folder arch 2023-03-15 11:52:38 +01:00
Baptiste Arnaud
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
Baptiste Arnaud
ff09814ead ⬆️ Upgrade dependencies 2023-03-14 15:08:53 +01:00
Baptiste Arnaud
c4db2f42a6 (openai) Add Messages sequence type
To make it easy to just plug a sequence of user / assistant messages to Chat completion task

Closes #387
2023-03-13 16:28:08 +01:00
Baptiste Arnaud
cc7d7285e5 🚸 Add a better select input
Also improves other inputs behavior
2023-03-03 09:01:11 +01:00
Baptiste Arnaud
bc47cc46c0 🐛 (editor) Fix text bubble refocus carret position
Closes #329
2023-02-23 08:49:07 +01:00
Baptiste Arnaud
debdac12ff Introduce bot v2 in builder (#328)
Also, the new engine is the default for updated typebots for viewer

Closes #211
2023-02-21 15:25:14 +01:00
Baptiste Arnaud
621cd58244 (embedBubble) Enable variable embed height 2023-02-19 09:53:57 +01:00
Baptiste Arnaud
51f76700b2 📦 Update cuid to cuid2 2023-02-10 15:06:02 +01:00
Baptiste Arnaud
0fc82cf73b 🐛 (editor) Fix outside click not working in some cases 2023-01-26 10:08:33 +01:00
Baptiste Arnaud
b65ffe8c53 🐛 (editor) Improve variables dropdown auto focus 2023-01-11 10:53:24 +01:00
Baptiste Arnaud
c1a32ce26b 🐛 (editor) Fix variable dropdown overflow
Closes #209
2023-01-04 15:35:11 +01:00
Baptiste Arnaud
bea1a6a3f8 🧑‍💻 Parse line breaks for plainText attributes
Closes #202
2023-01-02 10:41:06 +01:00
Baptiste Arnaud
3394fa5e0a Add dark mode (#191)
Closes #189
2022-12-20 16:55:43 +01:00
Baptiste Arnaud
b4dc64028c 🐛 (textBubble) Fix link parsing in text editor 2022-12-02 17:46:31 +01:00
Baptiste Arnaud
0593d2ead8 🐛 (graph) Make the text bubble selectable without moving group 2022-11-24 08:44:31 +01:00
Baptiste Arnaud
34cfd1db30 ⬆️ Upgrade dependencies 2022-11-21 19:08:14 +01:00
Baptiste Arnaud
e09adf5c64 🐛 (audioBubble) Remove .ogg upload option because of Safari incompatibility 2022-11-20 08:54:29 +01:00
Baptiste Arnaud
7db0e01aca Add audio bubble block
Closes #167
2022-11-17 10:33:17 +01:00
Baptiste Arnaud
643571fe7d ♻️ (builder) Change to features-centric folder structure 2022-11-15 15:14:38 +01:00