Andrey Antukh
cacee40d11
🎉 Add proper schema encoding/decoding mechanism
...
this allows almost all api operations to success usin application/json
encoding with the exception of the update-file, which we need to
approach a bit differently;
the reason update-file is different, is because the operations vector
is right now defined without the context of shape type, so we are just
unable to properly parse the value to correct type using the schema
decoding mechanism
2024-08-21 11:27:36 +02:00
Andrey Antukh
5cf64c1440
Merge remote-tracking branch 'origin/staging' into develop
2024-07-31 12:46:47 +02:00
Andrés Moya
990a948bcc
🐛 Fix touched groups when detaching with nested copies
2024-07-30 14:28:37 +02:00
Pablo Alba
018464aedf
♻️ Unify move shape on workspace and relocate on layers panel
2024-06-20 16:00:39 +02:00
Andrés Moya
d039df6b73
✅ Add tests for detach with swapped copies
2024-06-18 23:39:19 +02:00
Pablo Alba
8825e9f80b
🐛 Fix show in view mode and interactions workflow
2024-06-11 11:01:24 +02:00
Andrés Moya
9a4c45c8a3
🐛 Fix export touched attributes
2024-06-10 17:09:46 +02:00
Pablo Alba
5872bf024c
✨ Add test for remove swap slot on detach parent
2024-06-04 12:24:31 +02:00
Alejandro Alonso
47d7d24910
✨ Add copying and duplicating component tests
2024-05-22 14:26:03 +02:00
Alejandro Alonso
614af9edc4
✨ Add swap as override component tests
2024-05-16 13:27:06 +02:00
Andrés Moya
9c8a5484e1
🔥 Remove traces
2024-05-16 13:24:17 +02:00
Pablo Alba
385e8d837a
✅ Components refactor: Add tests for remove or keep swap slot
2024-05-16 13:23:02 +02:00
Alejandro Alonso
f27cdee5ca
🐛 Remove TODO on multiple nesting levels component tests
2024-05-16 13:22:42 +02:00
Alejandro Alonso
4b8322dc82
✨ Refactor common tests
2024-05-16 13:22:42 +02:00
Alejandro Alonso
39c8b2ea3c
✨ Add multiple nesting levels component tests
2024-05-14 13:48:34 +02:00
Alejandro Alonso
fcf14b5cab
✨ Add duplicate page component tests
2024-05-14 13:48:34 +02:00
Andrés Moya
c16ef39abf
♻️ Make test helpers globally usable
2024-05-13 13:10:01 +02:00
Alejandro
ea20f693cb
Merge pull request #4562 from penpot/hiru-move-frontend-tests
...
Move more frontend tests
2024-05-10 11:04:31 +02:00
Andrés Moya
cb73ddc353
💄 Small refactor
2024-05-10 10:28:23 +02:00
Alejandro Alonso
a3e750ed0a
✨ Tests for chained components changes propagation
2024-05-10 10:25:08 +02:00
Andrés Moya
cf4ef426d7
✅ Add tests for component sync
2024-05-10 10:17:09 +02:00
Andrés Moya
b6e633865e
✅ Add tests for component creation and modification
2024-05-09 14:49:10 +02:00
Andrés Moya
8b4e52a2be
💄 Improve copy child selection and test robustness
2024-05-09 13:33:52 +02:00
Andrés Moya
caefaf6016
✅ Add tests for reset components
2024-05-09 13:33:52 +02:00
Pablo Alba
8deb799c3d
🐛 Fix tests for remove swap slots
2024-05-09 13:11:50 +02:00
Pablo Alba
6f93db034f
🎉 Components refactor: Add tests for remove swap slot on duplicate
2024-05-09 11:20:19 +02:00
Andrés Moya
ea6a9c87ec
🔧 Enhance debug trace helpers for common tests
2024-05-07 18:45:10 +02:00
Andrés Moya
c937d49ce9
💄 Split helpers in separated files
2024-05-07 12:51:07 +02:00
Andrés Moya
97e34d6e28
💄 Unify comments
2024-05-07 12:51:07 +02:00
Andrés Moya
b68bc9a08c
✅ Move more touched tests to common
2024-05-07 12:51:07 +02:00
Andrés Moya
0b4fbc184d
♻️ Move generate-xx methods to logic module
2024-05-06 16:48:18 +02:00
Pablo Alba
7280dfd3f7
✨ Tests for remove swap slot on move shapes to frame
2024-05-06 16:18:43 +02:00
Pablo Alba
de6d8ccbf9
✅ Small fix on components touched test
2024-04-30 19:23:58 +02:00
Andrés Moya
77d4901db1
✅ Add more tests for touched
2024-04-30 14:18:55 +02:00
Andrés Moya
a40afd5b63
✅ Add test for touched shapes
2024-04-30 13:47:40 +02:00
Pablo Alba
f354942487
♻️ Components refactor: generator for relocate shapes (and tests)
2024-04-30 13:37:32 +02:00
Alejandro Alonso
f84cd933a8
✨ Swap and reset generate changes tests
2024-04-30 12:49:43 +02:00
Andrés Moya
40e43fd501
♻️ Reorganize tests by level
2024-04-26 12:44:49 +02:00
Andrés Moya
ff4e27a1d5
✅ Add composition helpers
2024-04-26 12:44:49 +02:00
Andrés Moya
dde89e60dd
✅ Add new helper functions for common tests
2024-04-26 11:45:37 +02:00
Andrés Moya
1026f5b972
🔧 Change common tests runner to kaocha
2024-04-26 11:42:41 +02:00
Pablo Alba
0d1af260a4
🐛 Remove incorrect find-component function
2024-03-07 14:39:57 +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
Andrés Moya
a85a7c74c3
✨ Rename "Library backup" to "Main components"
2024-01-30 13:36:25 +01:00
Andrey Antukh
b6c257bfc5
🐛 Fix incorrect svg-attrs handlng on .zip import process
2024-01-09 23:11:42 +01:00
Andrey Antukh
b6ecc8b1be
💄 Format common code
2024-01-08 09:32:50 +01:00
Andrey Antukh
74447442b8
✨ Add several improvements to svg path parser tests
...
And properly reorganize legacy implementations
2023-12-28 10:30:56 +01:00
Andrey Antukh
63b264b494
🐛 Fix incorrect last command tracing on svg path parser
2023-12-27 15:38:14 +01:00
Andrey Antukh
2dd1858026
⚡ Reimplement path parsing using native lang
2023-12-12 09:18:12 +01:00
Andrey Antukh
37e4939af7
✨ Add usability improvements to schema validation subsystem
2023-11-23 17:19:37 +01:00