Commit graph

124 commits

Author SHA1 Message Date
Eric NGUYEN
4e41fda93a Fix eslint errors 2023-02-23 13:54:38 +01:00
Eric NGUYEN
1c8cebf0f5 Remove usage of scale for symbols + Remove shenanigans with multipliers 2023-02-23 10:57:27 +01:00
Carl Fuchs
a476017d99 [Update] Symbol alignement behavior + filtered Symbollist in ContainerForm.tsx 2023-02-22 12:10:01 +01:00
Carl Fuchs
bf4f69a95f [Fix] SymbolBehaviors.ts => symbol.height/2 in place to get correct positionning 2023-02-21 16:26:40 +01:00
Carl Fuchs
4c2cf66667 [Update] Translation and fix 2023-02-21 15:02:53 +01:00
Carl Fuchs
174767f22c [Update] Positions/calcs finitions 2023-02-20 17:17:32 +01:00
Carl Fuchs
387e103501 [WIP] Height 2023-02-20 15:32:06 +01:00
Carl Fuchs
d72c2266f3 Merge branch 'master' into master.7306.symbolY
# Conflicts:
#	src/Components/Canvas/Symbol.ts
#	src/Components/SVG/Elements/DimensionLayer.tsx
#	src/Components/SVG/Elements/SelectorSymbol/SelectorSymbol.tsx
2023-02-20 10:21:54 +01:00
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
c4bf4586ac Remove unused configuration from Menu 2023-02-14 15:00:18 +00:00
Eric NGUYEN
01059aa2f7 Reorder some parameters in Editor and UI 2023-02-14 15:53:55 +01: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
8b33acb139 [Update] Poc symbol Y working 2023-02-10 17:08:18 +01:00
Carl Fuchs
b09718d72d WIP2 2023-02-10 09:46:39 +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
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
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
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
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