Commit graph

62 commits

Author SHA1 Message Date
Eric NGUYEN
65ca7fa10c Remove children replacement 2023-02-17 09:58:51 +01:00
Eric NGUYEN
9aec5ae751 Merge branch 'master' into master.7687.ReplaceBy 2023-02-14 16:44:50 +01:00
Eric NGUYEN
2d1e5c94d7 Add Escape to shortcut to deselect replaceContainer 2023-02-14 16:10:00 +01:00
Eric Nguyen
b4c9c34403 Apply suggestions from code review 2023-02-14 15:01:39 +00:00
Eric NGUYEN
3b99d0a020 Revert dimensionStyle 2023-02-14 10:15:12 +01:00
Eric NGUYEN
6958513dd3 Merge branch 'master' into master.7373.symbolHighlight 2023-02-13 16:22:06 +01:00
Eric Nguyen
338a2c157c Merged PR 330: Add DimensionStyle + Refactor dimensionLayer + Add width and dashArray to style
Add DimensionStyle + Refactor dimensionLayer + Add width and dashArray to style

Related work items: #7977
2023-02-13 14:54:50 +00:00
Eric NGUYEN
b35fa92422 Add todo to fix to SaveEditorAsSVG 2023-02-10 17:24:53 +01:00
Carl Fuchs
1a9224b768 [WIP] ReplaceBy in ContainerOperations.ts 2023-02-07 16:07:51 +01:00
Carl Fuchs
8a99ef4cfd Merged PR 315: ErgonomieTreeView
Affichage fonctionnelle sous forme de toolbar vertical, comme dans les IDE

Related work items: #7976
2023-02-07 14:25:53 +00:00
Carl Fuchs
e789300090 Implemtation in progress, UIX working , replacing in ContainerOperations.ts working but not properly need fix 2023-02-06 16:45:34 +01:00
Carl Fuchs
62abd3ff03 WIP 2023-02-03 16:58:54 +01:00
Carl Fuchs
a7feebdcd1 Merged PR 308: #8224/#7571 Margins cotation and Colors
Related work items: #8224
2023-01-30 14:59:55 +00:00
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
a8723ffd27 Remove usage of ContainerModel rather than IContainerModel 2022-11-08 10:26:34 +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
e63b2779e1 Implement Insert in SetContainerList 2022-11-04 15:56:17 +01:00
Eric NGUYEN
0d761e6a41 Fix mutation of config after SetContainerList 2022-11-04 15:41:20 +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
60ff7f412a Fix SortChildren in SetContainer 2022-10-19 14:08:28 +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
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
b4eba6bb9b Merged PR 216: Deprecate parent from IContainerModel for FindContainerById 2022-10-17 16:01:06 +00:00
Eric NGUYEN
e97720bc24 Add API configuration 2022-10-13 16:27:32 +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
86c34b112e Fix big regression with symbols not using PositionReference 2022-10-04 17:55:29 +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
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
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
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
4bb92e219d Fix behaviors not apply on sibling when deleting a container + Fix container not able to move because sort is done after 2022-09-21 16:46:42 +02:00
0d557624f7 Fix InitializeDefaultChild not using AddNewContainerToParent and ignoring subchildren 2022-09-15 09:33:42 +02:00
012c826461 Revert "Restore InitializeDefaultChild"
This reverts commit 4aad6b2f4c.
2022-09-15 09:31:34 +02:00
Eric NGUYEN
4aad6b2f4c Restore InitializeDefaultChild 2022-09-14 18:17:54 +02:00
Eric NGUYEN
498ca9dc75 Move all AddContainer functions to a different file and fix default.ts 2022-09-14 17:32:25 +02:00
Eric NGUYEN
f6e4238b3d Implement Pattern 2022-09-14 16:55:28 +02:00
Eric NGUYEN
e32e98cddd Fix flex again because of wrong order of container 2022-09-14 11:36:43 +02:00
Guillaume Tauzin
46f82d0eca Change css class on sidebar and symbols 2022-09-09 10:33:14 +02:00
6a3ddea763 Allow AddContainers to extends the default config 2022-09-08 14:25:00 +02:00
d512f87776 Add previous and next container to ISetContainerListRequest 2022-09-08 13:13:37 +02:00