⚡️ Reset remembered state if the typebot is updated (#1675)
Wipe stored chat state if a typebot is updated. Resolves #1508 Resolves #1427 https://github.com/user-attachments/assets/7668d6a7-2916-4158-b715-1cccaeaf6ddf --------- Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
This commit is contained in:
@ -1148,6 +1148,9 @@
|
||||
},
|
||||
"settings": {
|
||||
"$ref": "#/components/schemas/settings"
|
||||
},
|
||||
"publishedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -1986,6 +1989,9 @@
|
||||
},
|
||||
"settings": {
|
||||
"$ref": "#/components/schemas/settings"
|
||||
},
|
||||
"publishedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -5869,6 +5875,9 @@
|
||||
},
|
||||
"theme": {
|
||||
"$ref": "#/components/schemas/theme"
|
||||
},
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -5879,7 +5888,8 @@
|
||||
"edges",
|
||||
"variables",
|
||||
"settings",
|
||||
"theme"
|
||||
"theme",
|
||||
"updatedAt"
|
||||
],
|
||||
"title": "Typebot V5"
|
||||
},
|
||||
@ -7483,6 +7493,9 @@
|
||||
},
|
||||
"theme": {
|
||||
"$ref": "#/components/schemas/theme"
|
||||
},
|
||||
"updatedAt": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@ -7493,7 +7506,8 @@
|
||||
"edges",
|
||||
"variables",
|
||||
"settings",
|
||||
"theme"
|
||||
"theme",
|
||||
"updatedAt"
|
||||
],
|
||||
"title": "Typebot V6"
|
||||
},
|
||||
|
@ -11,3 +11,5 @@ There are 2 storage options:
|
||||
|
||||
- **Local storage**: The chat state will be saved in the user's web browser. It will be available only on the same device and web browser.
|
||||
- **Session storage**: The chat state will be saved in the user's web browser. It will be available only on the same device and web browser, but it will be deleted when the user closes the current tab or the web browser.
|
||||
|
||||
Note that if you publish a new version of your typebot, saved sessions will be automatically resetted. It means that if the user has a saved session, if he refreshes the bot and that a new version is published, the bot will restart from the beginning.
|
||||
|
Reference in New Issue
Block a user