2
0
Commit Graph

1982 Commits

Author SHA1 Message Date
14a37160fd 🚑 (webhook) Fix webhook execution with default method 2023-11-09 08:59:45 +01:00
9bb559174a 🐛 (typebotLink) Fix link to first group with start event 2023-11-09 08:52:00 +01:00
9eef1665f5 🚑 (zapier) Fix execute webhook endpoint too strict on block type check 2023-11-09 08:36:46 +01:00
58b9e0b306 🚑 (editor) Fix move block with outgoing edge 2023-11-08 18:31:32 +01:00
b73ca7a98a 🐛 Fix default initial items in TableList 2023-11-08 17:38:32 +01:00
4b67f9e2e2 🐛 Fix typebot publishing endpoint events parsing 2023-11-08 17:12:58 +01:00
64418df3a1 🚸 (typebotLink) Make "current" option work like typebot links instead of jump 2023-11-08 17:05:02 +01:00
aceba0abd0 🐛 (import) Fix import typebot files that does not have name field 2023-11-08 16:42:59 +01:00
db17a0f508 🚑 Fix parsing issue with new events field on ongoing session states 2023-11-08 16:03:45 +01:00
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
68e4fc71fb fix: whole page overflowing on the x axis and displaying a horizontal scrollbar (#1011)
this PR fixes issue
https://github.com/baptisteArno/typebot.io/issues/1008 by making the
position of `HandDrawnArrow`'s parent relative, which confines the
absolute position of its children to be within the bounds of the parent,
causing layout not shift due to `right -30px`

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

## Summary by CodeRabbit

- **New Features**
- Updated the layout behavior of the `RealTimeResults` component on the
landing page for better user experience.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-11-08 07:40:02 +01:00
027c6ffcef 🛂 Update Cache-Control header in generatePresignedPostPolicy 2023-11-07 15:16:23 +01:00
eaa9b815c4 🚑 Fix weird env parsing on Firefox making it crash 2023-11-07 14:49:15 +01:00
eed562b47a (chatwoot) Unmount Typebot embed bubble when opening chatwoot
Closes #1007
nextjs-v0.2.14 react-v0.2.14 js-v0.2.14
2023-11-06 16:57:05 +01:00
b2b82c48e1 ⬆️ Upgrade Sentry to mitigate security issue
https://github.com/getsentry/sentry-javascript/security?mkt_tok=Nzc2LU1KTi01MDEAAAGPNi0ooiOxT0sphdzXd6xHU63d5z5Sc75FNR8cH-6EK-zlvUsUuUqP1YsmnxivxEyXnGZS2cN8XkpuNNGi3NIfoDnwoHci-31tbyJQB8y0Cg
2023-11-06 16:24:26 +01:00
0c22d858b7 📦 Add strict package versioning to avoid incompatibility in workspace 2023-11-06 16:22:25 +01:00
57e454008e 📝 Add UTM params forwarding video tutorial 2023-11-03 15:44:00 +01:00
0203d92c1b 🔖 Release v2.19.0 v2.19.0 2023-11-03 15:12:52 +01:00
a855d85d04 🚑 Move cache control header into the post policy 2023-11-02 15:09:08 +01:00
bdf9faea78 ✏️ (billing) Fix plan name typo 2023-11-02 14:30:04 +01:00
d1502f8300 Add cache-control header on newly uploaded files nextjs-v0.2.12 react-v0.2.12 js-v0.2.12 2023-11-01 15:42:53 +01:00
a5641811a3 🐛 Fix formatted message in input block when input is retried nextjs-v0.2.11 react-v0.2.11 js-v0.2.11 2023-11-01 14:01:32 +01:00
585e1d4074 ✏️ Fix CORSRules content typo for S3 config 2023-11-01 13:51:38 +01:00
b80bea11b4 📝 Add text link section in text bubble doc 2023-10-31 14:07:28 +01:00
7586ecaf13 🐛 (number) Fix number input validation with variables 2023-10-30 16:45:32 +01:00
3e02436d30 📝 Add webhook configuration tuto video 2023-10-30 15:20:53 +01:00
2d1ce73931 🐛 Fix group duplicate new title bug 2023-10-28 21:32:57 +02:00
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
31b3fc311e 🧑‍💻 Fix type resolution for @typebot.io/react and nextjs
Closes #968
nextjs-v0.2.10 react-v0.2.10 js-v0.2.10
2023-10-26 15:57:55 +02:00
3f7f0944e1 💚 Fix checkAndReportChatsUsage script sending multiple emails at once 2023-10-26 15:42:09 +02:00
a347a2741d ✏️ Fix manual deployment doc start script typo
Closes #969
2023-10-26 15:42:09 +02:00
f1e3836184 🐛 Fix graph flickering on high res displays (#959)
This PR fixes the flickering and improves the performance so panning
around the graph is much smoother than before.



https://github.com/baptisteArno/typebot.io/assets/62795688/56b91e20-1eb0-44b5-9a4a-c07525c2ba48


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

### Summary by CodeRabbit

- Refactor: Improved the Graph component's scaling calculation for
enhanced readability and maintenance.
- Style: Updated the Graph component's style properties to ensure better
compatibility and visual performance on webkit browsers.

These changes aim to enhance the user experience by ensuring the Graph
component displays consistently across different web browsers. The
refactoring of the scaling calculation also makes the code easier to
understand and maintain, potentially leading to quicker updates and bug
fixes in the future.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Baptiste Arnaud <contact@baptiste-arnaud.fr>
2023-10-26 14:37:28 +02:00
382ebebb57 🔖 Release v2.18.4 v2.18.4 2023-10-25 17:57:55 +02:00
53558dc303 🚑 Fix can invite new members in workspace bool
Closes #964
2023-10-25 17:57:13 +02:00
4b248d554f 🐛 (numberInput) Fix input clearing out on dot or comma press nextjs-v0.2.9 react-v0.2.9 js-v0.2.9 2023-10-25 17:37:45 +02:00
c2a08c482e 🧑‍💻 (whatsapp) Improve whatsapp start log 2023-10-25 14:26:10 +02:00
1ff58818a9 ✏️ Fix popup blocked toast typo react-v0.2.8 js-v0.2.8 nextjs-v0.2.8 2023-10-25 13:57:45 +02:00
17af1072a8 🔖 Release v2.18.3 v2.18.3 2023-10-23 16:36:05 +02:00
621fcd59f1 🚸 (buttons) Trim items content when parsing reply for better consistency
Closes #948
2023-10-23 15:13:43 +02:00
b301174106 🩹 Surround logs saving in a try catch block
It seems that in some particular set up the logs saving is failing.
2023-10-23 14:47:44 +02:00
11186d8d29 👷 Add convenient script for migrating Stripe prices 2023-10-23 09:57:47 +02:00
be9daee63e ♻️ Update import contact to brevo script 2023-10-23 09:57:47 +02:00
eba52a5397 Fix audio content overflow in windows. (#944)
/claim #667

The volume slider in audio element in windows chrome overflows.
Possible fixes:
1. Change the width of audio blocks. (Not suggested, as the width of all
blocks should be consistent)
2. Adjust the audio sub elements, so it doesn't overflow.(IMPLEMENTED)

It's not so straightforward to apply customization to audio tag element.
The best possible way I could find, to make the app look good, is by
hiding the timeline track in the audio. It was showing up very small
anyway(due to block width), so there shouldn't be an issue.
Please look at the before & after videos below.


https://github.com/baptisteArno/typebot.io/assets/29385192/f61c5b58-834d-470f-b684-bd82181e07f4



https://github.com/baptisteArno/typebot.io/assets/29385192/88f932eb-dc7e-4346-bf64-6405a015013e


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

- Style: Improved the visual layout of the audio player on Windows. The
update includes a cleaner interface by hiding the track timeline and
adjusting the media controls panel. This change enhances the user
experience by providing a more streamlined and intuitive audio player
design.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-19 14:39:38 +02:00
2c15662ef2 🐛 Fixed pinch zooming mouse issue (with ctrl key) (#940)
**Fixed the drastic zoom increase decrease on ctrl + mouse scroll.**

The issue was occuring due to the "scale" property in the pinch gesture.
The scale was getting bigger values, leading to more zooming.
What I did was, made sure that maximum scale difference between current
and last value cannot be more than the scaling factor used in
zoomin/zoomout buttons. That is. 0.2
Also, the pinch zoom would work as expected.

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

- Improvement: Enhanced zoom precision in the Graph component. This
update allows for more accurate scaling when adjusting the view in the
graph builder. The change ensures that the zoom level adjusts more
precisely, providing a smoother and more controlled user experience when
interacting with graphs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-18 15:07:27 +02:00
df3a17efa0 🐛 Freeze body overflow when opening a Popup embed (#937)
fix #763
/claim #763

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

- **Enhancement**: Improved the visibility management of the bot in the
popup. This update ensures a smoother and more intuitive user experience
when interacting with the bot.
- **Bug Fix**: Resolved an issue where certain styles could interfere
with the bot's visibility in the popup. The update prioritizes the
necessary style settings, ensuring the bot's visibility is maintained as
expected, regardless of other conflicting styles.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2023-10-17 15:16:14 +02:00
3e06d89873 💚 Fix send email in CI "React is not defined" 2023-10-17 14:39:10 +02:00
885dcecd8d 🐛 (results) Lower the max limit in getResults endpoint to avoid payload size error
Closes #908
2023-10-17 14:19:09 +02:00
1cc4ccfcfa 👷 Improve getUsage accuracy in check cron job 2023-10-17 13:37:36 +02:00
6b0c263f88 🚑 (billing) Fix chats pricing tiers incremental flat amou… 2023-10-17 08:32:41 +02:00
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