Commit Graph

39 Commits

Author SHA1 Message Date
Baptiste Arnaud
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +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
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
5e9dfaaa49 💄 Fix key component in tooltip for dark mode
Closes #1212
2024-02-05 14:41:13 +01:00
Baptiste Arnaud
ab010657b2 ♻️ Change overflow:scroll to overflow:auto 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
8771def9a1 Customizable allowed origins 2024-01-17 09:04:07 +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
bb41226a04 Allow user to share a flow publicly and make it duplicatable
Closes #360
2023-11-23 12:05:31 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
Baptiste Arnaud
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
Baptiste Arnaud
da4005e160 🐛 (embed) Make sure env.ts is not bundled in js embed lib 2023-08-29 15:00:04 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
Baptiste Arnaud
e293cb0111 Add Next.js embed library 2023-07-15 12:28:10 +02:00
Baptiste Arnaud
81bc0746cf ⬆️ Upgrade dependencies 2023-07-15 10:46:36 +02:00
Baptiste Arnaud
a31345ae26 🚸 (theme) Move isBrandingEnable param in the Theme tab 2023-07-11 10:43:49 +02:00
Baptiste Arnaud
eaadc59b1f Add recent section in icon and emoji picker
Closes #536
2023-06-20 14:04:33 +02:00
Baptiste Arnaud
56364fd863 (openai) Stream chat completion to avoid serverless timeout (#526)
Closes #520
2023-05-25 10:32:35 +02:00
Baptiste Arnaud
27b009dd76 Remember result in either local or session storage (#514)
Closes #513
2023-05-16 14:58:56 +02:00
Baptiste Arnaud
0f91b34497 (embed) Add size and icon picker in bubble settings (#508) 2023-05-15 15:22:04 +02:00
Baptiste Arnaud
035dded654 Add picture choice block
Closes #476
2023-05-04 09:23:33 -04:00
Baptiste Arnaud
75d2a95d08 More translation in FR & PT (#436)
Related to #210
2023-04-06 17:31:23 +02:00
Baptiste Arnaud
3ef4efab4e Add Unsplash picker
Closes #413
2023-03-29 15:20:01 +02:00
Baptiste Arnaud
44d7a0bcb8 ♻️ (builder) Remove barrel export and flatten folder arch 2023-03-15 11:52:38 +01:00
Baptiste Arnaud
cbc8194f19 ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
Baptiste Arnaud
b77e2c8d2c 🔥 Remove disable response saving option
Doesn't work properly when it comes to keep tracking storage usage
2023-03-07 14:41:57 +01:00
Baptiste Arnaud
cc7d7285e5 🚸 Add a better select input
Also improves other inputs behavior
2023-03-03 09:01:11 +01:00
Baptiste Arnaud
4968ed4202 🐛 (settings) Fix custom head code not updating 2023-03-02 14:18:20 +01:00
Baptiste Arnaud
ba253cf3e9 🐛 (js) Improve session remember behavior
Make sure it correctly retrieves saved variables and doesn't clash with other embedded typebots
2023-03-02 10:55:03 +01:00
Baptiste Arnaud
debdac12ff Introduce bot v2 in builder (#328)
Also, the new engine is the default for updated typebots for viewer

Closes #211
2023-02-21 15:25:14 +01:00
Baptiste Arnaud
621cd58244 (embedBubble) Enable variable embed height 2023-02-19 09:53:57 +01:00
Baptiste Arnaud
51f76700b2 📦 Update cuid to cuid2 2023-02-10 15:06:02 +01:00
Baptiste Arnaud
17d94a9f9f 🐛 Fix overflow issue for Theme and Settings pages
Closes #291
2023-02-06 08:26:59 +01:00
Baptiste Arnaud
ee864d9729 🚸 Add better page titles and dashboard icons
Closes #231
2023-01-26 17:04:37 +01:00
Baptiste Arnaud
30baa611e5 (engine) Improve engine overall robustness 2023-01-25 14:59:53 +01:00
Jorgelig
a898a7aa41 Add Google Tag Manager (#185) 2022-12-20 16:59:18 +01:00
Baptiste Arnaud
473d315e0f (settings) Add a "disable responses saving" option
Closes #164
2022-11-16 16:17:42 +01:00
Baptiste Arnaud
643571fe7d ♻️ (builder) Change to features-centric folder structure 2022-11-15 15:14:38 +01:00