Commit Graph

103 Commits

Author SHA1 Message Date
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
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
Baptiste Arnaud
54f51b6737 🚸 Better embed button size prop now acception … 2024-02-19 10:19:10 +01:00
Baptiste Arnaud
33cbb2b254 🚸 Rename "webhook" block to "HTTP request" 2024-02-16 12:04:25 +01:00
Baptiste Arnaud
3e2533b934 (rating) Add start number option in Rating block 2024-02-06 17:01:53 +01:00
Baptiste Arnaud
9fc05cb150 🚸 (fileUpload) Add success labels cutomization
Closes #515
2024-02-05 14:11:04 +01:00
Baptiste Arnaud
b660611573 🚑 Fix inline variable parsing on new line issue 2024-02-02 09:29:04 +01:00
Baptiste Arnaud
678e6d5c49 🐛 Fix new markdown parser on web runtime 2024-02-01 16:52:54 +01:00
Baptiste Arnaud
ef05b71869 🐛 (setVariable) Avoid octal number evalution 2024-01-29 09:37:19 +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
5627105ce5 🐛 (calCom) Don't delete session if chat reply has custom embed
Closes #1164
2024-01-22 14:35:12 +01:00
Baptiste Arnaud
98107ee636 🐛 (web) Dynamic first host avatar not displaying in viewer 2024-01-18 11:13:45 +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
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
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
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
74dd169b50 Add maxWidth and maxHeight bubble them props
Closes #458
2023-11-14 08:25:32 +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
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
4b248d554f 🐛 (numberInput) Fix input clearing out on dot or comma press 2023-10-25 17:37: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
cfc5f641a6 Automatically parse markdown from variables in text bubbles
Closes #539
2023-10-05 16:50:17 +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
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
Baptiste Arnaud
90cf2e9f81 (embed) Add aria-label to bubble button 2023-09-25 10:02:18 +02:00
Baptiste Arnaud
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +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
69ef41b534 🐛 (payment) Fix postalCode camel case issue
Closes #822
2023-09-18 18:43:30 +02:00
Baptiste Arnaud
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
Baptiste Arnaud
a2e24d08a0 (date) Add min and max options to date input block
Closes #792
2023-09-08 11:38:23 +02:00
Baptiste Arnaud
9e8fa124b5 (dateInput) Add format option and improve parsing
Use date-fns for custom format and make sure dates are timezone independants

Closes #533, closes #592
2023-09-05 10:34:56 +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