Commit graph

108 commits

Author SHA1 Message Date
Pablo Alba
cfb5e9aa66 On migration to v2, add the component path to the copy name 2024-04-03 16:04:23 +02:00
Andrey Antukh
126bab3ce4 🐛 Fix invalid page name on compv2 migration 2024-03-19 09:15:04 +01:00
Alejandro Alonso
ab0b3c71a8 🐛 Improve fixing root shapes for v1 components on migration to v2 2024-03-19 09:05:35 +01:00
Alejandro Alonso
d6b60ce43a 🐛 Fix rmap shape refs on components v2 migration 2024-03-18 14:19:40 +01:00
Alejandro Alonso
ca5e2c345b 🎉 Improve naming of components for Main components page on v1 to v2 migration 2024-03-18 09:13:15 +01:00
alonso.torres
3bc6d2b0a7 🐛 Fix migrating old components should not clip the content 2024-03-14 13:35:56 +01:00
Andrey Antukh
b718a282e0 ♻️ Add minor refactor to file migrations
Relevant changes:

- Add the ability to create migration in both directions, defaulting
  to identity if not provided
- Move the version attribute to file table column for to make it more
  accessible (previously it was on data blob)
- Reduce db update operations on file-update rpc method
2024-02-19 09:20:47 +01:00
Alejandro
7ac4b89a0e
Merge pull request #4145 from penpot/niwinz-staging-tmp
 Minor improvements on TMP storage API
2024-02-19 07:16:36 +01:00
Alejandro Alonso
377d9682da 🐛 Fix default constraints for migrated graphics 2024-02-14 11:00:54 +01:00
Andrey Antukh
9649878fd8 Ensure id prop on :data on components-v2 migration 2024-02-14 09:33:02 +01:00
Alejandro Alonso
dc67056a8c 🐛 Fix components without root shape for v2 migration 2024-02-12 10:21:47 +01:00
Andrey Antukh
ec2eb3d406 🐛 Fix broken text shapes without position-data on comp-v2 migration 2024-02-09 12:01:09 +01:00
Andrey Antukh
6d35cb2eb4 Improve snapshot related internal API
This commit also adds the ability to take snapshot of all files
of the team in a single run/transaction.
2024-02-09 12:01:09 +01:00
Alejandro Alonso
8d65998cc3 🐛 Fix remove nested roots on components v2 migration 2024-02-09 12:01:09 +01:00
Alejandro Alonso
66eca9ba4a 🐛 Fix conflict on components path for v2 migration 2024-02-09 12:01:09 +01:00
Alejandro Alonso
6fa22c3a04 🐛 Fix components with non existing component-ids for v2 migration 2024-02-09 12:01:09 +01:00
Alejandro Alonso
0c682ea75d 🐛 Fix components with compont-root on library for v2 migration 2024-02-09 12:01:09 +01:00
Alejandro Alonso
bdb16109d5 🐛 Fix empty components on v2 migration 2024-02-09 12:01:09 +01:00
Andrey Antukh
040b336ef9 Add helper for restoring team after migration to comp-v2 2024-02-06 19:20:25 +01:00
Andrey Antukh
267045e113 Improve migration scripts 2024-02-06 17:22:20 +01:00
Alejandro Alonso
c6fb211874 🐛 Fix copies of detached elements migration 2024-02-02 10:54:34 +01:00
Andrés Moya
750ea4fe3f 🐛 Add a fix for component heads that are not groups or frames 2024-02-02 10:54:34 +01:00
Andrey Antukh
04fd4e12d7 🐛 Fix invalid transforms on comp-v2 migration 2024-02-02 10:54:34 +01:00
Andrey Antukh
9eb902c682 🐛 Fix broken grids defaults on comp-v2 migration 2024-02-02 10:54:34 +01:00
Andrey Antukh
dba10ffd9b 🐛 Fix broken circle shapes geometry on comp-v2 migration 2024-02-02 10:54:34 +01:00
Andrey Antukh
e8c35c2de6 🐛 Fix invalid shape type :icon on comp-v2 migration 2024-02-02 10:54:33 +01:00
Andrey Antukh
3d462e3821 Split geometry fixes form fix-misc fn on comp-v2 migration 2024-02-02 10:54:33 +01:00
Andrés Moya
fb7d3676d2 🐛 Fix components without id 2024-02-02 10:54:33 +01:00
Andrey Antukh
db5946d1ab 🐛 Fix broken points on image shapes in comp-v2 migration 2024-02-02 10:54:33 +01:00
Alejandro Alonso
8cc3669aac Improve validator syntax 2024-02-02 10:54:33 +01:00
Alejandro Alonso
2924791cb0 🐛 Fix non-root copy only allowed inside a copy migration error 2024-02-02 10:54:33 +01:00
Andrey Antukh
036bf84ecd 🐛 Set proper order on comp-v2 migration fixes 2024-02-02 10:54:33 +01:00
Andrey Antukh
03eca0d9a2 🐛 Repair shape points if it is possible on comp-v2 migration 2024-02-02 10:54:33 +01:00
Andrey Antukh
3ea737deb1 🐛 Remove paths that can't be repaired on comp-v2 migration 2024-02-02 10:54:33 +01:00
Alejandro Alonso
5baa9e8fb6 🐛 Fix shape should not be component root migration error 2024-02-02 10:53:29 +01:00
Andrey Antukh
e43380ad61 🐛 Properly remove invalid text shapes on comp-v2 migration 2024-02-02 10:53:29 +01:00
Andrey Antukh
9ca7c4280c 💄 Fix minor cosmetic issues on components-v2 feature ns 2024-02-02 10:53:29 +01:00
Andrey Antukh
04be6b13be 🐛 Fix invalid colors on file library on comp-v2 migration 2024-02-02 10:53:29 +01:00
Andrés Moya
e4e566240f 🐛 Add fix for removing v2 remains in v1 files 2024-02-02 10:53:29 +01:00
Andrés Moya
daf77ecc5f 🐛 Enhande handling of detached shapes during migration fixes 2024-02-02 10:53:29 +01:00
Alejandro Alonso
0fd6cacd17 🐛 Fix parent not found, adding migration 2024-02-02 10:53:29 +01:00
Andrey Antukh
cdf312fdd9 Add better progress reporting
For components migration and for binfile import process
2024-01-30 16:27:16 +01:00
Andrey Antukh
623b4a9858 🐛 Remove empty text shapes on comp-v2 migration 2024-01-25 18:05:57 +01:00
Andrey Antukh
b1d33d4c15 🐛 Add missing shape name on comp-v2 migration 2024-01-25 17:58:55 +01:00
Andrey Antukh
1a3c07abdb 🐛 Remove completely broken shapes on comp-v2 migration 2024-01-25 17:31:27 +01:00
Andrey Antukh
a2a61e99a7 🐛 Fix invalid values on colors and typografies on fdata 2024-01-25 16:33:53 +01:00
Andrey Antukh
7ae308c8c9 🐛 Remove page background color it it has an invalid rgb color string 2024-01-25 16:03:31 +01:00
Alejandro Alonso
f864424d14 🐛 Fix parent not found 2024-01-25 16:03:31 +01:00
Andrey Antukh
75576c341d 🐛 Fix broken bool shapes on comp-v2 migration 2024-01-25 16:03:31 +01:00
Andrey Antukh
70b57f92b4 🐛 Fix broken path content on comp-v2 migration 2024-01-25 16:03:31 +01:00