Commit graph

27 commits

Author SHA1 Message Date
Carl Fuchs
672d0017d2 Fix #8252 2023-02-23 08:26:16 +00:00
Eric NGUYEN
b2fa591f14 Refactor DimensionLayer for more readability 2023-02-17 15:37:22 +01:00
Eric NGUYEN
3b99d0a020 Revert dimensionStyle 2023-02-14 10:15:12 +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
Carl Fuchs
acb5ba2d82 Merged PR 311: #7975 Cotations sur les ancrages
![image.png](e30b9bba-4b18-4276-b4ef-74d97b7daef3/pullRequests/311/attachments/image.png)

Related work items: #7975
2023-02-07 10:16:19 +00: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
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
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
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
7836d27d5f Merged PR 198: Change MarkPosition for multiple orientation
Implement EnumCheckboxGroupInput
2022-09-29 14:07:30 +00: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
Guillaume Tauzin
320d68e27f Text cotation css modified + no decimal display on text 2022-09-16 10:07:01 +02:00
Eric NGUYEN
5aaf1f4745 Set dimension to fixed 2 2022-08-30 17:45:00 +02:00
Eric Nguyen
ad126c6c28 Merged PR 170: Add new eslint rules
- naming-convention
- prefer-arrow-callback
- func-style
- import/no-default-export
2022-08-26 16:13:21 +00:00
f268011315 Implement more options + Add depth dimension (revert DimensionLayer) (#37)
All checks were successful
continuous-integration/drone/push Build is passing
- Displayed text
- Enable Shortcuts
- Hide text
- Disable Dimension
- Depth dimension

Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/37
2022-08-18 08:46:50 -04:00
faa058e57d Implement new features for svg components + improve form properties (#25)
All checks were successful
continuous-integration/drone/push Build is passing
- Make Dimension an actual svg line
- Implement XPositionReference
- Select the container above after delete
- Remove DimensionLayer
- Improve form properties

Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/25
2022-08-11 11:48:31 -04:00
293af45144 Refactor Editor and module functions (#15)
All checks were successful
continuous-integration/drone/push Build is passing
Moved all module functions to separate utils modules

Replaced standard with standard with typescript

Extracted UI elements to separate component

Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/15
2022-08-05 15:38:44 -04:00
e3228ccffa Moved ContainerModel to Interfaces + replace all components to purecomponent (#12)
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/12
2022-08-05 10:36:40 -04:00
b5aa002877 Replaced usage of render() by their JSX constructor
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-05 16:23:33 +02:00
e2a099457c Separated the model and the Container entity in order to remove any mutation operation
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-04 12:57:34 +02:00
c5171caaaa Moved usage of Dimension directly inside the Container class and disable DimensionLayer
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-03 22:38:55 +02:00
c54e9ff3cb Implement dimension 2022-08-03 00:02:41 +02:00