Commit graph

224 commits

Author SHA1 Message Date
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
Eric NGUYEN
86c34b112e Fix big regression with symbols not using PositionReference 2022-10-04 17:55:29 +02:00
Eric NGUYEN
1086bf58a1 Add Undo/Redo to contextmenu + add separator between categories 2022-10-04 17:22:28 +02:00
Eric NGUYEN
cf3c966170 Fix selection after deletion when last container is selected 2022-10-04 16:52:36 +02:00
Eric NGUYEN
d580890b9d Add shortcut description to right click + add Suppr shortcut + Fix next selection after deletion 2022-10-04 16:51:24 +02:00
Eric NGUYEN
4e3c5d71fd Remove useless imports in Editor 2022-10-04 16:32:46 +02:00
Eric NGUYEN
cc84e59701 Add description to context menu + Improve context menu position and size 2022-10-04 16:30:55 +02:00
Eric NGUYEN
84f968a872 TRULY Fix symbol position on scale 2022-10-04 16:00:27 +02:00
Eric NGUYEN
7121f0aae5 Fix symbol's translate making the symbol overlap with the containers 2022-10-04 15:40:59 +02:00
Eric Nguyen
2cb851866b Merged PR 209: Implement Symbols in Canvas mode 2022-10-04 13:25:07 +00:00
Eric Nguyen
ec7ee7891e Merged PR 208: Fix scaling and position of symbols 2022-10-04 09:25:03 +00:00
Eric NGUYEN
32684a725b Fix regression messages not being sent from the beginning 2022-10-03 20:35:25 +02:00
Eric NGUYEN
7c8db92453 Fix SymbolsList not using half screen 2022-10-03 19:35:41 +02:00
Eric NGUYEN
935318d475 Add @react-hook/size and use it to have a dynamic resizable list + update packages 2022-10-03 17:49:43 +02:00
Eric Nguyen
38a6919192 Merged PR 205: Add new AddingBehavior ReplaceParent + Allow AddingBehavior override by response + fix double key in context menu + Rename node-http.js to http.js 2022-10-03 14:48:45 +00:00
Eric Nguyen
34c00d267c Merged PR 204: Implement Properties' categories 2022-10-03 13:58:45 +00:00
Eric NGUYEN
fa3246b725 Fix mobile view left single sidebar + Fix Bar wrong icon toggled 2022-10-03 14:24:26 +02:00
Eric NGUYEN
701989649c Disable fast boot + Remove deprecated ElementsList.test.tsx 2022-10-03 14:08:13 +02:00
Eric Nguyen
0d05f0959c Merged PR 203: Improve responsive design and refactor layout 2022-10-03 12:05:16 +00:00
Eric NGUYEN
50626218ba Add readme for canvas 2022-10-02 21:31:29 +02:00
Eric Nguyen
04d79688cb Merged PR 200: Implement the Canvas API rather than using SVG 2022-10-02 19:20:19 +00:00
Eric NGUYEN
af1b32c8d6 Refactor UseSVGAutoResizer 2022-10-02 16:37:31 +02:00
Eric NGUYEN
57353a9bf0 Fix regression with children dimension and having less than two 2022-10-02 13:29:28 +02:00
Eric NGUYEN
badf6ebaf5 Fix duplicate key in dimension 2022-10-02 13:28:54 +02:00
Eric NGUYEN
b463c3050c Fix 0 dimension showing in children dimension 2022-09-30 11:32:49 +02:00
Eric Nguyen
b88539e34d Merged PR 199: Add more Position for the dimensions + rename isDimensionBorrower and MarkPosition... + Refactor components in ContainerForm with Checkboxes and Selector + Add more docs
Add more Position for the dimensions

Rename isDimensionBorrower and MarkPosition...

Refactor components in ContainerForm with Checkboxes and Selector

Add more docs
2022-09-30 09:28:08 +00:00
Eric NGUYEN
38666af314 Update tests with new properties 2022-09-29 16:15:51 +02:00
Eric Nguyen
7836d27d5f Merged PR 198: Change MarkPosition for multiple orientation
Implement EnumCheckboxGroupInput
2022-09-29 14:07:30 +00:00
Eric NGUYEN
417829945f Move Orientation enum to enum folder 2022-09-29 11:56:23 +02:00
Eric NGUYEN
fbc5d0ec27 Fix wrong icons in floating button 2022-09-29 09:53:56 +02:00
Eric Nguyen
18cbacaca1 Merged PR 196: Implement Vertical orientation + Upgrade Heroicons to 2.0
Implémenter l'orientation verticale

Modifier l'effet de append

Implementer RigidBody

Implementer Flex et simplex

Implémenter Push

Implémenter Swap

Implement MinMaxHeight without behaviors

Fix Margin for Height

Implement PositionReference

Fix dimension vertical position inside children

Add orientation change in form

Implement sortChildren

Implement Anchor

Fix warning message on overlapping

Fix minimap when root container is vertical

#7287
#7288
#7289
#7290
#7291
#7292
#7294
#7295
#7296
#7297
#7298
#7299
#7300
#7301
#7302
2022-09-28 16:07:56 +00:00
Eric Nguyen
3ecff4cf01 Merged PR 194: Added option to disable any API call
Added option to disable any API call
Fix http.js and node-http.js
Fix MainContainer not using IAvailableContainer from MainContainer
Fix generate_dts.py script
More docs
Fix MainContainer default style. Extend config will now be taken into account. But Main container can still have its own type.
2022-09-23 15:59:42 +00:00
Eric NGUYEN
8ba19cc96b Refactor svg-layout-designer component into controllers + Add setLoaded 2022-09-23 15:22:07 +02:00
Eric NGUYEN
2ea43890f0 Implement setEditor + Add some macros 2022-09-23 14:55:57 +02:00