2
0

260 Commits

Author SHA1 Message Date
Baptiste Arnaud
f4d315fed5 (openai) Add tools and functions support (#1167)
Closes #863

Got helped from #1162 for the implementation. Closing it in favor of
this PR.

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

## Summary by CodeRabbit

- **New Features**
- Enhanced `CodeEditor` with additional properties for better form
control and validation.
- Introduced tools and functions in OpenAI integrations documentation
for custom JavaScript execution.
- Added capability to define and use custom JavaScript functions with
the OpenAI assistant.
- Expanded layout metadata options to include various input types and
languages.

- **Improvements**
- Updated the OpenAI actions to support new function execution features.

- **Documentation**
- Added new sections for tools and functions in the OpenAI integrations
guide.

- **Refactor**
- Refactored components and actions to integrate new features and
improve existing functionalities.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-19 08:05:38 +01:00
Baptiste Arnaud
98107ee636 🐛 (web) Dynamic first host avatar not displaying in viewer 2024-01-18 11:13:45 +01:00
Baptiste Arnaud
459dac4224 🔧 Allow react lib to be used with v16 2024-01-10 11:20:31 +01:00
Gabriel Pavão
d42e4a9ce1 Add editor header translation keys (#1110)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Implemented internationalization support across various components
using the `useTranslate` function for dynamic content translation.

- **Enhancements**
- Updated UI elements such as buttons, tooltips, placeholders, and
labels to display translated text, improving accessibility and user
experience for non-English speakers.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-28 10:50:33 +01:00
Baptiste Arnaud
867e68c4d9 🚑 Add back runtimeOptions and fix popup width option 2023-12-22 10:24:33 +01:00
Baptiste Arnaud
512bb09282 🐛 Chatwoot widget open should not unmount bot if standard or popup 2023-12-21 18:44:59 +01:00
Baptiste Arnaud
a6536461e5 (bot) Use ky for queries in bot to improve reliability 2023-12-20 08:31:22 +01:00
Baptiste Arnaud
bf626bb0a3 🐛 (stream) Fix target attribute being trimmed on message stream 2023-12-13 14:47:06 +01:00
Baptiste Arnaud
fbddddcfa0 🚑 Release new embed lib version and fix createId dep… 2023-12-13 11:49:03 +01:00
Baptiste Arnaud
5e019bbb22 Introducing The Forge (#1072)
The Forge allows anyone to easily create their own Typebot Block.

Closes #380
2023-12-13 10:22:02 +01:00
Baptiste Arnaud
957eaf33dd Add dynamic timeout to bot engine api 2023-12-08 13:43:58 +00:00
Baptiste Arnaud
8d413f0865 🚸 (fileUpload) Properly encode commas from uploaded file urls
Closes #955
2023-11-28 17:02:25 +01:00
Baptiste Arnaud
6ce43ed26f 🚸 (redirect) Make sure the redirection is always done on top frame 2023-11-26 10:58:00 +01:00
Baptiste Arnaud
73d2e165bf 🔥 Remove VIEWER_URL_INTERNAL variable
BREAKING CHANGE: NEXT_PUBLIC_VIEWER_INTERNAL does not exist anymore as typebot.io now directly points to the viewer project
2023-11-23 15:34:19 +01:00
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
5298538ecb 🔊 Add response debug log for failing requests without errors 2023-11-17 15:42:40 +01:00
Baptiste Arnaud
7cf64a1abb Show scrollbar on searchable items 2023-11-15 15:27:53 +01:00
Baptiste Arnaud
1f19eb8763 🚸 Auto scroll once picture choice images are fully loaded 2023-11-15 14:10:41 +01:00
Baptiste Arnaud
bd198a4e0f 🐛 (fileUpload) Fix results file display if name contains comma
Closes #955
2023-11-14 17:15:21 +01:00
Baptiste Arnaud
fd00b6fdd5 🐛 (js) Fix default theme values css variables
Closes #1031
2023-11-14 16:45:25 +01:00
Baptiste Arnaud
74dd169b50 Add maxWidth and maxHeight bubble them props
Closes #458
2023-11-14 08:25:32 +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
60829b4d0a 💄 Fix multi choice checkbox UI on small screens 2023-11-09 15:19:38 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
Baptiste Arnaud
eed562b47a (chatwoot) Unmount Typebot embed bubble when opening chatwoot
Closes #1007
2023-11-06 16:57:05 +01:00
Baptiste Arnaud
0c22d858b7 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +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
a5641811a3 🐛 Fix formatted message in input block when input is retried 2023-11-01 14:01:32 +01:00
Baptiste Arnaud
31b3fc311e 🧑‍💻 Fix type resolution for @typebot.io/react and nextjs
Closes #968
2023-10-26 15:57:55 +02:00
Baptiste Arnaud
4b248d554f 🐛 (numberInput) Fix input clearing out on dot or comma press 2023-10-25 17:37:45 +02:00
Baptiste Arnaud
1ff58818a9 ✏️ Fix popup blocked toast typo 2023-10-25 13:57:45 +02:00
Rishi Raj Jain
df3a17efa0 🐛 Freeze body overflow when opening a Popup embed (#937)
fix #763
/claim #763

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

- **Enhancement**: Improved the visibility management of the bot in the
popup. This update ensures a smoother and more intuitive user experience
when interacting with the bot.
- **Bug Fix**: Resolved an issue where certain styles could interfere
with the bot's visibility in the popup. The update prioritizes the
necessary style settings, ensuring the bot's visibility is maintained as
expected, regardless of other conflicting styles.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 15:16:14 +02:00
Baptiste Arnaud
9bbb30f30d 🐛 (textBubble) Fix overflow with long links
Closes #764
2023-10-12 17:33:23 +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
42fd6037f7 🐛 (openai) Fix 2 openai streaming back to back 2023-10-12 13:59:03 +02:00
Baptiste Arnaud
a48026c707 🚑 Fix empty bubble issue when plate element does not have a type attribute 2023-10-11 09:13:59 +02:00
Baptiste Arnaud
49826d1303 🚸 (openai) Improve streaming bubble sequence and visual 2023-10-09 11:30:51 +02:00
Baptiste Arnaud
8eb9f2568b 🚑 Fix custom CSS sanitization 2023-10-09 10:39:47 +02:00
Baptiste Arnaud
877a58dac2 💄 Better parsing of lists and code in streaming bubbles 2023-10-06 19:41:31 +02:00
Baptiste Arnaud
b232a9495e 🚸 (openai) Improve streamed message lists CSS 2023-10-06 15:37:55 +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
cfc5f641a6 Automatically parse markdown from variables in text bubbles
Closes #539
2023-10-05 16:50:17 +02:00
Baptiste Arnaud
59cd79a4b8 🚑 (js) Fix dependency issue preventing user to install @typebot.io/js
Closes #871
2023-09-29 16:02:10 +02:00
Baptiste Arnaud
d46e8013d4 🚸 (pictureChoice) Improve single picture choice with same titles
Closes #859
2023-09-28 15:35:21 +02:00
Baptiste Arnaud
56e175bda6 🐛 (pixel) Fix multiple Meta pixels tracking
Closes #846
2023-09-27 07:52:09 +02:00
Baptiste Arnaud
7b3cbdb8e8 🚑 (fileUpload) Fix file upload in linked typebots 2023-09-26 08:07:33 +02:00
Baptiste Arnaud
459fc4debc 🐛 (bot) Fix reactivity issue when filtering single choices
Closes #803
2023-09-25 11:30:13 +02:00