2
0
Commit Graph

157 Commits

Author SHA1 Message Date
9c86c5e76f 🐛 (pictureChoice) Fix dynamic image only variable saving 2024-03-19 14:02:53 +01:00
a4c865ca26 💚 Fix embeds build and create-block CLI 2024-03-19 10:38:55 +01:00
ed5096e2b6 ♻️ Include forged blocks schema in typebot schema
Closes #1364
2024-03-19 08:31:36 +01:00
26a9282c20 🐛 (fileUpload) Handle duplicate names properly
Closes #1366
2024-03-18 18:22:45 +01:00
b53242ce6a 🐛 (bot) Fix await processClientActio… 2024-03-15 15:56:04 +01:00
663653ec9a 🐛 (bubble) Fix bubble bot window left overflow
Closes #1362
2024-03-15 15:18:16 +01:00
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
b05fafe518 🐛 Fix progress bar fixed position on Bubble embed
Closes #1328
2024-03-07 14:26:48 +01:00
8846cdbf6b 💄 (bot) Show only loading bubble when current block only has messages 2024-03-02 14:43:38 +01:00
dd9b7eebb5 🐛 (bot) Remove SendButton disable state
It did not turn enable on some browser when input is autofilled

Closes #878
2024-03-01 16:02:16 +01:00
229453d3d3 💄 Improve progress bar UI and make avoid starting at 0 2024-02-27 14:22:46 +01:00
0b193101b9 🐛 (theme) Fix custom bg color when type is undefined 2024-02-27 11:34:12 +01:00
b9e54686d5 ⬆️ Upgrade and improve plate editor
Closes #606
2024-02-27 10:03:55 +01:00
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
54f51b6737 🚸 Better embed button size prop now acception … 2024-02-19 10:19:10 +01:00
3e2533b934 (rating) Add start number option in Rating block 2024-02-06 17:01:53 +01:00
9fc05cb150 🚸 (fileUpload) Add success labels cutomization
Closes #515
2024-02-05 14:11:04 +01:00
b660611573 🚑 Fix inline variable parsing on new line issue 2024-02-02 09:29:04 +01:00
678e6d5c49 🐛 Fix new markdown parser on web runtime 2024-02-01 16:52:54 +01:00
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
4b8b80e996 👷 Change pre-commit format fix to check only 2024-01-29 12:08:11 +01:00
cf101d6cf6 🐛 Fix unexported Popup and Bubble from react lib 2024-01-29 09:37:19 +01:00
f052b4c805 (settings) Add delay between bubbles option and typing disabling on first message 2024-01-29 09:37:19 +01:00
42008f8c18 (openai) Enable setVariable function in tools
Closes #1178
2024-01-22 09:22:28 +01:00
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
98107ee636 🐛 (web) Dynamic first host avatar not displaying in viewer 2024-01-18 11:13:45 +01:00
459dac4224 🔧 Allow react lib to be used with v16 2024-01-10 11:20:31 +01:00
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
867e68c4d9 🚑 Add back runtimeOptions and fix popup width option 2023-12-22 10:24:33 +01:00
512bb09282 🐛 Chatwoot widget open should not unmount bot if standard or popup 2023-12-21 18:44:59 +01:00
a6536461e5 (bot) Use ky for queries in bot to improve reliability 2023-12-20 08:31:22 +01:00
bf626bb0a3 🐛 (stream) Fix target attribute being trimmed on message stream 2023-12-13 14:47:06 +01:00
fbddddcfa0 🚑 Release new embed lib version and fix createId dep… 2023-12-13 11:49:03 +01:00
957eaf33dd Add dynamic timeout to bot engine api 2023-12-08 13:43:58 +00:00
8d413f0865 🚸 (fileUpload) Properly encode commas from uploaded file urls
Closes #955
2023-11-28 17:02:25 +01:00
6ce43ed26f 🚸 (redirect) Make sure the redirection is always done on top frame 2023-11-26 10:58:00 +01:00
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
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
5298538ecb 🔊 Add response debug log for failing requests without errors 2023-11-17 15:42:40 +01:00
7cf64a1abb Show scrollbar on searchable items 2023-11-15 15:27:53 +01:00
1f19eb8763 🚸 Auto scroll once picture choice images are fully loaded 2023-11-15 14:10:41 +01:00
bd198a4e0f 🐛 (fileUpload) Fix results file display if name contains comma
Closes #955
2023-11-14 17:15:21 +01:00
fd00b6fdd5 🐛 (js) Fix default theme values css variables
Closes #1031
2023-11-14 16:45:25 +01:00
74dd169b50 Add maxWidth and maxHeight bubble them props
Closes #458
2023-11-14 08:25:32 +01:00
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
60829b4d0a 💄 Fix multi choice checkbox UI on small screens 2023-11-09 15:19:38 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
eed562b47a (chatwoot) Unmount Typebot embed bubble when opening chatwoot
Closes #1007
2023-11-06 16:57:05 +01:00
0c22d858b7 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +01:00
a855d85d04 🚑 Move cache control header into the post policy 2023-11-02 15:09:08 +01:00