2
0
Commit Graph

21 Commits

Author SHA1 Message Date
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
f052b4c805 (settings) Add delay between bubbles option and typing disabling on first message 2024-01-29 09:37:19 +01:00
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
1f19eb8763 🚸 Auto scroll once picture choice images are fully loaded 2023-11-15 14:10:41 +01:00
084588a086 🧑‍💻 (chat) Introduce startChat and continueChat endpoints
Closes #1030
2023-11-13 15:27:36 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
9bbb30f30d 🐛 (textBubble) Fix overflow with long links
Closes #764
2023-10-12 17:33:23 +02:00
49826d1303 🚸 (openai) Improve streaming bubble sequence and visual 2023-10-09 11:30:51 +02:00
877a58dac2 💄 Better parsing of lists and code in streaming bubbles 2023-10-06 19:41:31 +02:00
af1bee8756 🚸 (bot) Update reply if we get new format from backend 2023-08-07 15:24:15 +02:00
3952ae2755 Stream bubble content if placed right after Op…
Closes #617
2023-07-19 11:20:44 +02:00
0ca48e4c08 (js) Improve auto scroll when no host bubble
Closes #522
2023-05-26 18:31:13 +02:00
56364fd863 (openai) Stream chat completion to avoid serverless timeout (#526)
Closes #520
2023-05-25 10:32:35 +02:00
a3fb098dfa 🚸 Improve chat auto scroll
Instead of scrolling all the way to the bottom on each bubble, now we scroll to the top of the last bubble

Closes #486
2023-05-12 16:39:44 -04:00
5b4a6c523d (buttons) Add searchable choices
Closes #473
2023-04-26 17:54:00 +02:00
124f350aa2 💄 (buttons) Improve multiple choice form UI 2023-04-26 15:59:22 +02:00
03cc067418 (setVariable) Add client-side set variable execution
Closes #461
2023-04-14 14:37:23 +02:00
9f8398b9ae 🚸 (js) Display last input if send message errored 2023-04-03 18:14:32 +02:00
5090badfa9 🩹 (js) Move data-blockid to the right element 2023-03-23 08:59:08 +01:00
efdcec1c0c 🧑‍💻 (js) Add data-blockid on input elements
Closes #384
2023-03-20 08:25:59 +01:00
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00