Commit graph

547 commits

Author SHA1 Message Date
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
5acc57cf7f Fix potential bug with non valid margin values 2022-10-18 15:21:59 +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
abcbf6dbfa Merged PR 217: Update master 2022-10-17 15:59:27 +00:00
Guillaume Tauzin
d40cd8cf8e Fix SetHistory in SmartComponent 2022-10-17 17:36:19 +02:00
Eric NGUYEN
c693fc9a20 Update SmartComponent.md 2022-10-17 17:04:25 +02:00
Eric NGUYEN
d011a1ef29 Vite: Change base directory to './' 2022-10-17 17:03:51 +02:00
Eric Nguyen
25e1033c56 Updated default.ts: Reenable FAST_BOOT 2022-10-17 14:29:31 +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
6786417349 Add missing link to Home.md 2022-10-17 15:43:55 +02:00
Eric NGUYEN
41dd119200 Added Application.md + add more TODOs 2022-10-17 15:42:53 +02:00
Eric NGUYEN
df94e7904d Add web worker documentation 2022-10-17 13:10:44 +02:00
Eric NGUYEN
f1a9d912b8 Added ContextMenu documentation + added some tl;dr 2022-10-17 12:56:31 +02:00
Eric NGUYEN
5a17f2ba6c Remove yule cake 2022-10-17 12:20:31 +02:00
Eric NGUYEN
3627a9718e Sort documentation 2022-10-17 12:19:40 +02:00
Eric NGUYEN
b64bc8cb6a Fix getDefaultEditorState callback 2022-10-14 14:51:26 +02:00
Eric NGUYEN
49e051059e Add LoadEditor to smart component 2022-10-14 13:46:42 +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
b3a3be0ba2 Fix svg-layout-designer.ts after history update + Update SVGLD.dts + add command to package.json 2022-10-13 17:40:43 +02:00
Eric NGUYEN
bcca10d0e9 Add APIConfiguration to csharp class models 2022-10-13 17:21:18 +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
749609f9a0 Add GetDefaultEditorState to App CustomEvents 2022-10-13 15:01:38 +02:00
Eric NGUYEN
a89b92eab8 Enable fastboot by default 2022-10-13 11:56:49 +02:00
Eric NGUYEN
fb6bc1289d Move ReviveEditor and ReviveHistory to App 2022-10-13 11:56:41 +02:00
Eric NGUYEN
8962132a4d Remove useless code in main.tsx 2022-10-12 18:08:53 +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
fff0645045 Fix serialization AGAIN in web workers 2022-10-12 17:16:08 +02:00
Eric NGUYEN
846f41829b Final fix for Dictionnary serialization 2022-10-12 16:50:20 +02:00
Eric NGUYEN
147c02bdfd Fix serialization to dictionaries 2022-10-12 16:35:56 +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
23bfaaea4e Remove sln from gitignore 2022-10-12 16:03:39 +02:00
Eric NGUYEN
aa15425dbc Fix applicationStateModel serialization 2022-10-12 16:03:18 +02:00
Guillaume Tauzin
d1881ae8fa Add DataContract on Models in SVGLDLibs 2022-10-12 15:56:00 +02:00
Eric NGUYEN
1cd25eba03 Downgrade target .NET version to .netframework 4.7.2 2022-10-12 13:56:19 +02:00
Guillaume Tauzin
b86f073cc1 Add EditorState + Rename ConfigurationResponseModel, ApplicationStateModel 2022-10-12 12:12:54 +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
466ef2b08b Update docs in default.ts 2022-10-10 16:53:01 +02:00