2
0
Commit Graph

1741 Commits

Author SHA1 Message Date
Baptiste Arnaud
be9daee63e ♻️ Update import contact to brevo script 2023-10-23 09:57:47 +02:00
Prateek Kalra
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
Prateek Kalra
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
Rishi Raj Jain
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
Baptiste Arnaud
3e06d89873 💚 Fix send email in CI "React is not defined" 2023-10-17 14:39:10 +02: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
1cc4ccfcfa 👷 Improve getUsage accuracy in check cron job 2023-10-17 13:37:36 +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
a8c2deb258 📝 Add bounties info in README 2023-10-16 16:09:54 +02:00
Baptiste Arnaud
1d0aab71f9 🐛 (webhook) Fix webhook response data key number parsing 2023-10-16 14:33:13 +02:00
Baptiste Arnaud
d4041c75a3 🔖 Release v2.18.2 v2.18.2 2023-10-13 15:02:07 +02:00
Baptiste Arnaud
3ca5384e7f 🐳 Force Next.js apps local hostname
Closes #911
2023-10-13 15:01:21 +02:00
Baptiste Arnaud
ee7dfbf848 🐛 (videoBubble) Fix youtube parsing for IDs containing a "-" 2023-10-13 14:11:18 +02:00
Baptiste Arnaud
9bbb30f30d 🐛 (textBubble) Fix overflow with long links
Closes #764
nextjs-v0.2.7 react-v0.2.7 js-v0.2.7
2023-10-12 17:33:23 +02:00
Baptiste Arnaud
ad791789ba 🐛 Fix link parsing when using variables
Closes #764
2023-10-12 17:20:11 +02:00
Baptiste Arnaud
ee685f14f3 (video) Allow changing video height when resolved to an iframe 2023-10-12 14:48:52 +02:00
Baptiste Arnaud
e071c810ae 📝 (openai) Add "Multiple OpenAI blocks" video section 2023-10-12 14:10:53 +02:00
Baptiste Arnaud
42fd6037f7 🐛 (openai) Fix 2 openai streaming back to back nextjs-v0.2.6 react-v0.2.6 js-v0.2.6 2023-10-12 13:59:03 +02:00
Baptiste Arnaud
a48026c707 🚑 Fix empty bubble issue when plate element does not have a type attribute nextjs-v0.2.5 react-v0.2.5 js-v0.2.5 2023-10-11 09:13:59 +02:00
Baptiste Arnaud
6988ef12d3 🔖 Release v2.18.1 v2.18.1 2023-10-10 15:05:48 +02:00
Baptiste Arnaud
54788a828e 💚 Fix docker build when Sentry not enabled 2023-10-10 15:04:17 +02:00
Baptiste Arnaud
49826d1303 🚸 (openai) Improve streaming bubble sequence and visual nextjs-v0.2.4 react-v0.2.4 js-v0.2.4 2023-10-09 11:30:51 +02:00
Baptiste Arnaud
8eb9f2568b 🚑 Fix custom CSS sanitization nextjs-v0.2.3 react-v0.2.3 js-v0.2.3 2023-10-09 10:39:47 +02:00
Baptiste Arnaud
021cae3c29 📝 (s3) Add s3 configuration detailed instructions 2023-10-09 10:14:05 +02:00
Baptiste Arnaud
8e548248b1 🛂 Sanitize custom CSS and head code to avoid modification of lite badge 2023-10-09 09:25:53 +02:00
Baptiste Arnaud
258de60bd2 🐛 (editor) Fix default branding settings on cre… 2023-10-09 08:24:11 +02:00
Baptiste Arnaud
3e7b9b3afd ⬆️ Upgrade sentry and improve its reliability 2023-10-07 12:40:43 +02:00
Baptiste Arnaud
15823df6bd 📝 (embed) Add note about non-embeddable websites 2023-10-07 08:29:47 +02:00
Baptiste Arnaud
224a08b932 🚸 (condition) Don't show value in node content if operator is "set" or "empty" 2023-10-07 08:08:56 +02:00
Baptiste Arnaud
073654e1e0 ♻️ Remove sentry client monitoring in viewer 2023-10-07 07:58:40 +02:00
Baptiste Arnaud
877a58dac2 💄 Better parsing of lists and code in streaming bubbles nextjs-v0.2.2 react-v0.2.2 js-v0.2.2 2023-10-06 19:41:31 +02:00
Baptiste Arnaud
4746e38cb2 🐛 Add no cache instructions to streamer
Attempt to fix buffering issue when Cloudflare proxy is enabled
2023-10-06 18:31:42 +02:00
Baptiste Arnaud
bf1f657642 🔥 Remove streamer Pages API endpoint 2023-10-06 17:45:12 +02:00
Baptiste Arnaud
b232a9495e 🚸 (openai) Improve streamed message lists CSS nextjs-v0.2.1 react-v0.2.1 js-v0.2.1 2023-10-06 15:37:55 +02:00
Baptiste Arnaud
0ba13b4df0 🐛 Enable stream again by migrating endpoint to route handler
https://vercel.com/docs/functions/edge-functions/streaming#streaming-data-with-edge-functions
2023-10-06 15:07:26 +02:00
Baptiste Arnaud
225dfed313 ⬆️ (openai) Replace openai-edge with openai and upgrade next 2023-10-06 14:38:54 +02:00
Baptiste Arnaud
dfcaa0f1d0 🔖 (wordpress) Deploy v3.4.0 2023-10-06 10:20:15 +02:00
Baptiste Arnaud
3838ac9c3f 🐛 New sendMessage version for the new parser
Make sure old client still communicate with old parser
nextjs-v0.2.0 react-v0.2.0 js-v0.2.0
2023-10-06 10:14:26 +02:00
Baptiste Arnaud
6f3e9e9251 🚑 Fix text styling parsing on variables 2023-10-05 17:53:04 +02:00
Baptiste Arnaud
d567bede6e 📝 (whatsapp) Remove private beta mention 2023-10-05 17:28:32 +02:00
Baptiste Arnaud
cfc5f641a6 Automatically parse markdown from variables in text bubbles
Closes #539
nextjs-v0.1.34 react-v0.1.34 js-v0.1.34
2023-10-05 16:50:17 +02:00
Baptiste Arnaud
9e6a1f7dc0 ♻️ (api) Auto start bot if starting with input
Closes #877, closes #884
2023-10-04 16:47:58 +02:00
Baptiste Arnaud
2bc9dfb503 🚑 (results) Fix broken infinite scroll 2023-10-04 08:14:25 +02:00
Baptiste Arnaud
ee800d5ba2 🐳 Remove wait-for-it script to avoid edge cases issues 2023-10-03 17:07:14 +02:00
Baptiste Arnaud
8b8a23accb 🧑‍💻 Improve invalid environment variable insight on build fail 2023-10-03 16:12:04 +02:00
Baptiste Arnaud
bf051bebde 🐛 (whatsapp) Fix force create session when flow is completed at first round 2023-10-03 16:06:37 +02:00
Baptiste Arnaud
a7b784b446 🚸 (videoBubble) Reparse variable video URL to correctly detect provider 2023-10-03 11:44:51 +02:00
Baptiste Arnaud
a53d128fb0 🛂 (whatsapp) Set default whatsapp expiry to 4 hours 2023-10-03 10:53:37 +02:00
Baptiste Arnaud
3292cccf51 🛂 (whatsapp) Disable whatsapp by default on duplication 2023-10-03 10:40:38 +02:00