Andrey Antukh
ee7c3ece75
🐛 Fix selection bug on path edition
2023-07-13 10:50:39 +02:00
Eva Marco
233b9a7951
Merge pull request #3411 from penpot/niwinz-fix-css-macros
...
🐛 Fix CSS related macros backward compatibility
2023-07-13 07:54:03 +02:00
Andrey Antukh
52b7328ef5
💄 Fix indentation on workspace left toolbar ns
2023-07-12 15:26:12 +02:00
Andrey Antukh
b6e9ea1d60
🐛 Fix backward compatibility of css related macros
2023-07-12 15:24:48 +02:00
Alejandro
9713f2859f
Merge pull request #3322 from penpot/niwinz-performance-custom-rect
...
⚡ Performance enhancements (part 1)
2023-07-12 07:20:43 +02:00
Andrey Antukh
42aee56c36
💄 Add indentation fixes on frontend tests
2023-07-11 17:27:36 +02:00
Andrey Antukh
dae5e71fa1
✨ Mark new or updated files with new features
...
for avoid crossversion modifications
2023-07-11 17:27:36 +02:00
Andrey Antukh
dfc2ab56a9
💄 Fix code style consistency on schema declarations on file ns
2023-07-11 17:27:36 +02:00
Andrey Antukh
ab0245279f
♻️ Refactor (again) numeric input component
2023-07-11 17:27:36 +02:00
Andrey Antukh
e96d129ee8
💄 Add minor cosmetic change on workspace drawing ns
2023-07-11 17:27:36 +02:00
Andrey Antukh
42fe47e5f1
✨ Make the frame-id and parent-id always initialized on shape
2023-07-11 17:27:36 +02:00
Andrey Antukh
f246de82f4
💄 Add cosmetic changes to measures menu component
2023-07-11 17:27:36 +02:00
Andrey Antukh
810abe6728
🐛 Fix bug related to path shape initialization
2023-07-11 17:27:35 +02:00
Andrey Antukh
2c61cfd139
⚡ Optimize content->points helper
2023-07-11 17:27:35 +02:00
Andrey Antukh
e833e29bd4
📎 Add arity-0 to make-rect function
2023-07-11 17:27:35 +02:00
Andrey Antukh
8dfebc39fe
🔥 Remove duplicate code
2023-07-11 17:27:35 +02:00
Andrey Antukh
fbf89d7f6c
✨ Add tests for record macro
2023-07-11 17:27:35 +02:00
Andrey Antukh
0b4b14af9e
⚡ Add optimized version of apply-transform
...
using internal mutation
2023-07-11 17:27:35 +02:00
Andrey Antukh
723aab6b80
✨ Use positional constructor for matrix
2023-07-11 17:27:35 +02:00
Andrey Antukh
3ab67e4545
⚡ Add lightweight optimization to modifiers handling
...
Mainly using controlled internal mutation when is possible
2023-07-11 17:27:35 +02:00
Andrey Antukh
4a4423da70
⚡ Add micro optimization to cph/root? predicate
...
accessing directly to the prop instead of using
the lookup operation
2023-07-11 17:27:35 +02:00
Andrey Antukh
8d46271e9d
⚡ Avoid unnecesary call on math helper
2023-07-11 17:27:35 +02:00
Andrey Antukh
a15a2010b6
⚡ Add huge optimization to the transform-points-matrix
...
it reduces the 90% overhead of this function; in an relative
comparison the same execution is reduced from 350ms to 18ms
2023-07-11 17:27:35 +02:00
Andrey Antukh
4d3064ba6d
💄 Add minor cosmetic improvements to geom shape pixel precision code
2023-07-11 17:27:35 +02:00
Andrey Antukh
0e513f950a
💄 Add minor cosmetic changes to geom shape contraints code
2023-07-11 17:27:35 +02:00
Andrey Antukh
8723116230
⚡ Add some minor optimizations to geom shape common helpers
2023-07-11 17:27:35 +02:00
Andrey Antukh
819c7ea814
⚡ Add micro optimization to handle-area-selection event impl
2023-07-11 17:27:35 +02:00
Andrey Antukh
23d358aea7
💄 Add cosmetic changes on viewport hooks and actions
2023-07-11 17:27:35 +02:00
Andrey Antukh
ea5b153578
✨ Use new defrecord for geom data structures
2023-07-11 17:27:35 +02:00
Andrey Antukh
3f14308908
✨ Move fressian and transit impl for geom objects to respective nss
2023-07-11 17:27:35 +02:00
Andrey Antukh
f7801f9450
💄 Add minor cosmetic change to dm/get-prop macro impl
2023-07-11 17:27:35 +02:00
Andrey Antukh
f6e9c398b0
⚡ Improve performance of absolute-move function
2023-07-11 17:27:35 +02:00
Andrey Antukh
1ddea076e3
⚡ Reduce allocation on translate-*-frame functions
2023-07-11 17:27:35 +02:00
Andrey Antukh
121188d921
📎 Update frontend bench tools
2023-07-11 17:27:35 +02:00
Andrey Antukh
7fa24fdc2f
🐛 Fix issues on converting graphics to components
2023-07-11 17:27:35 +02:00
Andrey Antukh
ea47ce30df
💄 Add cosmetic improvements to align-objects event
2023-07-11 17:27:35 +02:00
Andrey Antukh
9b477ca0eb
🐛 Fix issue on transforms/move function related to path shapes
...
Where shape contains nils for x and y coords
2023-07-11 17:27:35 +02:00
Andrey Antukh
daeaf1548b
⚡ Add minor performance enhancements to layers-toolbox component
2023-07-11 17:27:35 +02:00
Andrey Antukh
0bc468f434
⚡ Optimize layer-item component
2023-07-11 17:27:35 +02:00
Andrey Antukh
f3b856b2af
⚡ Improve performance and usability of new css styles
2023-07-11 17:27:35 +02:00
Andrey Antukh
b65452cb73
⚡ Add performance improvements to use-search hook on layers
2023-07-11 17:27:35 +02:00
Andrey Antukh
0102ca1bcf
⚡ Add performance improvements to layer-name component
2023-07-11 17:27:35 +02:00
Andrey Antukh
6a1c32bb71
⚡ Use native props destructuring on measures menu
2023-07-11 17:27:35 +02:00
Andrey Antukh
03271ce3fc
💄 Add cosmetic improvements on rect options sidebar
2023-07-11 17:27:35 +02:00
Andrey Antukh
6e7595f48c
♻️ Remove ?
char from shape attrs
2023-07-11 17:27:35 +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
Andrey Antukh
9f5640c1db
📎 Add kondo config for new defrecord macro
2023-07-11 17:27:35 +02:00
Andrey Antukh
c32b1860c4
🎉 Add custom defrecord macro implementation
2023-07-11 17:27:31 +02:00
Alejandro
d0e407bfea
Merge pull request #3399 from penpot/juan-toolbar-redesign
...
💄 Toolbar redesign
2023-07-11 12:48:18 +02:00
Alejandro Alonso
d3b5d577fd
Merge remote-tracking branch 'origin/staging' into develop
2023-07-11 10:46:32 +02:00