Commit Graph

18 Commits

Author SHA1 Message Date
Baptiste Arnaud
8d9ef79b3d (editor) Improve graph pan when dragging on groups 2024-01-23 17:53:44 +01:00
Baptiste Arnaud
2c20e96a81 (editor) Actions on multiple groups
You can now select groups, move, copy, delete them easily

Closes #830, closes #1092
2024-01-23 10:31:31 +01:00
Baptiste Arnaud
35300eaf34 ♻️ Introduce typebot v6 with events (#1013)
Closes #885
2023-11-08 15:34:16 +01:00
neo773
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
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
Baptiste Arnaud
b0f25f301b (analytics) Improve analytics graph accuracy 2023-06-30 12:39:20 +02:00
Baptiste Arnaud
0582ca74ac 🚸 (editor) Improve editor performance by rounding paths
Related to #575
2023-06-24 11:48:46 +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
bf1fbf2c53 🩹 Fix crash on bot load when it has no groups 2023-03-09 14:21:02 +01:00
Baptiste Arnaud
b77e2c8d2c 🔥 Remove disable response saving option
Doesn't work properly when it comes to keep tracking storage usage
2023-03-07 14:41:57 +01:00
Baptiste Arnaud
f8f98adc1c (editor) Improve edges responsiveness
Also fixed a ton of useEffects should make everything a bit more reactive.

Closes #307
2023-02-28 15:38:28 +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
6c55510d80 🚸 (editor) Automatically move graph on first group on mount 2022-12-16 08:47:02 +01:00
Baptiste Arnaud
7632c5426c ♻️ (editor) Migrate from react-draggable to @use-gesture
Closes #168
2022-11-18 07:58:43 +01:00
Baptiste Arnaud
6725c17a02 🚸 (condition) Enable multiple condition items in one block
Closes #162
2022-11-16 14:56:09 +01:00
Baptiste Arnaud
643571fe7d ♻️ (builder) Change to features-centric folder structure 2022-11-15 15:14:38 +01:00