Commit Graph

49 Commits

Author SHA1 Message Date
Baptiste Arnaud
c6005c49a2 (credentials) Add credentials management menu in workspace settings
Closes #1567
2024-07-16 15:11:48 +02:00
Baptiste Arnaud
6db0464fd7 Add attachments option to text input (#1608)
Closes #854
2024-06-26 10:13:38 +02:00
Baptiste Arnaud
0eacbebbbe 📄 Add Commercial License for ee folder (#1532) 2024-05-23 10:42:23 +02:00
Baptiste Arnaud
5073be2439 ♻️ Remove @typebot.io/schemas from @typebot.io/lib 2024-03-15 16:32:29 +01:00
Baptiste Arnaud
84b9aca40b 🧑‍💻 (folders) Add folder trpc endpoints (#1218)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Introduced folder management capabilities including creation,
deletion, update, listing, and retrieval within workspaces.
- Added telemetry tracking for client events, Typebot publish events,
and analytics page views.
	- Enhanced settings to track client events under specific conditions.
- Implemented server-side logic for analytics tracking with PostHog
integration.
- Added API documentation for folder operations (create, delete, get,
list, update).
- **Refactor**
	- Updated `onConfirm` function's return type in `ConfirmModal`.
	- Simplified folder creation process in tests.
- Refactored logic for handling file upload blocks and parsing publish
events in Typebot publishing.
	- Migrated handler functions to TRPC endpoints for folder operations.
- **Documentation**
- Introduced documentation for new folder and telemetry functionalities.
- **Chores**
- Added new schemas for folders and telemetry events, including event
tracking and folder structure.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-02-05 12:14:03 +01:00
Baptiste Arnaud
0f245b8e57 🛂 (billing) Disable sub update when workspace is past due 2024-01-29 09:37:19 +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
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
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
d7dc5fb5fb ♻️ Remove storage limit related code 2023-09-20 16:06:53 +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
0acede92ef 🚸 Improve parsing preprocessing on typebots 2023-08-23 10:57:38 +02:00
Baptiste Arnaud
454d320c6b (api) Add CRUD typebot endpoints
Closes #320, closes #696
2023-08-17 09:39:11 +02:00
Baptiste Arnaud
019f72ac7e 🐛 Deprecate blockId field in items 2023-08-16 09:33:57 +02:00
Baptiste Arnaud
1274d2581d 🚑 Incorrect blockId in item when duplicating issue 2023-08-14 17:32:28 +02:00
Baptiste Arnaud
fc25734689 ♻️ (webhook) Integrate webhook in typebot schema
Closes #313
2023-08-06 10:03:45 +02:00
Baptiste Arnaud
43555c171e 🚸 New dedicated onboarding page 2023-07-25 16:21:40 +02:00
Baptiste Arnaud
283c55c1a4 🚸 Update onboarding bot
Closes #400
2023-07-25 09:12:53 +02:00
Baptiste Arnaud
e293cb0111 Add Next.js embed library 2023-07-15 12:28:10 +02:00
Baptiste Arnaud
31b70223c8 🚸 Remove new typebot default user avatar 2023-07-07 11:44:14 +02:00
Baptiste Arnaud
458d715648 🛂 (billing) Update claimable custom plan options 2023-04-28 10:55:15 +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
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
138f3f8b07 🌐 Introduce i18n
Only translate dashboard page for now

Closes #322
2023-03-11 11:05:07 +01:00
Baptiste Arnaud
26c80f064f 🐛 Incorrect Jump block duplication on typebot import
Closes #379
2023-03-10 10:31:38 +01:00
Baptiste Arnaud
15c1432c32 💄 Add backgroundColor theme field for Popup
And use it for the onboarding modal

Closes #375
2023-03-10 10:01:36 +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
2fc78a5b7d ♻️ Improve new version popup polling
Use react-query to trigger the request more intelligently than with a timeout
2023-02-27 12:01:00 +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
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
51f76700b2 📦 Update cuid to cuid2 2023-02-10 15:06:02 +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
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
49058da206 🚸 (account) Improve account form and fix cyclic dependencies 2023-01-18 11:40:38 +01:00
Baptiste Arnaud
119f6dc348 🐛 Fix new typebot creation host bubble parsing 2023-01-06 11:02:42 +01:00
Baptiste Arnaud
1a3869ae6d ⚗️ Implement bot v2 MVP (#194)
Closes #190
2022-12-22 17:02:34 +01:00
Baptiste Arnaud
3394fa5e0a Add dark mode (#191)
Closes #189
2022-12-20 16:55:43 +01:00
Baptiste Arnaud
656d1e3cad 🐛 (typebotLink) Make sure to update all linked bot variable values 2022-12-12 10:29:52 +01:00
Baptiste Arnaud
578e41c09f 🚸 (workspace) Keep workspaceId in memory even when logging out 2022-12-12 09:54:31 +01:00
Baptiste Arnaud
c799717905 Add webhook blocks API public endpoints 2022-11-30 13:57:28 +01:00
Baptiste Arnaud
bf0d0c2475 ⚗️ Implement chat API 2022-11-29 10:03:46 +01:00
Baptiste Arnaud
451ffbcacf ♻️ Add shared eslint config 2022-11-21 11:18:58 +01:00
Baptiste Arnaud
643571fe7d ♻️ (builder) Change to features-centric folder structure 2022-11-15 15:14:38 +01:00