Commit Graph

69 Commits

Author SHA1 Message Date
Baptiste Arnaud
396ca5bbdc 🐛 (results) Fix export all results defaulting to "today" time frame 2024-02-08 10:02:10 +01:00
Baptiste Arnaud
066fabce06 🚸 (results) Add time filter to results table as… 2024-02-06 17:48:31 +01:00
Baptiste Arnaud
ab010657b2 ♻️ Change overflow:scroll to overflow:auto 2024-01-29 09:37:19 +01:00
Baptiste Arnaud
69b113fc85 🧐 Add exportResults script 2024-01-12 10:16:01 +01:00
Baptiste Arnaud
5d971f7b6f 🚸 (results) Add progress bar to export results modal 2024-01-11 10:36:48 +01:00
Baptiste Arnaud
2385eaf7d5 📝 Add a note on where to find resultId 2024-01-04 20:48:56 +01:00
Baptiste Arnaud
1e5fa5a575 📝 Migrate from Docusaurus to Mintlify (#1115)
Closes #868
2023-12-22 09:13:53 +01:00
Baptiste Arnaud
2dec0b88c2 🐛 (results) Fix result modal answers order 2023-12-18 10:39:54 +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
8a07392821 🚑 (editor) Fix typebot update permission 2023-11-23 08:28:18 +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
bd198a4e0f 🐛 (fileUpload) Fix results file display if name contains comma
Closes #955
2023-11-14 17:15:21 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
Baptiste Arnaud
885dcecd8d 🐛 (results) Lower the max limit in getResults endpoint to avoid payload size error
Closes #908
2023-10-17 14:19:09 +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
2bc9dfb503 🚑 (results) Fix broken infinite scroll 2023-10-04 08:14:25 +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
bb13c2bd61 🛂 (fileUpload) Improve file upload size limit enforcement
Closes #799, closes #797
2023-09-19 15:42:33 +02:00
Baptiste Arnaud
2ce63f5d06 🐛 (results) Fix result modal content display 2023-09-19 11:47:41 +02:00
Baptiste Arnaud
61c46bcb46 🚸 (results) Use header id as table accessor to allow duplicate names 2023-09-18 18:34:53 +02:00
Baptiste Arnaud
ee3b94c35d (typebotLink) Better typebot link with merge option
Closes #675
2023-08-24 08:19:41 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
Baptiste Arnaud
3283d7e261 🧑‍💻 (results) Add get result by id API endpoint 2023-07-24 07:50:50 +02:00
Baptiste Arnaud
455c3bdfd7 👷 Improve monthly clean database script
Archive results that were not properly archived
2023-07-12 12:00:23 +02:00
Baptiste Arnaud
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
Baptiste Arnaud
3575fef34f 🐛 (results) Fix export duplicate columns when no order set 2023-06-26 17:41:48 +02:00
Baptiste Arnaud
c09a84034e (chatwoot) Add result URL custom attribute 2023-04-25 08:15:53 +02:00
Baptiste Arnaud
f8a76f98b9 🐛 (results) Keep focus on current expanded result when new ones arrive
Closes #453
2023-04-17 15:29:46 +02:00
Baptiste Arnaud
411cf31b39 🚸 (results) Improve list variables display in results table 2023-04-01 09:00:59 +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
f527df82dd 💄 (editor) Fix some overflow issues with long variable names 2023-03-06 16:56:55 +01:00
Baptiste Arnaud
5c3104848e 🐛 (results) Make sure all columns are parsed in the export 2023-03-06 08:29:07 +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
cc9817b2e3 Fix / improve results archive crash when too many 2023-02-23 08:37:21 +01:00
Baptiste Arnaud
b73282d810 ♻️ (billing) Refactor billing server code to trpc 2023-02-17 16:19:39 +01:00
Baptiste Arnaud
44d7740952 ♻️ (results) Remove unecessary totalSelected compute 2023-02-15 15:05:00 +01:00
Baptiste Arnaud
08e33fbe70 🚸 (results) Improve results action buttons
Now have an export all modal with settings and a better column order form
2023-02-14 14:33:26 +01:00
Baptiste Arnaud
1a3596b15c 🗃️ Improve result logs query 2023-02-14 09:54:42 +01:00
Baptiste Arnaud
e39cd94eef 🗃️ (webhook) Improve webhook creation query 2023-02-13 18:13:25 +01:00
Baptiste Arnaud
1d4d39c649 🗃️ (results) Improve result delete queries 2023-02-13 17:42:11 +01:00
Baptiste Arnaud
3728bca173 🐛 (results) Fix results still appearing when deleted
Closes #316
2023-02-13 14:28:44 +01:00
Baptiste Arnaud
23ec5aa4d5 🔇 Remove unused logs 2023-02-12 18:08:42 +01:00
Baptiste Arnaud
e9a1d1683e 🗃 Improve usage queries 2023-02-12 18:08:27 +01:00
Baptiste Arnaud
c175ade4d0 💚 Fix utils export issue 2023-02-10 16:55:20 +01:00
Baptiste Arnaud
b98aef53fd 🚸 (results) Remove useless scrollbars and make header sticky
Closes #297
2023-02-10 16:33:18 +01:00
Baptiste Arnaud
3ab67902c0 🚸 (results) Show deleted block answers if any
Also remove useEffects in ResultsTable.
2023-02-10 15:50:25 +01:00
Baptiste Arnaud
51f76700b2 📦 Update cuid to cuid2 2023-02-10 15:06:02 +01:00