Commit Graph

60 Commits

Author SHA1 Message Date
Baptiste Arnaud
135251d3f7 Add audio clips option on text input block
Closes #157
2024-08-20 14:36:41 +02:00
Baptiste Arnaud
f4cd1d5ba3 🐛 Fix remember user streaming messages 2024-07-15 15:06:38 +02:00
Baptiste Arnaud
043f0054b0 ⬆️ Upgrade AI SDK (#1641) 2024-07-15 14:32: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
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
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
94539e8ed3 🐛 Fix input background not properly set 2024-04-17 18:54:58 +02:00
Baptiste Arnaud
dcd3eaa6fd 🐛 Fix border color not changing 2024-04-17 07:41:23 +02:00
Baptiste Arnaud
3f367800df 🐛 Fix streaming text selection (#1444) 2024-04-12 11:02:28 +02:00
Baptiste Arnaud
51bf5b653c 🐛 (theme) Fix progress bar background color 2024-04-11 10:15:37 +02:00
Baptiste Arnaud
408aeb4df4 🐛 (theme) Fix containers disabled bg should be transparent 2024-04-11 10:07:03 +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
6a4a43efb4 🐛 Fix new guessApiHost in editor 2024-04-03 14:34:20 +02:00
Baptiste Arnaud
b5dd12c6fe 🐛 Fix autocomplete submit
Closes #1402
2024-04-03 10:18:55 +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
b14ee1249b 🚑 Fix embed fallback api host 2024-03-22 07:50:21 +01:00
Baptiste Arnaud
6876b486e1 🐛 Fix experimental chat api enable checking 2024-03-21 10:38:06 +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
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
229453d3d3 💄 Improve progress bar UI and make avoid starting at 0 2024-02-27 14:22:46 +01:00
Baptiste Arnaud
0b193101b9 🐛 (theme) Fix custom bg color when type is undefined 2024-02-27 11:34:12 +01:00
Baptiste Arnaud
33d0fcd842 🚸 (theme) Improve custom font flow by asking for font-face props directly 2024-02-27 11:28:37 +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
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
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
fd00b6fdd5 🐛 (js) Fix default theme values css variables
Closes #1031
2023-11-14 16:45:25 +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
Baptiste Arnaud
a5641811a3 🐛 Fix formatted message in input block when input is retried 2023-11-01 14:01:32 +01:00
Baptiste Arnaud
42fd6037f7 🐛 (openai) Fix 2 openai streaming back to back 2023-10-12 13:59:03 +02:00
Baptiste Arnaud
49826d1303 🚸 (openai) Improve streaming bubble sequence and visual 2023-10-09 11:30:51 +02:00
Baptiste Arnaud
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00
Baptiste Arnaud
56e175bda6 🐛 (pixel) Fix multiple Meta pixels tracking
Closes #846
2023-09-27 07:52:09 +02:00
Baptiste Arnaud
111fb323b1 (wait) Add pause option on Wait block
Closes #751
2023-09-04 14:52:16 +02:00
Baptiste Arnaud
036b407a11 🐛 Improve parse runtime env reading function 2023-08-28 14:50:58 +02:00
Baptiste Arnaud
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Baptiste Arnaud
af1bee8756 🚸 (bot) Update reply if we get new format from backend 2023-08-07 15:24:15 +02:00
Baptiste Arnaud
ee067ceee1 💄 Improve multiple choice color when image background 2023-08-01 18:42:39 +02:00
Baptiste Arnaud
3952ae2755 Stream bubble content if placed right after Op…
Closes #617
2023-07-19 11:20:44 +02:00
Baptiste Arnaud
3421e4822f 🚑 (bot) Share inject custom head code again 2023-07-11 10:19:47 +02:00
Baptiste Arnaud
1beb4bb1b9 🧑‍💻 (bot) Wrap custom head code scripts with try catch
To avoid having the custom head bugs reported on Sentry
2023-07-11 10:04:39 +02:00
Baptiste Arnaud
aeb62f968a 🐛 (js) Fix container color when empty 2023-07-06 16:00:41 +02:00
Baptiste Arnaud
033f8f99dd Add Meta Pixel block
Closes #582
2023-06-28 09:52:03 +02:00
Baptiste Arnaud
524f1565d8 🚸 (openai) Parse stream on client to correctly handle errors 2023-06-16 19:26:29 +02:00
Baptiste Arnaud
75f9da0a4f (webhook) Add client execution option 2023-05-26 09:20:22 +02:00