0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-25 07:58:49 -05:00
Commit graph

95 commits

Author SHA1 Message Date
Florian Schroedl
4a85ef3608 Split path/selector for disallowing creating tokens at path segments 2024-07-01 10:16:15 +02:00
Florian Schroedl
174d91a519 Add function to check if a token can be placed under a name path 2024-06-28 14:39:36 +02:00
Florian Schroedl
2fa152d364 Move to token namespace 2024-06-28 13:51:32 +02:00
Florian Schroedl
504369ec13 Move tokens-name-tree to core, add test 2024-06-28 13:43:41 +02:00
Florian Schroedl
ef5f019200 Add helper utility to convert name to path 2024-06-28 13:43:07 +02:00
Florian Schroedl
f9530c5a10 Restrict token naming 2024-06-28 08:20:46 +02:00
Florian Schroedl
c98162d0bf Move callback function to component 2024-06-24 15:24:22 +02:00
Florian Schroedl
28f25da9e8 Move to tests 2024-06-24 14:29:29 +02:00
Florian Schroedl
111900c122 Cleanup 2024-06-24 14:23:28 +02:00
Florian Schroedl
10033ead91 Add specific esm testing environment for tokens 2024-06-24 14:23:03 +02:00
Florian Schroedl
ba6a6059c1 Move to custom ns 2024-06-24 14:07:21 +02:00
Florian Schroedl
5c42514170 Add style dictionary find-token-reference test 2024-06-24 09:59:22 +02:00
Andrés Moya
0a3a6e19f1 Add test for swap slots bug 2024-05-29 15:12:19 +02:00
Pablo Alba
260c0e0678 Add copying and duplicating component frontend tests 2024-05-24 12:58:18 +02:00
Pablo Alba
d221241451 Components refactor: Add tests for remove swap slot on copy-paste 2024-05-16 13:25:25 +02:00
Andrés Moya
da939cc0a6 ♻️ Refactor front end test to make use of common file helpers 2024-05-13 13:10:01 +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
caefaf6016 Add tests for reset components 2024-05-09 13:33:52 +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
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
37e68249aa ♻️ Components refactor: remove it usage on libraries_helpers 2024-04-25 14:22:37 +02:00
Pablo Alba
a8738b44a1 ♻️ Merge libraries_common_helpers into libraries_helpers 2024-04-19 16:00:38 +02:00
Alejandro Alonso
8f156a7fd0 🐛 Limit reset overrides on swapped components to affected subtree 2024-03-21 15:49:08 +01:00
Alejandro Alonso
d08dfaa022 🐛 Fix reset override behaviour 2024-03-12 09:12:25 +01:00
Pablo Alba
0d1af260a4 🐛 Remove incorrect find-component function 2024-03-07 14:39:57 +01:00
Alejandro Alonso
a78eb226e2 Add nesting constraints for components 2024-01-24 17:20:17 +01:00
Andrey Antukh
833871df65 💄 Format frontend code 2024-01-08 09:32:50 +01:00
Andrey Antukh
96f5a33f5f ⬆️ Upgrade to beicon2 (part1) 2023-12-26 14:14:20 +01:00
Andrey Antukh
a341a956b8 🐛 Fix warnings on compiling frontend tests 2023-12-13 14:20:07 +01:00
Andrey Antukh
52fbc678f3 ♻️ Move app.common.pages to app.common.files 2023-11-16 11:07:36 +01:00
Andrey Antukh
6f93b41920 🎉 Add features assignation for teams 2023-11-07 12:48:31 +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
Pablo Alba
fac72a5874 🎉 Component swap 2023-10-11 12:24:11 +02:00
Andrés Moya
e8aab8b0bf 🐛 Remove root when creating nested components 2023-10-05 13:32:03 +02:00
alonso.torres
6f2a459cce Instance component to grid layout 2023-09-18 14:08:34 +02:00
Andrey Antukh
5b3e12bb9c ♻️ Refactor change builder for make it more efficient
Mainly replaces the usafe of the inneficient d/preconj helper
with a combination of conj and simple list as data structure whitch
maintains the previous ordering semantics on addition.

Also removes the d/preconj from the codebase.
2023-09-04 15:48:34 +02:00
Pablo Alba
c5315de91c 🐛 Reset component is now against remote main 2023-08-17 09:38:30 +02:00
Pablo Alba
1bb3a3a084 🐛 Add script for fix files with bad shape-ref 2023-08-02 10:46:06 +02:00
Andrey Antukh
42aee56c36 💄 Add indentation fixes on frontend tests 2023-07-11 17:27:36 +02:00
Andrey Antukh
6e7595f48c ♻️ Remove ? char from shape attrs 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
d8121364ad 🐛 Fix touched on adding shapes to a component copy and undo 2023-06-22 09:27:27 +02:00
Andrey Antukh
5ca3d01ea1 🎉 Add malli based validation and coersion subsystem 2023-05-17 16:05:29 +02:00
Andrés Moya
30dd9c5222 🐛 Fix undo when deleting shapes inside instances (ok) 2023-05-16 11:11:47 +02:00
Andrés Moya
bbd561a772 🔧 Fix test cases 2023-04-14 12:31:04 +02:00
Andrés Moya
96540af2b1 🎉 Instantiate component with duplicate 2023-03-27 10:39:35 +02:00
Andrés Moya
7391a4086a 🔧 Refactor delete/restore components 2023-03-27 10:39:35 +02:00