0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-09 00:10:11 -05:00
Commit graph

64 commits

Author SHA1 Message Date
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
Andrey Antukh
52fbc678f3 ♻️ Move app.common.pages to app.common.files 2023-11-16 11:07:36 +01:00
alonso.torres
78332257aa 🐛 Fix problem with color inputs 2023-11-15 09:42:41 +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
Belén Albeza
2190616957 Strip extension for uploaded image files 2023-11-06 11:58:12 +01:00
alonso.torres
7fd02022ac 🐛 Improve html generation 2023-10-02 12:36:41 +02:00
Andrey Antukh
64accaa842 Simplify has-point? impl for non-path shapes 2023-08-29 17:09:00 +02:00
Andrés Moya
730df04970 Add function to validate shape referential integrity 2023-08-22 17:59:28 +02:00
Pablo Alba
1bb3a3a084 🐛 Add script for fix files with bad shape-ref 2023-08-02 10:46:06 +02:00
Andrey Antukh
8eb64de062 Merge remote-tracking branch 'origin/staging' into develop 2023-07-13 12:13:06 +02:00
Andrés Moya
65598aa724 🐛 Fix overlay position when it has shadow or blur 2023-07-12 09:46:46 +02:00
Andrey Antukh
fbf89d7f6c Add tests for record macro 2023-07-11 17:27:35 +02:00
Andrey Antukh
0b4b14af9e Add optimized version of apply-transform
using internal mutation
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
9c79c80fd7 🐛 Detect correctly color of outlines and controls of components 2023-05-31 11:36:29 +02:00
Andrey Antukh
5ca3d01ea1 🎉 Add malli based validation and coersion subsystem 2023-05-17 16:05:29 +02:00
Alejandro Alonso
68b26d5f41 Merge remote-tracking branch 'origin/staging' into develop 2023-04-03 12:21:12 +02:00
alonso.torres
2792c22ec9 🐛 Fix problem with overlays positioning 2023-03-31 12:22:16 +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
Andrey Antukh
2cddc49463 Remove several reflection calls 2023-03-14 12:30:27 +01:00
alonso.torres
4111cee3d6 🐛 Fix clipping overlay 2023-02-28 15:22:04 +01:00
Andrés Moya
dd2321a37b 🐛 Fix weird numeration creating elements in dashboard 2023-02-02 10:19:36 +01:00
alonso.torres
c18d3c66a8 Changes to snap to pixel 2023-01-18 11:04:24 +01:00