135 Commits

Author SHA1 Message Date
Diana Veiga
37d5a31589
✨ Drop zoom snap (#7774)
* ✨ Remove const `zoom-half-pixel-precision`

* ♻️ Adjust usages
2025-11-20 13:28:45 +01:00
Alejandro Alonso
a576c0404a
🐛 Fix focus mode across page and file navigation (#7695) 2025-11-05 12:05:00 +01:00
Andrey Antukh
9f37175775 🐛 Fix incorrect path data content initialization on pluings api 2025-09-17 15:19:41 +02:00
Pablo Alba
f7a0c4139a
🐛 Fix you can add a rect into a variant container (#7137) 2025-08-18 13:02:27 +02:00
alonso.torres
cd1be43384 ✨ Add support for boolean shapes 2025-08-11 10:30:14 +02:00
Andrey Antukh
a2b8f19ff3 🐛 Add migration for fix undecoded path content 2025-07-03 08:40:23 +02:00
Andrey Antukh
546b7d5f60 🐛 Fix incorrect path tool handling on shapes not coerced to path 2025-06-24 19:09:38 +02:00
Andrey Antukh
3274a74611 ✨ Add missing fixes to the path edition mode 2025-06-20 11:06:48 +02:00
Andrey Antukh
0c260c626b ✨ Make the path creation flow consistent 2025-06-20 07:41:06 +02:00
Eva Marco
909838c8c4 🐛 Fix snap nodes shortcut 2025-06-19 14:01:15 +02:00
Miguel de Benito Delgado
fd89c9d82c
⚡ Avoid double id lookup when calling lookup-page-objects (#6513) 2025-05-20 22:31:40 +02:00
Miguel de Benito Delgado
48a3d38d82
✨ Add the Shift+ctrl+drag to deselect (#6494)
* ✨ Allow shape deselection using Ctrl+Shift+Drag

* ✨ Allow point deselection using Ctrl+Shift+Drag

* ✨ Properly remember previous selection during addition/removal of shapes

* ⚡ Preload point selection in path handle-area-selection

Also: prefer dm/get-in over get-in

* ✨ Highlight path nodes in selection rectangle incrementally
2025-05-20 15:23:05 +02:00
Andrey Antukh
f1a557c372 ✨ Add minor performance enhacements to viewport top-bar 2025-05-06 13:39:17 +02:00
Andrey Antukh
1c77126fe6 ⚡ Implement get-handlers in term of internal reduce
That has an average performance improvement of 64% over
original impl and reduction of generation of object garbage
2025-05-06 13:39:14 +02:00
Andrey Antukh
61c23877c1 ✨ Rename handler->point to get-handler-point 2025-05-06 13:39:14 +02:00
Andrey Antukh
1d0020f6e6 ✨ Replace duplicate fn get-point with segment->point 2025-05-06 13:39:13 +02:00
Andrey Antukh
b0cbe3cec8 ⚡ Replace content->points with faster get-points 2025-05-06 13:39:11 +02:00
Andrey Antukh
1fc0203c38 🎉 Add full integration with path data type feature 2025-05-06 13:39:10 +02:00
Alejandro Alonso
1a77c1fe36 🐛 Fix opening pen with shortcut multiple times breaks toolbar 2025-03-20 09:19:27 +01:00
Andrey Antukh
85746e7cb2 ♻️ Refactor state locality
The main purpose of this refactor is reduce
a custom state from different pages and unify
them under common access patterns
2025-01-16 15:31:18 +01:00
Eero Pitkänen
0c8678eb87 🐛 Fix dragging path points by returning closest point instead of only the distance 2024-10-10 11:15:49 +02:00
alonso.torres
8c1fba5160 ✨ Add api methods to align, distribute and flatten shapes 2024-09-13 12:29:07 +02:00
Andrey Antukh
b882b9e283 🔥 Remove usage of public usage of sm/define funcion 2024-09-13 11:30:55 +02:00
AzazelN28
b4004af255 🐛 Fix toolbar keeps hiding when clicking outside 2024-06-12 17:07:35 +02:00
Andrey Antukh
6436ef334b ♻️ Refactor persistence layer 2024-06-04 10:15:32 +02:00
Alejandro Alonso
b5c419512f ✨ Add locking degrees increment (hold shift) on path edition 2024-06-03 13:01:45 +02:00
AzazelN28
a569a350b4 🐛 Fix toolbar disappearing 2024-04-11 11:21:33 +02:00
AzazelN28
bd9874cf28 🐛 Fix exit edit path mode 2024-03-22 08:38:44 +01:00
alonso.torres
895f649ef1 🐛 Stop drag events when the user focus out the application 2024-03-15 15:34:16 +01:00
Alejandro Alonso
bad0fb912b :tada Add undo-group for layout updates 2024-03-08 11:31:32 +01:00
Andrey Antukh
e2d7105624 ⚡ Add nano optimization to get-path-id function
Mainly change get-in for dm/get-in macro
2024-02-29 10:20:47 +01:00
Andrey Antukh
26ab7f83fe 💄 Add mainly cosmetic changes to path-editing? function 2024-02-29 10:20:47 +01:00
Aitor
f0955c0e99 ♻️ Refactor toolbar refs and path editing helper 2024-02-29 10:20:47 +01:00
Aitor
f5dd199bc6 💄 Change stoper to stopper 2024-02-29 10:20:47 +01:00
Aitor
c123cf6e98 🐛 Fix path drawing inconsistencies 2024-02-29 10:20:47 +01:00
alonso.torres
1c5d51bf97 🐛 Fix undo path exit path editor after empty stack 2024-02-29 09:36:47 +01:00
Aitor
e6fcb418b1 🐛 Fix toolbar hidden after unfinished path 2024-01-22 18:26:10 +01:00
alonso.torres
a84b23168d 🐛 Fix problem with path editor undoing changes 2024-01-17 12:03:51 +01:00
Andrey Antukh
833871df65 💄 Format frontend code 2024-01-08 09:32:50 +01:00
Andrey Antukh
ccf063b8ef ⬆️ Upgrade to beicon2 (part2) 2023-12-26 14:14:20 +01:00
Andrey Antukh
96f5a33f5f ⬆️ Upgrade to beicon2 (part1) 2023-12-26 14:14:20 +01:00
Andrey Antukh
82dc1526d4 ⚡ Add performance oriented refactor for mouse streams 2023-11-29 09:15:53 +01:00
Andrey Antukh
37e4939af7 ✨ Add usability improvements to schema validation subsystem 2023-11-23 17:19:37 +01:00
Andrey Antukh
52fbc678f3 ♻️ Move app.common.pages to app.common.files 2023-11-16 11:07:36 +01:00
Andrey Antukh
3ceb4cf895 ♻️ Make svg to shapes conversion code multiplatform
- Move clojure code to common
- Rewrite some native-js code into optimized clojure
2023-11-07 12:48:31 +01:00
Pablo Alba
d938802ecf 🐛 Fix drawing over copy adds the shape to the copy 2023-11-03 13:41:11 +01:00
Pablo Alba
51fe27369b ✨ Do not allow the creation of groups, masks nor boolean in copies 2023-10-11 12:24:11 +02:00
Eva
d913637290 🐛 Fix several frontend errors related with new UI 2023-10-04 13:11:58 +02:00
Andrey Antukh
ee7c3ece75 🐛 Fix selection bug on path edition 2023-07-13 10:50:39 +02:00
Andrey Antukh
405aa66357 🎉 Add new shape & rect data structures
Also optimizes some functions for faster shape and rect props
access (there is still a lot of work ahead optimizing the rest of
the functions)

Also normalizes shape creation and validation for ensuring
correct setup of all the mandatory properties.
2023-07-11 17:27:35 +02:00