Commit Graph

80 Commits

Author SHA1 Message Date
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
Baptiste Arnaud
2d1ce73931 🐛 Fix group duplicate new title bug 2023-10-28 21:32:57 +02:00
Baptiste Arnaud
bed8b42a2e 🧑‍💻 Migrate to Tolgee (#976)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

### Summary by CodeRabbit

- Refactor: Transitioned to a new translation library (`@tolgee/react`)
across the application, enhancing the localization capabilities and
consistency.
- New Feature: Introduced a JSON configuration file for application
settings, improving customization and flexibility.
- Refactor: Updated SVG attribute naming convention in the
`WhatsAppLogo` component to align with React standards.
- Chore: Adjusted the `.gitignore` file and added a new line at the end.
- Documentation: Added instructions for setting up environment variables
for the Tolgee i18n contribution dev tool, improving the self-hosting
configuration guide.
- Style: Updated the `CollaborationMenuButton` to hide the
`PopoverContent` component by scaling it down to zero.
- Refactor: Simplified error handling logic for fetching and updating
typebots in `TypebotProvider.tsx`, improving code readability and
maintenance.
- Refactor: Removed the dependency on the `parseGroupTitle` function,
simplifying the code in several components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-27 09:23:50 +02:00
Baptiste Arnaud
801fea860a 🛂 Improve editor authorization feedback (#856)
Closes #844, closes #839

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

- New Feature: Added a `logOut` function to the user context for
improved logout handling.
- Refactor: Updated the redirect path in the `SignInForm` component for
better user redirection after authentication.
- New Feature: Enhanced the "Add" button and "Connect new" menu item in
`CredentialsDropdown` with role-based access control.
- Refactor: Replaced the `signOut` function with the `logOut` function
from the `useUser` hook in `DashboardHeader`.
- Bug Fix: Prevented execution of certain code blocks in
`TypebotProvider` when `typebotData` is read-only.
- Refactor: Optimized the `handleObserver` function in `ResultsTable`
with a `useCallback` hook.
- Bug Fix: Improved router readiness check in `WorkspaceProvider` to
prevent premature execution of certain operations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-26 14:02:53 +02:00
Baptiste Arnaud
9e0109f561 (whatsapp) Improve whatsApp management and media collection
Closes #796
2023-09-22 11:08:41 +02:00
Ed Zynda
75e4b16af0 Add Zemantic AI Integration block (#752)
Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-09-08 16:21:50 +02:00
Baptiste Arnaud
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
Baptiste Arnaud
aaa208cef4 🌐 Add pt_BR and more translations (#767)
Original PR: https://github.com/baptisteArno/typebot.io/pull/694

---------

Co-authored-by: Daniel Oliveira <daniel.oliveira@kununu.com>
Co-authored-by: Daniel Oliveira <daniel@headdev.com.br>
2023-09-05 18:15:59 +02:00
Baptiste Arnaud
9a79bc38ee Use minio for presigned urls and remove aws sdk 2023-08-30 09:08:05 +02:00
Baptiste Arnaud
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
Baptiste Arnaud
ee3b94c35d (typebotLink) Better typebot link with merge option
Closes #675
2023-08-24 08:19:41 +02:00
Baptiste Arnaud
e2075d6135 🐛 Stop refresh typebot when typebotId is undefined 2023-08-17 18:17:53 +02:00
Baptiste Arnaud
906845bd76 🔒 Improve workspace API role filtering 2023-08-17 15:11:50 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
Baptiste Arnaud
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
Baptiste Arnaud
033f8f99dd Add Meta Pixel block
Closes #582
2023-06-28 09:52:03 +02:00
Baptiste Arnaud
acaa1c6223 🚸 Add item duplication
Closes #545
2023-06-05 14:49:04 +02:00
Baptiste Arnaud
55bbf0e593 ⬆️ Upgrade dependencies 2023-05-25 18:36:51 +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
6bb6a2b0e3 🐛 (editor) Remove edge if duplicating last block of group 2023-05-25 08:27:36 +02:00
Baptiste Arnaud
123926f273 🚸 Improve support accessibility
Add documentation button in board menu and hide the support bubble in the editor. Makes it accessible only by clicking the "Help" button
2023-05-15 10:49:51 +02:00
Baptiste Arnaud
8347e5b2a8 Add dog insurance offer template
Closes #484
2023-05-04 15:32:13 -04:00
Baptiste Arnaud
035dded654 Add picture choice block
Closes #476
2023-05-04 09:23:33 -04:00
Baptiste Arnaud
68a15f5ac1 ⬆️ Upgrade dependencies 2023-05-02 15:33:42 -04:00
Baptiste Arnaud
7e937e1c7c Add AB test block
Closes #449
2023-04-17 16:47:17 +02:00
Baptiste Arnaud
868b5b8370 💄 Adapt openAI logo to dark mode 2023-04-13 18:23:34 +02:00
Baptiste Arnaud
d32afd8ba6 🐛 (editor) Make sure you can't remove the Start group 2023-04-03 07:57:01 +02:00
Baptiste Arnaud
684e6338e2 🐛 (typebotLink) Fix linked typebot fetching error
Closes #429
2023-03-30 10:30:26 +02:00
Baptiste Arnaud
38ed5758fe (theme) Add theme templates
Allows you to save your themes and select a theme from Typebot's gallery

Closes #275
2023-03-28 15:10:06 +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
ff09814ead ⬆️ Upgrade dependencies 2023-03-14 15:08:53 +01:00
Baptiste Arnaud
f9aef907e3 (editor) Allow empty group titles 2023-03-13 09:29:56 +01:00
Baptiste Arnaud
ff04edf139 Add OpenAI block
Also migrate credentials to tRPC

Closes #253
2023-03-09 08:46:36 +01:00
Baptiste Arnaud
022c5a5738 Add new Jump block
Also improve Select input with a clear button

Closes #186
2023-03-03 15:15:43 +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
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
eebcbb10b8 🐛 (share) Fix publicId null when publishing 2023-03-01 17:08:01 +01:00
Baptiste Arnaud
f8f98adc1c (editor) Improve edges responsiveness
Also fixed a ton of useEffects should make everything a bit more reactive.

Closes #307
2023-02-28 15:38:28 +01:00
Baptiste Arnaud
0619c60970 🚸 (editor) Show toolbar on group click 2023-02-23 16:11:51 +01:00
Baptiste Arnaud
671c2cb101 🐛 (editor) Fix saving typebot after undoing changes 2023-02-23 08:17:07 +01:00
Baptiste Arnaud
31711dc24d 💄 Improve new version popup animation 2023-02-22 16:59:04 +01:00
Baptiste Arnaud
3967e5f1d0 (preview) Add preview runtime dropdown
User can select between Web and API previews

Closes #247
2023-02-22 11:40:04 +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
6c2df1a474 🐛 (typebot) Attempt to fix updatedAt comparison with different timezones
Closes #327
2023-02-20 15:52:31 +01:00
Baptiste Arnaud
0831dcf72a ♻️ (auth) Make sure new users have an email
Also fix after-auth redirections

Closes #323
2023-02-18 17:15:32 +01:00
Baptiste Arnaud
4a0dd0b3dd 🚸 (editor) Improve typebot updatedAt detection
Make sure the database is the single source of truth
2023-02-16 20:43:28 +01:00
Baptiste Arnaud
2f7e71f66e 🐛 (typebotLink) Fix typebotIds infinite query param 2023-02-15 16:10:32 +01:00
Baptiste Arnaud
ac464eabdf ♻️ (editor) Improve webhook creation
Remove terrible useEffects
2023-02-15 14:51:58 +01:00
Baptiste Arnaud
51f76700b2 📦 Update cuid to cuid2 2023-02-10 15:06:02 +01:00