typebot.io/apps/builder
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
..
public 📝 Add v2.23 newsletter 2024-03-04 15:16:30 +01:00
src Restore chat state when user is remembered (#1333) 2024-03-07 15:39:09 +01:00
.eslintrc.js ♻️ Add shared eslint config 2022-11-21 11:18:58 +01:00
.prettierignore 🐛 Fix new markdown parser on web runtime 2024-02-01 16:52:54 +01:00
next-env.d.ts 🚀 Init Turbo Repo 2021-12-16 15:19:05 +01:00
next.config.mjs ⬆️ Upgrade google-spreadsheet and fix openapi docs g… 2024-01-31 09:54:09 +01:00
package.json ⬆️ Upgrade ai and openai packages 2024-03-07 14:26:48 +01:00
playwright.config.ts ♻️ Re-organize workspace folders 2023-03-15 08:35:16 +01:00
sentry.client.config.ts ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
sentry.properties 💚 Fix sentry not receiving events 2022-12-16 08:39:14 +01:00
sentry.server.config.ts ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
tolgee.d.ts 🧑‍💻 Migrate to Tolgee (#976) 2023-10-27 09:23:50 +02:00
tsconfig.json 🧑‍💻 Migrate to Tolgee (#976) 2023-10-27 09:23:50 +02:00