Commit graph

307 commits

Author SHA1 Message Date
Eric NGUYEN
58a881c813 Merge branch 'dev' 2022-11-21 13:56:05 +01:00
Eric NGUYEN
8b11c71384 Fix lot of eslint problems 2022-11-21 13:47:04 +01:00
Eric NGUYEN
3d6d979389 Move dimension options in Dimensions class 2022-11-09 16:00:24 +01:00
Eric Nguyen
96c3fbdf4e Merged PR 228: Implement left cotation and fix borrower cotation when length = 0
Implement left cotation and fix borrower cotation when length = 0

Related work items: #7575
2022-11-08 15:51:42 +00:00
Eric NGUYEN
a8723ffd27 Remove usage of ContainerModel rather than IContainerModel 2022-11-08 10:26:34 +01:00
Eric Nguyen
1116185b9f Merged PR 227: Refactor Properties in ContainerProperties
Commit 927934a5: Refactor Style inputs to replace React.CSSProperties by IStyle
2022-11-08 09:09:17 +00:00
Guillaume Tauzin
95769f4718 Merge branch 'dev' of https://techformsa.visualstudio.com/SmartConfigurator/_git/SVGLayoutDesignerReact into dev 2022-11-07 10:32:16 +01:00
Eric NGUYEN
704ae2e2d2 Fix worker not using the correct url 2022-11-07 10:20:15 +01:00
Eric Nguyen
4ff2e0b7fb Merged PR 226: Implement associated container and default X, Y position for Symbol
Implement associated container and default X, Y position for Symbol

Related work items: #7537, #7540
2022-11-07 08:59:25 +00:00
Eric NGUYEN
0a664752e9 Canvas: Fix selector not animating 2022-11-04 16:13:33 +01:00
Eric NGUYEN
e63b2779e1 Implement Insert in SetContainerList 2022-11-04 15:56:17 +01:00
Guillaume Tauzin
acc99a1f56 Merge branch 'dev' of https://techformsa.visualstudio.com/SmartConfigurator/_git/SVGLayoutDesignerReact into dev 2022-11-04 15:44:41 +01:00
Guillaume Tauzin
9dced69e8d Change Symbols alignement 2022-11-04 15:42:59 +01:00
Eric NGUYEN
0d761e6a41 Fix mutation of config after SetContainerList 2022-11-04 15:41:20 +01:00
Eric NGUYEN
c9b5ae2f19 Add missing key to span element 2022-11-04 15:09:52 +01:00
Eric NGUYEN
9106592e6f Fix drag-drop with css and html 2022-11-04 14:54:55 +01:00
Eric NGUYEN
0ac42b3500 Merge branch 'dev' into dev.loading 2022-11-04 12:05:37 +01:00
Eric Nguyen
505813d530 Merged PR 225: Implement translations
Implement translations with useContext in React
+Add events to allow changing the language in the app
+Refactor AppEvents
+Redesign vertical bars in elements
2022-11-04 10:58:06 +00:00
Eric NGUYEN
60a3ead6aa Fix BuildPatterns not iterating from beginning to the end 2022-11-03 10:04:41 +01:00
Eric NGUYEN
3684a34d3b Fix depth dimension bottom position 2022-11-02 12:23:45 +01:00
Eric NGUYEN
f5a55c0323 Fix Configuration test and remove UserData test 2022-10-19 14:26:14 +02:00
Eric NGUYEN
60ff7f412a Fix SortChildren in SetContainer 2022-10-19 14:08:28 +02:00
Guillaume Tauzin
a6c5be608d Merge branch 'dev' of https://techformsa.visualstudio.com/SmartConfigurator/_git/SVGLayoutDesignerReact into dev 2022-10-19 13:34:27 +02:00
Eric NGUYEN
e03ba11415 Reenable fastboot 2022-10-18 16:52:59 +02:00
Eric NGUYEN
eaf03824fb Move MainMenu Loading to App + Change is/setLoaded to appState/setAppState 2022-10-18 16:51:44 +02:00
Eric NGUYEN
b44c6fb477 Refactor and fix potential bug in InitializeChildrenWithPattern when pattern is not found in the config 2022-10-18 16:22:44 +02:00
Eric NGUYEN
5bc47d02cb Refactor InitializeChildrenWithPattern 2022-10-18 16:16:30 +02:00
Eric NGUYEN
7790ff6dfa Fix setting margins causing invalid values 2022-10-18 15:21:41 +02:00
Eric NGUYEN
d778e85b99 #7344 Fix AddContainer pattern wrong order 2022-10-18 15:00:19 +02:00
Eric NGUYEN
639480678d Fix hr in Context menu having the same key 2022-10-18 14:56:49 +02:00
Guillaume Tauzin
cd620e2c1f Change UserData in IKeyValue[] 2022-10-18 14:13:47 +02:00
Eric NGUYEN
b1b30e8486 Refactor AddContainerToSelectedContainer 2022-10-17 19:32:27 +02:00
Eric NGUYEN
d05d0fb196 Refactor App and Editor events 2022-10-17 19:17:46 +02:00
Eric NGUYEN
28b0965626 Refactor UI's props 2022-10-17 19:02:36 +02:00
Eric Nguyen
b4eba6bb9b Merged PR 216: Deprecate parent from IContainerModel for FindContainerById 2022-10-17 16:01:06 +00:00
Eric NGUYEN
621dc9b53f Deprecate GetCircularReplacer and make GetCircularReplacer dotnet by default. Format of the save is now incompatible with old versions. 2022-10-17 16:13:34 +02:00
Eric NGUYEN
7a59c23d20 Fix Configuration.cs requiring APIConfiguration (which do not) + Fix menuActions 2022-10-13 18:36:35 +02:00
Eric NGUYEN
f5ec81d22b Fix React Error on setState while rendering a different component 2022-10-13 18:14:54 +02:00
Eric NGUYEN
48a4ff9bc1 Fix infinite loop in NewEditor 2022-10-13 16:30:51 +02:00
Eric NGUYEN
81eb8d1857 Disable Main menu test when fast boot is enabled 2022-10-13 16:27:43 +02:00
Eric NGUYEN
e97720bc24 Add API configuration 2022-10-13 16:27:32 +02:00
Eric NGUYEN
7a81bbaec6 Add historyCurrentStep to setHistory event 2022-10-13 16:18:16 +02:00
Eric NGUYEN
d368641200 Revert "Move settings to public/svgld-settings.js"
This reverts commit 2cf56632155f5378c8819991b1b42ab135cbe384.
2022-10-12 18:08:35 +02:00
Eric NGUYEN
846f41829b Final fix for Dictionnary serialization 2022-10-12 16:50:20 +02:00
Eric NGUYEN
343b2fb560 Remove duplicate component 2022-10-12 16:18:20 +02:00
Eric NGUYEN
ea2a2ab64c Revert "Fix applicationStateModel serialization"
This reverts commit aa15425dbc.
2022-10-12 16:17:43 +02:00
Eric NGUYEN
aa15425dbc Fix applicationStateModel serialization 2022-10-12 16:03:18 +02:00
Eric Nguyen
c256a76e01 Merged PR 212: Optimize FindChildrenById from O(n) to O(1)
Optimize FindChildrenById from O(n) to O(1):
- Deprecate FindContainerByIdDFS
- Container: Replace Children to string[]
- Add HashMap to IHistoryState that contains all containers

To access a container by id now cost O(1) without any additional cost

+ Implement CICD for SVGLibs
2022-10-12 09:39:54 +00:00
Eric Nguyen
f74af69291 Merged PR 211: Add csharp classes to SVGLayoutDesigner and add tests 2022-10-10 09:28:47 +00:00
Eric NGUYEN
24e47ae240 Remove useless var 2022-10-10 09:27:33 +00:00