Commit Graph

99 Commits

Author SHA1 Message Date
589b776acb diverse Übersetzungen 2024-09-12 13:58:06 +02:00
Baptiste Arnaud
b2c8ef941b 🐛 (audioClip) Fix audio clip UI on Safari 2024-08-21 14:32:47 +02:00
Baptiste Arnaud
135251d3f7 Add audio clips option on text input block
Closes #157
2024-08-20 14:36:41 +02:00
Abhirup Basu
17684ee5b7 ️ Reset remembered state if the typebot is updated (#1675)
Wipe stored chat state if a typebot is updated.

Resolves #1508 
Resolves #1427  



https://github.com/user-attachments/assets/7668d6a7-2916-4158-b715-1cccaeaf6ddf

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2024-08-16 18:10:47 +02:00
Baptiste Arnaud
22953a3445 🐛 Fix append values bug when value contains "`" 2024-07-29 16:35:02 +02:00
Baptiste Arnaud
c6645d4505 🐛 Fix openai total tokens variable set when streaming 2024-07-17 14:47:12 +02:00
Baptiste Arnaud
f4cd1d5ba3 🐛 Fix remember user streaming messages 2024-07-15 15:06:38 +02:00
Baptiste Arnaud
898ed529b0 🐛 (attachments) Fix attachments on mobile and fix long text…
Closes #1611, closes #1610
2024-06-27 09:20:42 +02:00
Baptiste Arnaud
6af47a8cfe 🐛 (payment) Fix payment redirection 2024-06-26 10:59:11 +02:00
Baptiste Arnaud
6db0464fd7 Add attachments option to text input (#1608)
Closes #854
2024-06-26 10:13:38 +02:00
Baptiste Arnaud
918836d6cf (embed) Option to add a wait event for the embed bubble
Closes #1590
2024-06-19 15:27:45 +02:00
Baptiste Arnaud
67f37c02a4 🐛 Fix allowed origins when embedded in iframe
Closes #1518
2024-06-19 09:54:08 +02:00
Baptiste Arnaud
233ff91a57 🚸 Display error toast when script or set vari… 2024-06-11 18:18:05 +02:00
Baptiste Arnaud
3d09ad1818 🚸 Properly parse single break lines in streaming bubble 2024-05-29 08:50:02 +02:00
Baptiste Arnaud
3031d26f03 🧑‍💻 Add more convenient classes to typebot elements
Closes #1073
2024-05-23 16:12:01 +02:00
Baptiste Arnaud
3662c0d631 💄 (bot) Fix bubble max widths and guest avatar shrinking
Closes #1514
2024-05-16 15:25:38 +02:00
Baptiste Arnaud
40f21203b5 (setVariable) Add Transcription system var (#1507)
Closes #1484
2024-05-15 14:24:55 +02:00
Baptiste Arnaud
0a7d598a35 🚸 Fix auto scroll behavior
Based on bottom of last element was a bad idea. Now it is based on
scroll position + some tolerance computed based on screen height
2024-04-25 08:40:12 +02:00
Baptiste Arnaud
a7fc41316c 🚸 Improve auto scroll behavior
Now only based on bottom of last element if it is in view
2024-04-24 17:40:27 +02:00
Baptiste Arnaud
873ba0bfda 💄 Show send icon by default on textboxes
Closes #1418
2024-04-24 16:56:33 +02:00
Baptiste Arnaud
dc1929e15b 🐛 (openai) Fix ask assistant not correctly referencing uploaded f… (#1469)
…iles

Closes #1468, closes #1467, closes #1211
2024-04-24 16:11:06 +02:00
Baptiste Arnaud
5aad10e937 🚸 Improve auto scroll behavior
Only trigger when the last element is entirely visible
2024-04-18 12:11:28 +02:00
Baptiste Arnaud
f9bdcdc7a3 🚑 Fix clientSideAction streaming stuck when it contains … 2024-04-15 07:47:53 +02:00
Baptiste Arnaud
db6d2582fc 🐛 Fix invalid format for code blocks in streaming bubble 2024-04-12 15:23:08 +02:00
Baptiste Arnaud
3f367800df 🐛 Fix streaming text selection (#1444) 2024-04-12 11:02:28 +02:00
Baptiste Arnaud
7d6cf2ad54 🐛 Wipe chat state from storage if disabled
Closes #1429
2024-04-11 12:07:33 +02:00
Baptiste Arnaud
8fe856aff3 🚑 Fix no scroll issue on mobile 2024-04-10 17:56:31 +02:00
Baptiste Arnaud
5c3c7c2b64 (theme) Add container theme options: border, shadow, filter (#1436)
Closes #1332
2024-04-10 10:19:54 +02:00
Baptiste Arnaud
3aee9e7fc8 🚸 On chat state recover, don't execute client side actions 2024-04-03 09:02:47 +02:00
Baptiste Arnaud
50d515cf37 🐛 Fix potential infinite redirect when session is remembered
Closes #1404
2024-04-02 13:31:43 +02:00
Baptiste Arnaud
ed5096e2b6 ♻️ Include forged blocks schema in typebot schema
Closes #1364
2024-03-19 08:31:36 +01:00
Baptiste Arnaud
b53242ce6a 🐛 (bot) Fix await processClientActio… 2024-03-15 15:56:04 +01:00
Baptiste Arnaud
968abf5243 🚸 (calCom) Fix embed responsivity
Closes #1210
2024-03-15 15:16:53 +01:00
Baptiste Arnaud
0dc276c18f Restore chat state when user is remembered (#1333)
Closes #993

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

## Summary by CodeRabbit

- **New Features**
- Added a detailed explanation page for the "Remember user" setting in
the app documentation.
- Introduced persistence of chat state across sessions, with options for
local or session storage.
- Enhanced bot functionality to store and retrieve initial chat replies
and manage bot open state with improved storage handling.
- Added a new callback for chat state persistence to bot component
props.

- **Improvements**
- Updated the general settings form to clarify the description of the
"Remember user" feature.
- Enhanced custom CSS handling and progress value persistence in bot
components.
- Added conditional transition disabling in various components for
smoother user experiences.
- Simplified the handling of `onTransitionEnd` across multiple bubble
components.

- **Refactor**
- Renamed `inputIndex` to `chunkIndex` or `index` in various components
for consistency.
	- Removed unused ESLint disable comments related to reactivity rules.
	- Adjusted import statements and cleaned up code across several files.

- **Bug Fixes**
- Fixed potential issues with undefined callbacks by introducing
optional chaining in component props.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-07 15:39:09 +01:00
Baptiste Arnaud
b05fafe518 🐛 Fix progress bar fixed position on Bubble embed
Closes #1328
2024-03-07 14:26:48 +01:00
Baptiste Arnaud
8846cdbf6b 💄 (bot) Show only loading bubble when current block only has messages 2024-03-02 14:43:38 +01:00
Baptiste Arnaud
2d7ccf17c0 (theme) Add progress bar option (#1276)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced progress bar functionality across various components for a
more interactive user experience.
	- Added progress tracking and display in chat sessions.
- **Enhancements**
- Adjusted layout height calculations in the settings and theme pages
for consistency.
- Improved theme customization options with progress bar styling and
placement settings.
- **Bug Fixes**
- Fixed dynamic height calculation issues in settings and theme side
menus by standardizing heights.
- **Style**
- Added custom styling properties for the progress bar in chat
interfaces.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-23 08:31:14 +01:00
Baptiste Arnaud
7cf1a3e26d (theme) Custom font option (#1268)
Closes #1249

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

## Summary by CodeRabbit

- **New Features**
- Introduced components for customizing fonts, including Google and
custom font options.
- Enhanced theme customization by simplifying theme objects and adding
new font customization options.
- Implemented dynamic font injection for web pages based on
user-selected font configurations.

- **Bug Fixes**
- Fixed a condition in theme template card rendering to correctly check
avatar enablement.
- Corrected font property handling across various components to support
both string and object types.

- **Refactor**
	- Updated option properties in RadioButtons component to be readonly.
- Simplified logic for setting CSS variables for fonts, including checks
for font types and existence.

- **Documentation**
- Added constants and schemas for supporting new font types in theme
customization.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-20 10:36:57 +01:00
Baptiste Arnaud
f052b4c805 (settings) Add delay between bubbles option and typing disabling on first message 2024-01-29 09:37:19 +01:00
Baptiste Arnaud
42008f8c18 (openai) Enable setVariable function in tools
Closes #1178
2024-01-22 09:22:28 +01:00
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
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
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
5298538ecb 🔊 Add response debug log for failing requests without errors 2023-11-17 15:42:40 +01:00
Baptiste Arnaud
1f19eb8763 🚸 Auto scroll once picture choice images are fully loaded 2023-11-15 14:10:41 +01:00
Baptiste Arnaud
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00