Commit Graph

96 Commits

Author SHA1 Message Date
Baptiste Arnaud
ab010657b2 ♻️ Change overflow:scroll to overflow:auto 2024-01-29 09:37:19 +01:00
Baptiste Arnaud
5f0b36931a Re-implement trackpad/mouse choice and defau… 2024-01-29 09:37:19 +01:00
Baptiste Arnaud
bf6c258edc 🚸 (editor) Add graph gesture notification 2024-01-29 09:37:19 +01:00
Baptiste Arnaud
00dcb135f3 (editor) Actions on multiple groups
You can now select groups, move, copy, delete them easily

Closes #830, closes #1092
2024-01-29 09:37:19 +01:00
Baptiste Arnaud
6d7c8112bc 📱 (editor) Fix editor header responsivity
Closes #1104
2024-01-12 15:07:54 +01:00
Baptiste Arnaud
1c4c058e01 🐛 (editor) Fix duplicate group unique key parsing
Closes #1148
2024-01-12 14:59:28 +01:00
Gabriel Pavão
53b702e8b1 🌐 Add translation keys for input blocks (#1114)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Integrated localization support across various components using the
`useTranslate` hook for dynamic translations.

- **Enhancements**
- Replaced hardcoded text with localized strings to support multiple
languages in the user interface.

- **User Interface**
- Updated labels, placeholders, tooltips, and button texts to utilize
translated content for a multilingual experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-29 12:42:50 +01:00
Gabriel Pavão
5fbbe9d86e 🌐 Add theme tab translation keys (#1119)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Implemented internationalization across various components, enabling
dynamic language translation for UI elements.

- **Enhancements**
	- Improved accessibility with translated `aria-label` attributes.
	- Enhanced user interface with translated button texts and labels.

- **Refactor**
	- Streamlined translation handling with the `useTranslate` hook.

- **Bug Fixes**
	- Corrected tooltip label for better clarity.

- **Style**
	- Updated visual elements to reflect changes in language settings.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-29 12:02:14 +01:00
Gabriel Pavão
d42e4a9ce1 Add editor header translation keys (#1110)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Implemented internationalization support across various components
using the `useTranslate` function for dynamic content translation.

- **Enhancements**
- Updated UI elements such as buttons, tooltips, placeholders, and
labels to display translated text, improving accessibility and user
experience for non-English speakers.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
2023-12-28 10:50:33 +01:00
Baptiste Arnaud
deab1a12e9 (sheets) Use Google Drive picker and remove sensitive OAuth scope
BREAKING CHANGE: The Google Picker API needs to be enabled in the Google Cloud console. You also need to enable it in
your NEXT_PUBLIC_GOOGLE_API_KEY. You also need to add the drive.file OAuth scope.
2023-12-18 15:44:57 +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
4fdc1bfe5c Introducing Radar, fraud detection 2023-12-08 18:16:07 +00:00
Baptiste Arnaud
cb87a72cca 🐛 (editor) Fix old typebot flash when changing the typebot 2023-12-05 08:15:34 +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
647afdb8fa 🐛 (editor) Fix edge delete with undefined groupIndex 2023-11-09 09:22:33 +01:00
Baptiste Arnaud
58b9e0b306 🚑 (editor) Fix move block with outgoing edge 2023-11-08 18:31:32 +01:00
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