mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
♻️ Refactor right sidebar state management
Also removing duplicated refs and improve efficiency of several other refs used on sidebar.
This commit is contained in:
@@ -29,10 +29,10 @@
|
||||
"~:created-at": "~m1713536343369",
|
||||
"~:data": {
|
||||
"~:pages": [
|
||||
"~uc7ce0794-0992-8105-8004-38f28044384a"
|
||||
"~u66697432-c33d-8055-8006-2c62cc084cad"
|
||||
],
|
||||
"~:pages-index": {
|
||||
"~uc7ce0794-0992-8105-8004-38f28044384a": {
|
||||
"~u66697432-c33d-8055-8006-2c62cc084cad": {
|
||||
"~#penpot/pointer": [
|
||||
"~ude58c8f6-c5c2-8196-8004-3df9e2e52d88",
|
||||
{
|
||||
@@ -55,4 +55,4 @@
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,7 +91,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"~:id": "~uc7ce0794-0992-8105-8004-38f28044384a",
|
||||
"~:id": "~u66697432-c33d-8055-8006-2c62cc084cad",
|
||||
"~:name": "Page 1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -276,4 +276,4 @@
|
||||
"~:id": "~u66697432-c33d-8055-8006-2c62cc084cad",
|
||||
"~:name": "Page 1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"~:id": "~u51e13852-1a8e-8037-8005-9eabb500f7c7",
|
||||
"~:file-id": "~u51e13852-1a8e-8037-8005-9e9413a1f1f6",
|
||||
"~:file-id": "~uc7ce0794-0992-8105-8004-38f280443849",
|
||||
"~:created-at": "~m1737542758401",
|
||||
"~:data": {
|
||||
"~:options": {},
|
||||
@@ -454,7 +454,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"~:id": "~u51e13852-1a8e-8037-8005-9e9413a1f1f7",
|
||||
"~:id": "~u66697432-c33d-8055-8006-2c62cc084cad",
|
||||
"~:name": "Page 1",
|
||||
"~:background": "#e8eae9",
|
||||
"~:guides": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"~:id": "~u021b87d4-813e-8066-8006-b36537098786",
|
||||
"~:file-id": "~uef9b2783-804c-8017-8006-ae6f7eab52ad",
|
||||
"~:file-id": "~uc7ce0794-0992-8105-8004-38f280443849",
|
||||
"~:created-at": "~m1756113434655",
|
||||
"~:data": {
|
||||
"~:objects": {
|
||||
@@ -258,7 +258,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"~:id": "~uef9b2783-804c-8017-8006-ae6f7eab52ae",
|
||||
"~:id": "~u66697432-c33d-8055-8006-2c62cc084cad",
|
||||
"~:name": "Page 1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,15 +23,17 @@
|
||||
"~:revn": 36,
|
||||
"~:modified-at": "~m1737542758402",
|
||||
"~:vern": 0,
|
||||
"~:id": "~u51e13852-1a8e-8037-8005-9e9413a1f1f6",
|
||||
"~:id": "~uc7ce0794-0992-8105-8004-38f280443849",
|
||||
"~:is-shared": false,
|
||||
"~:version": 60,
|
||||
"~:project-id": "~u0df61468-6cbf-8067-8005-6b453ce996d0",
|
||||
"~:created-at": "~m1737536563847",
|
||||
"~:data": {
|
||||
"~:pages": ["~u51e13852-1a8e-8037-8005-9e9413a1f1f7"],
|
||||
"~:pages": [
|
||||
"~u66697432-c33d-8055-8006-2c62cc084cad"
|
||||
],
|
||||
"~:pages-index": {
|
||||
"~u51e13852-1a8e-8037-8005-9e9413a1f1f7": {
|
||||
"~u66697432-c33d-8055-8006-2c62cc084cad": {
|
||||
"~#penpot/pointer": [
|
||||
"~u51e13852-1a8e-8037-8005-9eabb500f7c7",
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"~:revn": 133,
|
||||
"~:modified-at": "~m1756113434658",
|
||||
"~:vern": 0,
|
||||
"~:id": "~uef9b2783-804c-8017-8006-ae6f7eab52ad",
|
||||
"~:id": "~uc7ce0794-0992-8105-8004-38f280443849",
|
||||
"~:is-shared": false,
|
||||
"~:migrations": {
|
||||
"~#ordered-set": []
|
||||
@@ -36,9 +36,11 @@
|
||||
"~:project-id": "~u0df61468-6cbf-8067-8005-6b453ce996d0",
|
||||
"~:created-at": "~m1755780585133",
|
||||
"~:data": {
|
||||
"~:pages": ["~uef9b2783-804c-8017-8006-ae6f7eab52ae"],
|
||||
"~:pages": [
|
||||
"~u66697432-c33d-8055-8006-2c62cc084cad"
|
||||
],
|
||||
"~:pages-index": {
|
||||
"~uef9b2783-804c-8017-8006-ae6f7eab52ae": {
|
||||
"~u66697432-c33d-8055-8006-2c62cc084cad": {
|
||||
"~#penpot/pointer": [
|
||||
"~u021b87d4-813e-8066-8006-b36537098786",
|
||||
{
|
||||
@@ -47,7 +49,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"~:id": "~uef9b2783-804c-8017-8006-ae6f7eab52ad",
|
||||
"~:id": "~uc7ce0794-0992-8105-8004-38f280443849",
|
||||
"~:options": {
|
||||
"~:components-v2": true,
|
||||
"~:base-font-size": "16px"
|
||||
|
||||
Reference in New Issue
Block a user