Commit Graph

334 Commits

Author SHA1 Message Date
Baptiste Arnaud
b041842e4a
🐛 (engine) Sanitize variable value before saving to avoid db insert failure 2025-05-28 17:01:24 +02:00
Baptiste Arnaud
e19a839443
🚸 (date) Allow for YY and DD to be interpreted as yy and dd 2025-05-28 16:29:46 +02:00
Baptiste Arnaud
45f7e2ca5e
🚸 Only execute reply event with outgoind edge id 2025-05-28 14:52:33 +02:00
Baptiste Arnaud
0c883b9a11
📝 Add progress bar docs 2025-05-28 14:26:36 +02:00
Baptiste Arnaud
c28c39bc64
🐛 Normalize file type extension comparison in parseReply function 2025-05-26 18:57:35 +02:00
Baptiste Arnaud
0a34f7a8c8
🐛 Fix anticipated end with nested link to typebot 2025-05-26 18:46:34 +02:00
Baptiste Arnaud
6715e068be
🚑️ Fix client side actions not triggered when first block in group
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2025-05-07 08:16:47 +02:00
Baptiste Arnaud
b20b9ba144
Add Invalid Reply event node
Closes #2109
2025-05-06 18:35:44 +02:00
Baptiste Arnaud
280a91cfd5
🚑️ Fix command event not triggering 2025-05-06 16:28:48 +02:00
Alexis Falaise
1ca7040ec2
Add Reply event block (#2114) 2025-05-06 15:43:41 +02:00
Baptiste Arnaud
9a1907d7c7
🐛 Fix webhook listening error when body is not JSON 2025-05-05 15:08:05 +02:00
Baptiste Arnaud
79254cb910
🐛 Fix buttons invalid reply when internal value is empty string 2025-05-05 10:21:26 +02:00
Baptiste Arnaud
8ab1f0235d
♻️ Improve transcript computation for jump and return blocks
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2025-05-02 19:23:16 +02:00
Baptiste Arnaud
6cd070580a
🚸 (analytics) Take into account Jump blocks for analytics
Also rework edge visits algorithm to avoid infinite recursions
2025-05-02 18:14:35 +02:00
Baptiste Arnaud
a43173cc47
🐛 (condition) matched condition without connected edge should end the session
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Monthly job / clean (push) Has been cancelled
2025-04-27 18:36:36 +02:00
Baptiste Arnaud
ecda1d82d3
Add "Return" logic block 2025-04-27 17:28:58 +02:00
Baptiste Arnaud
1217bd58e6
♻️ Migrate chat api schemas to its own package 2025-04-27 15:17:53 +02:00
Baptiste Arnaud
ec5bd44081
🐛 (cards) Dynamic internal value not being saved
Closes #2137
2025-04-25 17:29:59 +02:00
Baptiste Arnaud
98309fcb3b
🐛 Fix clientSideActions executed from linked bot
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
2025-04-17 17:35:07 +02:00
Baptiste Arnaud
21767d2eee
🚑️ Fix maximum callstack size issue from setVariableHistory 2025-04-17 15:04:06 +02:00
Baptiste Arnaud
2a85bb26dc
🐛 Correctly update startTimeout in exec loop 2025-04-17 11:28:17 +02:00
Baptiste Arnaud
98b33832d1
🐛 Correctly update start time in group execution loop 2025-04-17 09:57:30 +02:00
Baptiste Arnaud
601ddf3c07
🚑️ Fix edge case when calling link to typebot after input 2025-04-16 21:59:36 +02:00
Baptiste Arnaud
25808a97f0
🐛 Fix starting preview from group not working 2025-04-16 15:51:38 +02:00
Baptiste Arnaud
6953a5e67e
🚑️ Fix previous typebot link freeze 2025-04-15 19:32:18 +02:00
Baptiste Arnaud
54ed980cbb
🚑️ Fix typebot link block freeze 2025-04-15 18:48:51 +02:00
Baptiste Arnaud
81ef7dfdff
♻️ Simplify walk the flow logic in bot engine (#2127) 2025-04-15 17:29:17 +02:00
Baptiste Arnaud
ea53db5474
🐛 (cards) Fix variables saving not working
Closes #2125
2025-04-14 20:39:40 +02:00
Baptiste Arnaud
63c6c93a13
📈 Use setUser instead of setting typebotId tag to have proper segmenting in Sentry 2025-04-07 11:18:51 +02:00
Baptiste Arnaud
87252d0dc7
🔥 Remove deprecated edgeIdToTriggerWhenDone prop in typebotsQueue 2025-04-01 12:48:24 +02:00
Baptiste Arnaud
9d08b4b758
🐛 Fix legacy openai empty messages issue 2025-04-01 10:02:51 +02:00
Baptiste Arnaud
6488df64ff
🚑️ Fix matchByIndex function to use strict equality for index matching 2025-03-31 15:28:50 +02:00
Baptiste Arnaud
1518033f03
🔒️ Improve brand badge CSS protection 2025-03-31 15:20:49 +02:00
Alexis Falaise
0861d635af
Add "Allowed file types" option in file upload input (#2103)
Closes #1171
2025-03-31 14:21:22 +02:00
Baptiste Arnaud
74c8860207
🐛 Make the "Device type" function work in iframes as well 2025-03-28 11:15:37 +01:00
Baptiste Arnaud
8771fd3c53
️ Add "Device type" set variable option 2025-03-27 10:42:05 +01:00
Alexis Falaise
e8c2f1746f
🚸 Add internal values option in choice inputs (#2098)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
This adds a value field for Button and Picture choice blocks. If a value
is defined, it will take precedence over the button content or the image
title for variable evaluation.

<img width="396" alt="Capture d’écran 2025-03-25 à 15 14 20"
src="https://github.com/user-attachments/assets/5dcc4acc-7881-4044-b81b-275b07e8e80e"
/>
<img width="396" alt="Capture d’écran 2025-03-25 à 15 13 47"
src="https://github.com/user-attachments/assets/ca6b54fb-0a5c-4b1e-8494-122618866f02"
/>

Closes #1713

---------

Co-authored-by: Alexis Falaise <alexis.falaise@external.engie.com>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2025-03-26 18:11:32 +01:00
Baptiste Arnaud
54612a2d5e
🐛 Add check for empty allowed origins in origin validation logic 2025-03-26 13:44:52 +01:00
Baptiste Arnaud
7f44ca4410
🐛 Make allowed origins stricter and prevent the bot being consumable from public URL as mentioned in the docs
Closes #1812
2025-03-26 13:38:07 +01:00
Baptiste Arnaud
0c531aff66
🐛 (cards) Fix dynamic cards duplication 2025-03-24 17:02:35 +01:00
Baptiste Arnaud
9153337924
🚑️ Fix number validation when equals to 0 2025-03-19 16:51:05 +01:00
Baptiste Arnaud
e10d448bf8
🚑️ Avoid formatting number on reply parsing 2025-03-19 16:27:11 +01:00
Alexis Falaise
f515ef108e
Add format options in number input block (#2080) 2025-03-19 12:29:18 +01:00
Alexis Falaise
9a7624bf48
️ Add prompt and completion tokens to the save dropdown (#2070)
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
This adds **Prompt tokens** and **Completion tokens** options to the
save dropdown for AI blocks, based on the available token counts of the
CompletionUsage response.


<img width="322" alt="Capture d’écran 2025-03-14 à 16 37 55"
src="https://github.com/user-attachments/assets/e5cce02d-7f61-4cfa-8f84-a50f718335ed"
/>
2025-03-15 08:23:35 +01:00
Baptiste Arnaud
42d974f200
🐛 Tie globals object for each session
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Closes #2029
2025-03-13 09:06:24 +01:00
Baptiste Arnaud
b61b5f5e4e
Add Cards Input
Some checks failed
Create Tag / create-tag (push) Has been cancelled
Deploy Partykit server / deploy (push) Has been cancelled
Closes #1987
2025-03-10 16:05:10 +01:00
Baptiste Arnaud
8d86535e42
🔥 Remove workspaceId optionnality in chat session state 2025-03-03 10:53:50 +01:00
Baptiste Arnaud
1b281c6b54
🔒️ (typebotLink) Make sure fetched linked bot has matching workspaceId 2025-02-22 10:40:24 +01:00
Baptiste Arnaud
bd3dc6e3a7
🐛 Adjust schema validation for optional number and variable types 2025-02-21 10:00:37 +01:00
Baptiste Arnaud
ccd794a82f
🐛 Preprocess number or variable type to avoid unwanted validation crash 2025-02-19 18:38:08 +01:00