216 Commits

Author SHA1 Message Date
Elena Torro
5054f6bc38 🔧 Optimize sidebar performance for deeply nested shapes
- Batch hover highlights using RAF to avoid long tasks from rapid events
- Run parent expansion asynchronously to not block selection
- Lazy-load children in layer items using IntersectionObserver
- Clarify expand-all-parents logic with explicit bindings
2026-01-15 09:15:32 +01:00
Alejandro Alonso
a576c0404a
🐛 Fix focus mode across page and file navigation (#7695) 2025-11-05 12:05:00 +01:00
Pablo Alba
fd596a1371 🐛 Fix incorrect behavior of Alt + Drag for variants 2025-10-21 17:02:10 +02:00
Alonso Torres
40e9a78f67
Add telemetry for events performance measures (#7457) 2025-10-08 14:03:09 +02:00
Andrey Antukh
b9030fcc73 Add better workspace file indexing strategy
Improve file indexes initialization on workspace.

Instead of initialize indexes for all pages only initialize
indexes for the loaded page.
2025-09-29 12:07:49 +02:00
Pablo Alba
18d5b84b00
🐛 Fix variants events (#7320)
* 🐛 Add missing event add-component-to-variant

* 🐛 Fix event apply-tokens, param applied-to-variant

* 🐛 Fix missing case on event "add new variant"

* 🐛 Fix event combine-as-variants

* 🐛 Fix event variant-edit-property-name

* 🐛 On variants events, change trigger for origin

* 🐛 Split combine-as-variants to not have an optional first parameter
2025-09-16 13:09:23 +02:00
Pablo Alba
06441063f2 Add "advanced" events to variants 2025-09-08 15:33:14 +02:00
Pablo Alba
409f95ac17
Add basic variants events (#7249)
*  Add basic variants events

*  MR changes
2025-09-04 17:00:09 +02:00
Álvaro Tejero-Cantero
bcb69b6227
🐛 Restore viewport and selection when exiting focus mode (#6827)
* 📚 Provide guidance on how to exit focus mode

* 🐛 Restore viewport & selection post focus mode

* 📎 Update changelog
2025-07-07 09:44:06 +02:00
Andrey Antukh
898182e3d5
Add minor events props normalization (#6836) 2025-07-02 14:41:48 +02:00
Andrey Antukh
b747ccc382 🎉 Add shortcut helper for creating events 2025-06-19 11:38:08 +02:00
Andrey Antukh
892c9ab12c Add minor code consistency fixes 2025-06-19 11:38:08 +02:00
María Valderrama
cb46d643ac Add missing user experience events 2025-06-19 11:22:58 +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
Miguel de Benito Delgado
e22a55334e
💄 Rename some namespace aliases for consistency (#6485) 2025-05-15 17:43:02 +02:00
alonso.torres
ecb85778bc 🐛 Fix problem with path edition of shapes 2025-05-14 14:45:29 +02: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
alonso.torres
0f7e06207c 🐛 Fix problem selecting shapes wont expand parent 2025-01-10 13:09:10 +01:00
Marina López
c61b794ab6 🐛Fix link when deselecting shapes 2024-12-13 12:29:06 +01:00
Marina López
b18ee859b1 Shareable link pointing to a specific board 2024-12-13 09:43:56 +01:00
Andrey Antukh
c6b96a81f1 ♻️ Rename data.events to data.event 2024-12-03 12:15:52 +01:00
Pablo Alba
f72c37a198 Add events for use library assets 2024-11-28 11:25:12 +01:00
Alejandro Alonso
96bb282674 Fix many corner issues related to shape data structure change 2024-10-29 11:30:31 +01:00
Belén Albeza
4623f36042 Write shapes directly to wasm memory 2024-10-29 11:30:31 +01:00
Andrey Antukh
6436ef334b ♻️ Refactor persistence layer 2024-06-04 10:15:32 +02:00
Pablo Alba
bfe9caba15 ♻️ Components refactor: move generators for duplicate 2024-05-09 11:20:19 +02:00
Andrés Moya
0b4fbc184d ♻️ Move generate-xx methods to logic module 2024-05-06 16:48:18 +02:00
alonso.torres
9243ba937d Add to plugins clone and remove 2024-05-03 11:36:59 +02:00
Pablo Alba
37e68249aa ♻️ Components refactor: remove it usage on libraries_helpers 2024-04-25 14:22:37 +02:00
Pablo Alba
7d44eef4ab ♻️ Components refactor: generator for restore-component 2024-04-25 14:22:37 +02:00
AzazelN28
47804429c0 Merge branch 'staging' into develop 2024-04-25 11:32:28 +02:00
Pablo Alba
c6fabc349e 🐛 Fix swap-slot is removed on copy-paste of a chained copy 2024-04-22 11:21:34 +02:00
Pablo Alba
a8738b44a1 ♻️ Merge libraries_common_helpers into libraries_helpers 2024-04-19 16:00:38 +02:00
Pablo Alba
2e18ce9323 ♻️ Move libraries_helpers to common 2024-04-19 15:37:29 +02:00
Pablo Alba
e1cd6d04d9 ♻️ Move common libraries_helpers to libraries_common_helpers 2024-04-19 14:02:27 +02:00
Andrés Moya
10fbae2f0a 🐛 Fix error when pasting a main component in other file 2024-04-08 14:02:30 +02:00
Pablo Alba
065d481cb5 🐛 Remove the swap slot on some operations with copies 2024-04-04 13:50:57 +02:00
AzazelN28
6b84eef14b 🐛 Fix toolbar hidden after path creation 2024-04-03 17:50:04 +02:00
Andrés Moya
9a7a99e67a 🐛 Advance nested copies when duplicated 2024-03-22 07:51:11 +01:00
Alejandro
89b43d7127
Merge pull request #4269 from penpot/telemetry
 Improve internal naming of setup/props
2024-03-18 09:53:15 +01:00
Alejandro Alonso
3f316ca9c9 🐛 Fix swap on anidated frames 2024-03-18 09:05:49 +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
054ffbe396 🐛 Fix duplicate board 2024-03-15 14:15:49 +01:00
Andrey Antukh
1a12e63027 ♻️ Simplify audit events code 2024-03-14 15:59:47 +01:00
Alejandro
ecb8ed8b8b
Merge pull request #4254 from penpot/palba-fix-crash-copy
🐛 Fix crash copy paste a Copy from a library
2024-03-13 10:01:58 +01:00
Pablo Alba
2d5e1f7792
Merge pull request #4250 from penpot/superalex-fix-restore-component
🐛 Fix restore component
2024-03-13 09:48:24 +01:00
Pablo Alba
76b75192e7 🐛 Fix crash copy paste a Copy 2024-03-12 20:57:33 +01:00
alonso.torres
786513863b 🐛 Fix problem with duplicate in main component 2024-03-12 18:05:36 +01:00
Alejandro Alonso
56bc70dffe 🐛 Fix restore component 2024-03-12 12:43:42 +01:00