Commit Graph

124 Commits

Author SHA1 Message Date
Baptiste Arnaud
3320e1b809 🚸 (url) Improve URL input behavior on web
Closes #1074
2024-05-23 16:38:32 +02:00
Baptiste Arnaud
10cbf4dfbc 🐛 (calCom) Fix weekly and column layouts restrained from max-width prop 2024-05-23 15:37:51 +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
c75148c800 🐛 (bot) Fix svg images not being displayed
Closes #1456
2024-04-23 11:27:02 +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
3f367800df 🐛 Fix streaming text selection (#1444) 2024-04-12 11:02:28 +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
2f84b102b0 💄 Fix image bubble distortion on Safari 2024-04-04 08:29:56 +02:00
Baptiste Arnaud
b5dd12c6fe 🐛 Fix autocomplete submit
Closes #1402
2024-04-03 10:18:55 +02:00
Baptiste Arnaud
a412a318c0 🐛 Fix auto filled input not submittable
Closes
2024-04-02 13:42:10 +02:00
Baptiste Arnaud
af941b1353 🐛 (bubble) Fix bubble chat height when custom size 2024-03-26 19:38:25 +01:00
Baptiste Arnaud
1f158e78c9 🚸 (bubble) Add swipe gesture to close preview…
Closes #1388
2024-03-26 19:26:39 +01:00
Baptiste Arnaud
669f55062b 🚑 (stream) Fix stream for Vercel hosting 2024-03-23 18:14:37 +01:00
Baptiste Arnaud
2fcf83c529 Introduce a new high-performing standalone chat API (#1200)
Closes #1154

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

- **New Features**
	- Added authentication functionality for user sessions in chat API.
- Introduced chat-related API endpoints for starting, previewing, and
continuing chat sessions, and streaming messages.
- Implemented WhatsApp API webhook handling for receiving and processing
messages.
- Added environment variable `NEXT_PUBLIC_CHAT_API_URL` for chat API URL
configuration.

- **Bug Fixes**
	- Adjusted file upload logic to correctly determine the API host.
	- Fixed message streaming URL in chat integration with OpenAI.

- **Documentation**
- Updated guides for creating blocks, local installation, self-hosting,
and deployment to use `bun` instead of `pnpm`.

- **Refactor**
	- Refactored chat API functionalities to use modular architecture.
- Simplified client log saving and session update functionalities by
using external functions.
	- Transitioned package management and workflow commands to use `bun`.

- **Chores**
- Switched to `bun` for package management in Dockerfiles and GitHub
workflows.
	- Added new Dockerfile for chat API service setup with Bun framework.
	- Updated `.prettierignore` and documentation with new commands.

- **Style**
	- No visible changes to end-users.

- **Tests**
	- No visible changes to end-users.

- **Revert**
	- No reverts in this release.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-03-21 10:23:23 +01:00
Baptiste Arnaud
9c86c5e76f 🐛 (pictureChoice) Fix dynamic image only variable saving 2024-03-19 14:02:53 +01:00
Baptiste Arnaud
26a9282c20 🐛 (fileUpload) Handle duplicate names properly
Closes #1366
2024-03-18 18:22:45 +01:00
Baptiste Arnaud
663653ec9a 🐛 (bubble) Fix bubble bot window left overflow
Closes #1362
2024-03-15 15:18:16 +01:00
Baptiste Arnaud
968abf5243 🚸 (calCom) Fix embed responsivity
Closes #1210
2024-03-15 15:16:53 +01:00
Yovi Budirahardjo
a9daac68ba 🚸 Add aria-label on Bubble close button (#1344)
Fix Issue
[#1321](https://github.com/baptisteArno/typebot.io/issues/1321) Preview
Message button's accessibility issue
2024-03-12 13:12:38 +00: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
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