Commit Graph

72 Commits

Author SHA1 Message Date
Baptiste Arnaud
92a1d672fd ♻️ Re-organize telemetry package 2024-02-01 14:19:24 +01:00
Baptiste Arnaud
ab010657b2 ♻️ Change overflow:scroll to overflow:auto 2024-01-29 09:37:19 +01:00
Baptiste Arnaud
5d971f7b6f 🚸 (results) Add progress bar to export results modal 2024-01-11 10:36:48 +01:00
Baptiste Arnaud
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
Baptiste Arnaud
c339130e53 🛂 Hide workspace members list from guest 2023-12-07 15:41:58 +00: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
ca79934ef5 🛂 (billing) Add isPastDue field in workspace (#1046)
Closes #1039

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

## Summary by CodeRabbit

- **New Features**
  - Workspaces now include additional status indicator: `isPastDue`.
- New pages for handling workspaces that are past due. Meaning, an
invoice is unpaid.

- **Bug Fixes**
- Fixed issues with workspace status checks and redirections for
suspended workspaces.

- **Refactor**
- Refactored workspace-related API functions to accommodate new status
fields.
- Improved permission checks for reading and writing typebots based on
workspace status.

- **Chores**
  - Database schema updated to include `isPastDue` field for workspaces.
- Implemented new webhook event handling for subscription and invoice
updates.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-11-23 08:16:23 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +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
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
ccc34b3028 🚸 (whatsapp) Improve upgrade plan for whatsapp notice 2023-09-27 14:22:51 +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
7d57e8dd06 ♻️ Export bot-engine code into its own package 2023-09-20 15:42:34 +02:00
Baptiste Arnaud
fbb198af9d (s3) Improve storage management and type safety
Closes #756
2023-09-08 15:28:11 +02:00
Baptiste Arnaud
b852b4af0b Add WhatsApp integration beta test (#722)
Related to #401
2023-08-29 10:05:24 +02:00
Baptiste Arnaud
efd4600b7e 🚑 Set proper env defaults 2023-08-28 11:08:15 +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
53dd7ba499 🚸 (billing) Make sure customer is not created before launching checkout page 2023-08-22 10:40:34 +02:00
Baptiste Arnaud
c08e0cdb0a (customDomains) Fix custom domain update feedback 2023-08-21 15:32:27 +02:00
Baptiste Arnaud
304dfe2dab 🐛 Remove publicId and customDomain duplication on imported bots 2023-08-17 16:32:37 +02:00
Baptiste Arnaud
906845bd76 🔒 Improve workspace API role filtering 2023-08-17 15:11:50 +02:00
Baptiste Arnaud
fc0e3782b1 🐛 (workspace) Fix members list limit bug 2023-07-11 18:14:23 +02:00
Baptiste Arnaud
5a05310a9c 🛂 Add isSuspended prop on workspace 2023-07-04 14:56:36 +02:00
Baptiste Arnaud
69254c3624 🧑‍💻 (api) Add icon field in create workspace endpoint 2023-06-24 10:26:38 +02:00
Baptiste Arnaud
eaadc59b1f Add recent section in icon and emoji picker
Closes #536
2023-06-20 14:04:33 +02:00
Baptiste Arnaud
b2ea8fc059 🌐 Translate workspace (#528) 2023-05-31 07:53:30 +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
8b84a7d8b9 🐛 Disable invite button when email is empty
Closes #509
2023-05-16 15:15:13 +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
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
cc7d7285e5 🚸 Add a better select input
Also improves other inputs behavior
2023-03-03 09:01:11 +01:00
Baptiste Arnaud
b73282d810 ♻️ (billing) Refactor billing server code to trpc 2023-02-17 16:19:39 +01:00
Baptiste Arnaud
ac464eabdf ♻️ (editor) Improve webhook creation
Remove terrible useEffects
2023-02-15 14:51:58 +01:00
Baptiste Arnaud
0dba994210 🐛 (workspace) Fix members invitation when having unlimited plan
Closes #279
2023-02-13 11:13:05 +01:00
Baptiste Arnaud
51f76700b2 📦 Update cuid to cuid2 2023-02-10 15:06:02 +01:00
Baptiste Arnaud
ae35dad32f 🔖 Release v2.10.2 2023-02-07 08:58:19 +01:00
Baptiste Arnaud
d7b5fd76fc 🔖 Release v2.10.1 2023-02-06 09:25:09 +01:00
Baptiste Arnaud
0b34321bf7 🗃️ Add updatedAt fields where missing 2023-02-03 11:10:40 +01:00
Baptiste Arnaud
1fe5b122dc 🔖 Release v2.10.0 2023-02-02 14:39:32 +01:00
Baptiste Arnaud
1806840119 🐛 Fix workspace member lock banner always on
Closes #283
2023-02-01 08:13:36 +01:00
Baptiste Arnaud
afbb97c6d7 🔖 Release v2.9.4 2023-01-29 19:05:49 +01:00
Baptiste Arnaud
f93bc2fcb2 🚸 (dashboard) Add unpublish menu item in dashboard
Also remove the useless publishedTypebotId field in Typebot

Closes #232
2023-01-27 17:11:26 +01:00
Baptiste Arnaud
409e7643ad ♻️ Add a new unlimited plan
Closes #273
2023-01-27 15:00:07 +01:00
Baptiste Arnaud
ee864d9729 🚸 Add better page titles and dashboard icons
Closes #231
2023-01-26 17:04:37 +01:00
Baptiste Arnaud
30baa611e5 (engine) Improve engine overall robustness 2023-01-25 14:59:53 +01:00
Baptiste Arnaud
e64ab2a999 🔖 Release v2.9.3 2023-01-20 11:46:41 +01:00