Commit Graph

64 Commits

Author SHA1 Message Date
Baptiste Arnaud
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
Baptiste Arnaud
9b9282e3d9 🐛 (editor) Fix multiple text editor focus
Closes #1312
2024-03-15 15:17:07 +01:00
Baptiste Arnaud
1f40a4d758 🚸 (billing) Improve upgrade UX for non admin
Closes #1299
2024-03-12 20:01:21 +01:00
Baptiste Arnaud
6d8a007f09 🛂 Disable direct support for Free users
Closes #1318
2024-03-04 17:57:32 +01:00
Baptiste Arnaud
2fb0a4fcc6 🚸 Fix vat input size for better placeholder visibility 2024-02-06 16:33:47 +01:00
Baptiste Arnaud
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
Baptiste Arnaud
0f245b8e57 🛂 (billing) Disable sub update when workspace is past due 2024-01-29 09:37:19 +01:00
Baptiste Arnaud
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +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
a1d7415227 🐛 (billing) Set invoicing behavior to "always invoice" to fix double payment issue 2023-11-14 16:00:10 +01:00
Baptiste Arnaud
bdf9faea78 ✏️ (billing) Fix plan name typo 2023-11-02 14:30:04 +01: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
53558dc303 🚑 Fix can invite new members in workspace bool
Closes #964
2023-10-25 17:57:13 +02:00
Baptiste Arnaud
6b0c263f88 🚑 (billing) Fix chats pricing tiers incremental flat amou… 2023-10-17 08:32:41 +02:00
Baptiste Arnaud
797751b418 (billing) Automatic usage-based billing (#924)
BREAKING CHANGE: Stripe environment variables simplified. Check out the
new configs to adapt your existing system.

Closes #906





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

**New Features:**
- Introduced a usage-based billing system, providing more flexibility
and options for users.
- Integrated with Stripe for a smoother and more secure payment process.
- Enhanced the user interface with improvements to the billing,
workspace, and pricing pages for a more intuitive experience.

**Improvements:**
- Simplified the billing logic, removing additional chats and yearly
billing for a more streamlined user experience.
- Updated email notifications to keep users informed about their usage
and limits.
- Improved pricing and currency formatting for better clarity and
understanding.

**Testing:**
- Updated tests and specifications to ensure the reliability of new
features and improvements.

**Note:** These changes aim to provide a more flexible and user-friendly
billing system, with clearer pricing and improved notifications. Users
should find the new system more intuitive and easier to navigate.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 08:03:30 +02:00
Baptiste Arnaud
b81fcf0167 Auto continue bot on whatsApp if starting block is input (#849)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
### Summary by CodeRabbit

**New Features:**
- Added WhatsApp integration feature to the Pro plan.

**Refactor:**
- Introduced the ability to exclude specific plans from being displayed
in the Change Plan Modal.
- Renamed the function `isProPlan` to `hasProPerks`, enhancing code
readability and maintainability.
- Updated the `EmbedButton` component to handle a new `lockTagPlan`
property and use the `modal` function instead of the `Modal` component.

**Chore:**
- Removed the `whatsAppPhoneNumberId` field from the `Typebot` model
across various files, simplifying the data structure of the model.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-09-25 17:20:42 +02:00
Baptiste Arnaud
ed60caa806 🚑 (billing) Fix disabled upgrade buttons 2023-09-22 17:19:11 +02:00
Baptiste Arnaud
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +02:00
Baptiste Arnaud
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
Baptiste Arnaud
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
Baptiste Arnaud
0ccc2efa45 🚸 (billing) Improve feedback when subscription is "past_due" 2023-09-12 13:17:14 +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
786e5cb582 🧑‍💻 Improve env variables type safety and management (#718)
Closes #679
2023-08-28 09:13:53 +02:00
Baptiste Arnaud
e62e71c133 🛂 Check if isQuarantined can be toggled on sub update 2023-08-24 15:38:50 +02:00
Baptiste Arnaud
53dd7ba499 🚸 (billing) Make sure customer is not created before launching checkout page 2023-08-22 10:40:34 +02:00
Baptiste Arnaud
dc4c19a755 🐛 Fix getUsage query abort 2023-08-21 09:27:33 +02:00
Baptiste Arnaud
304dfe2dab 🐛 Remove publicId and customDomain duplication on imported bots 2023-08-17 16:32:37 +02:00
Baptiste Arnaud
3426d6689d Replace updates with updateManys when possible
Easy performance win to avoid triggering SELECT query after an UPDATE
2023-07-16 18:52:30 +02:00
Baptiste Arnaud
de08179f8b 🚸 (billing) Set existing stripe customer for custom plan checkout 2023-07-13 18:03:59 +02:00
Baptiste Arnaud
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
Baptiste Arnaud
033f8f99dd Add Meta Pixel block
Closes #582
2023-06-28 09:52:03 +02:00
Baptiste Arnaud
6f7ef820e2 📈 (billing) Track when workspace subscription is cancelled 2023-06-26 11:33:06 +02:00
Baptiste Arnaud
97fcee2764 🛂 (billing) Always invoice when subscription is updated 2023-06-22 10:21:17 +02:00
Baptiste Arnaud
b9f94cdf19 🚸 (billing) Use Stripe checkout page for new subscription with existing customer 2023-05-05 14:20:02 -04:00
Baptiste Arnaud
98a21f3a9e 🐛 (billing) Only fetch active subscriptions 2023-05-05 11:02:59 -04:00
Baptiste Arnaud
68a15f5ac1 ⬆️ Upgrade dependencies 2023-05-02 15:33:42 -04:00
Baptiste Arnaud
458d715648 🛂 (billing) Update claimable custom plan options 2023-04-28 10:55:15 +02:00
Baptiste Arnaud
c6983c952c 🛂 Reset isQuarantined when upgrading workspace 2023-04-23 21:03:14 +02:00
Baptiste Arnaud
9345b33e74 🚸 (billing) Make yearly plan clearer for subscription updates 2023-04-17 17:53:16 +02:00
Baptiste Arnaud
2cbf8348c3 🛂 Add new yearly plans and graduated pricing
BREAKING CHANGE: Stripe environment variables have changed. New ones are required. Check out the new Stripe configuration in the
docs.

Closes #457
2023-04-13 11:39:10 +02:00
Baptiste Arnaud
6921cc23a5 🚸 (sheets) Better Get data settings UI 2023-04-11 08:19:42 +02:00
Baptiste Arnaud
75d2a95d08 More translation in FR & PT (#436)
Related to #210
2023-04-06 17:31:23 +02:00
Baptiste Arnaud
70416c0d14 (billing) Add HU VAT option 2023-03-29 16:33:06 +02:00
Baptiste Arnaud
0c39ae41b6 🚸 (variables) Allow null values in variable list 2023-03-21 15:42:03 +01: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
9ca17e4e0b 📈 Add telemetry webhook
Closes #357
2023-03-14 14:20:21 +01:00
Baptiste Arnaud
767a8208a8 🐛 (billing) Collect tax ID manually before checkout
This allows Typebot to always display a company name on invoices.
2023-03-07 08:01:05 +01:00
Baptiste Arnaud
26e5d9c282 🚸 (billing) Add precheckout form
Collects required company name and email and create the customer before redirecting to checkout
2023-03-06 11:30:01 +01:00
Baptiste Arnaud
eb3ae8fc35 🔥 Remove useless stripe env check for usage 2023-03-04 07:58:12 +01:00