Andrés Moya
2fc6290c8f
🐛 Fix invalid frame-id when adding shape to copy
2024-01-04 14:40:22 +01:00
alonso.torres
c9200f235e
♻️ Changes to update-shape parameters
2024-01-02 18:09:55 +01:00
alonso.torres
52c849ce4b
🐛 Fix problem with absolutes inside grid
2023-12-15 22:18:23 +01:00
Andrés Moya
fd5fd87360
🐛 Fix propagation of changes with nested components
2023-12-14 08:54:00 +01:00
Andrés Moya
02986f81bd
🐛 Avoid linking to remote main, when adding a shape to a copy
...
For example, when doing a reset overrides after a component switch
2023-12-13 15:37:15 +01:00
Pablo Alba
cc9e517720
🐛 Fix validation error detaching copy inside main
2023-12-07 12:58:22 +01:00
Pablo Alba
3e965c96e7
🐛 Fix when changing order on main+flex, the copies are badly updated
2023-12-04 17:12:33 +01:00
Pablo Alba
05a392d093
🐛 Fix name of the component not updating on update main
2023-12-04 17:12:33 +01:00
Andrés Moya
a4f32de9a1
Revert " 🐛 Fix synchronization"
...
This reverts commit dd363c10a0b5cf4e6682b299e2ae87c7a808f625.
2023-12-01 15:31:26 +01:00
Andrés Moya
dd363c10a0
🐛 Fix synchronization
2023-11-30 16:33:20 +01:00
Pablo Alba
d30dc6b34b
🐛 Fix cut-paste main component outside another
2023-11-28 21:37:24 +01:00
Andrés Moya
8d5af748da
🐛 Fix creation of a copy inside a board
2023-11-23 12:45:20 +01:00
Alejandro Alonso
c10b8c81fd
🐛 Fix internal error when duplicating board which contains components
2023-11-21 16:55:30 +01:00
Pablo Alba
8fd16ff018
🐛 Fix impossible to swap component which is located into board
2023-11-21 08:46:45 +01:00
Andrey Antukh
52fbc678f3
♻️ Move app.common.pages to app.common.files
2023-11-16 11:07:36 +01:00
Andrés Moya
0dfe231dc3
🐛 Fix validation error when adding a shape to a main
2023-11-15 10:12:47 +01:00
Andrés Moya
5fb4703d95
🐛 Convert in copies nested main instances when duplicating
2023-11-10 18:05:30 +01:00
Andrés Moya
82c02634e9
🐛 Redo duplicate main to avoid several bugs
2023-11-10 13:33:37 +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
da4ba3c9fe
🐛 Fix restore component on library with deleted page
2023-11-03 13:41:52 +01:00
Andrés Moya
c69cc9d298
bug: Fix component-root in nested instances when creating new component
2023-10-31 10:48:52 +01:00
Andrés Moya
e8aab8b0bf
🐛 Remove root when creating nested components
2023-10-05 13:32:03 +02:00
Pablo Alba
e9bd769823
🐛 When duplicating a main component from the assets tab, the new component should be next to it.
2023-09-22 11:21:59 +02:00
alonso.torres
6f2a459cce
✨ Instance component to grid layout
2023-09-18 14:08:34 +02:00
Andrey Antukh
2706d1ffd3
Merge pull request #3598 from penpot/palba-fix-duplicate-component
...
🐛 Fix duplicate component doesn't create a main shape
2023-09-05 12:20:34 +02:00
Pablo Alba
bd1a681e71
🐛 Fix duplicate component doesn't create a main shape
2023-09-05 12:19:57 +02:00
Andrey Antukh
5b3e12bb9c
♻️ Refactor change builder for make it more efficient
...
Mainly replaces the usafe of the inneficient d/preconj helper
with a combination of conj and simple list as data structure whitch
maintains the previous ordering semantics on addition.
Also removes the d/preconj from the codebase.
2023-09-04 15:48:34 +02:00
Pablo Alba
c2a27bb845
🐛 Fix update main targeting remote-shape
2023-08-17 09:38:30 +02:00
Pablo Alba
c5315de91c
🐛 Reset component is now against remote main
2023-08-17 09:38:30 +02:00
Andrés Moya
8b801b65f6
✨ Enhance synchronization of nested shapes
2023-08-17 09:38:30 +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
Andrés Moya
d8121364ad
🐛 Fix touched on adding shapes to a component copy and undo
2023-06-22 09:27:27 +02:00
Pablo Alba
2c007e7303
🐛 Remove duplicate component context menu item
2023-05-29 08:48:23 +02:00
Pablo Alba
6929347da7
🎉 Change main shape name along with component name
2023-05-24 12:17:58 +02:00
Pablo Alba
65c695e830
🐛 Fix delete page with components
2023-05-19 10:37:10 +02:00
Andrés Moya
8a42a53522
✨ Notify library updates when really needed
2023-05-17 14:12:49 +02:00
Pablo Alba
a7015f2517
Fix restore and instanciate (in copy and paste) components with parent
2023-04-26 11:34:26 +02:00
Pablo Alba
4ddd3811b2
🐛 Fix copy and paste components between files
2023-04-25 10:27:06 +02:00
Andrés Moya
bbd561a772
🔧 Fix test cases
2023-04-14 12:31:04 +02:00
Andrés Moya
2790111405
🎉 Now all component roots are frames
2023-04-14 12:31:03 +02:00
Andrés Moya
a27fa8b317
🎉 Detach component now only affects top instance, not subinstances
2023-04-03 11:52:26 +02:00
Pablo Alba
b33e469501
🎉 Copy paste components, even to another page
2023-03-31 14:04:06 +02:00
Andrés Moya
96540af2b1
🎉 Instantiate component with duplicate
2023-03-27 10:39:35 +02:00
Pablo Alba
e59d106315
🐛 Fix duplicate component in assets generates wrong main copy
2023-03-27 10:39:35 +02:00
Andrés Moya
7391a4086a
🔧 Refactor delete/restore components
2023-03-27 10:39:35 +02:00
Andrés Moya
0711fa700b
🔧 Read component shapes from pages
2023-03-27 10:39:33 +02:00
Andrés Moya
dd2321a37b
🐛 Fix weird numeration creating elements in dashboard
2023-02-02 10:19:36 +01:00
Andrés Moya
bedaef961b
🐛 Fix ghost shapes after sync groups in components
2023-01-09 14:21:29 +01:00
Andrés Moya
985d5cc20c
🐛 Fix group/ungroup shapes inside a component
2023-01-05 09:21:42 +01:00