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
Andrés Moya
baf4dfdecc
🐛 Allow to create component from frame
2023-01-02 11:33:58 +01:00
Andrés Moya
af03f720b0
✨ Allow to reset changes from a deleted component
2022-11-21 13:58:31 +01:00
Pablo Alba
5bbfe376cf
Merge pull request #2390 from penpot/hiru-delete-comp-assets
...
🐛 Fix delete component from assets panel in v2
2022-10-04 11:47:28 +02:00
luz paz
e30bea0b6f
🔧 Fix typos in source code
...
Found via `codespell -q 3 -S *.po,./frontend/yarn.lock -L childs,clen,fpr,inflight,ody,ot,ro,te,trys,ue`
2022-10-04 10:40:34 +02:00
Andrés Moya
243e29fdb4
🐛 Fix delete component from assets panel in v2
2022-09-30 15:26:29 +02:00
Andrey Antukh
41134f22e9
📎 Update license header
2022-09-20 23:23:22 +02:00
Andrey Antukh
978b309b04
🐛 Fix issues introduced in previous merge
2022-09-20 08:58:57 +02:00
Andrey Antukh
32b8c17dad
Merge remote-tracking branch 'origin/staging' into develop
2022-09-20 08:48:55 +02:00
alonso.torres
ddf8aaf68f
🐛 Fix problem when moving shapes inside nested frames
2022-09-14 13:12:16 +02:00
Andrés Moya
46053b6bbf
🎉 Import & export new components
2022-09-02 13:43:01 +02:00
Andrés Moya
0c717c579b
🐛 Some small fixes
...
* Remove an unneeded condition in sync.
* Correctly duplicate main instances.
* Slightly enhance sync logging.
2022-08-17 16:22:04 +02:00
Andrés Moya
9725dd5fff
🎉 Allow to create a nested component in one step
2022-08-16 15:15:02 +02:00
Andrés Moya
a5bf1c03e7
🎉 Make components-v2 an optional feature
2022-07-29 09:29:25 +02:00
Andrés Moya
1ef37281e6
🎉 Auto sync when changing main instance
2022-07-29 09:29:24 +02:00
Andrés Moya
eebd596fca
♻️ Use main-instance? attribute
2022-07-29 09:29:24 +02:00
Andrés Moya
dcf18b3aee
🔧 Refactor sync-file for performance
2022-07-29 09:29:24 +02:00