Commit graph

67 commits

Author SHA1 Message Date
Eric NGUYEN
cfbedd3e59 Fix bug with colors and dimensions misapplied 2023-02-23 12:21:05 +01:00
Carl Fuchs
869cd2a7c4 [Fix] SymbolDimension (Canvas/Svg) => DEFAULT_DIMENSION_SYMBOL_STYLE in default.ts 2023-02-20 14:46:22 +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
3b99d0a020 Revert dimensionStyle 2023-02-14 10:15:12 +01:00
Eric Nguyen
a123407b3a Merged PR 331: Remove DepthDimensionLayer + Add fixes from !330 2023-02-13 15:18:53 +00: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
79caa5e9ab WIP 2023-02-09 17:25:55 +01: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
Carl Fuchs
7c83116df1 Implement #7539 2023-01-25 14:42:05 +01: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
12727d752c Disable fast boot in DEV env and enable it to loaded in PROD 2022-11-04 13:56:01 +01:00
Eric NGUYEN
93a444e61c Disable experiomental canvas api 2022-11-04 13:42:35 +01:00
Eric NGUYEN
0ac42b3500 Merge branch 'dev' into dev.loading 2022-11-04 12:05:37 +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
a455971a57 Disable flex by default 2022-11-02 16:48:53 +01:00
Eric NGUYEN
eaf03824fb Move MainMenu Loading to App + Change is/setLoaded to appState/setAppState 2022-10-18 16:51:44 +02:00
Eric Nguyen
b4eba6bb9b Merged PR 216: Deprecate parent from IContainerModel for FindContainerById 2022-10-17 16:01:06 +00: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
a89b92eab8 Enable fastboot by default 2022-10-13 11:56:49 +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
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
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
04d79688cb Merged PR 200: Implement the Canvas API rather than using SVG 2022-10-02 19:20:19 +00: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
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
3e6204e917 Implement HideChildrenInTreeview 2022-09-23 09:34:46 +02:00
Eric Nguyen
23ed3ed1ad Merged PR 189: Simplify usage of SmartComponent
- Added new Events :
  - AddContainer, AddContainerToSelectedContainer, AppendContainer, AppendContainerToSelectedContainer, SelectContainer, DeleteContainer
  - AddSymbol, SelectSymbol, DeleteSymbol
- Changed the component to an iframe (you only need to copy the whole dist now)
- Added callbacks to every methods in the component
- Create event listener on demand: no need to initialize the event listener!
- Update d.ts
- Added Fastboot and enable it by default on production build
2022-09-21 09:24:14 +00:00
Eric NGUYEN
1091257281 Fix default config 2022-09-16 17:13:52 +02:00
Eric NGUYEN
9f24d2d40a Implement displayed text 2022-09-16 15:00:40 +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
063467fb58 Merged PR 182: Implement Scale for text, Selector and Dimension 2022-09-09 16:00:13 +00:00
Guillaume Tauzin
46f82d0eca Change css class on sidebar and symbols 2022-09-09 10:33:14 +02:00
Eric Nguyen
443a15e150 Merged PR 179: Fix bugs about flex and context menu (see desc) + disable hard rigid behavior + add missing properties to form + Clean up css
- Clean up some css class
- Fix wrong order when applying flex
- Fix Replace behavior not working because previous container was still existing
- Disable hard rigid behavior which disallow two container to overlap
- Add ENABLE_FLEX, ENABLE_HARD_RIGID ENABLE_SWAP
- Add missing form properties with dimensions
- Update readme
2022-09-08 10:29:44 +00:00
Eric NGUYEN
4d4ecd67d0 Reduce framerate to 60fps 2022-08-31 18:08:57 +02:00
Eric NGUYEN
f6953e42df Implement framerate limiter 2022-08-31 17:27:54 +02:00
Eric NGUYEN
0b1f7b3f19 Add IsAnchor to IAvailableContainer 2022-08-30 17:40:16 +02:00
Eric NGUYEN
5fa9db931f Implement borrower dimension 2022-08-30 17:36:48 +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
Eric Nguyen
3f58c5ba5e Merged PR 169: Fix bugs with flex + Disable obnoxious swals + Add selector text + Sort SVG scss to different files
- Disable PushBehavior and set it in a different file
- Fix behviors when parent === undefined
- Fix flex behavrios when using anchors
- Fix siblings not applying flex to theirs children on container delete
- Fix flex behavior when using anchors
- Enable flex by default
- Disable obnoxious swals
- Add selector text
- Sort SVG scss to different files

Others: Add some todos
2022-08-26 13:59:03 +00:00
Eric Nguyen
7f3f6a489a Merged PR 167: Add Flex and fix bugs (read desc)
Note: The branch name does not fit the new features.

- Implement Flex with simplex
- Enable rigid body by default (removed IsRigidBody property) <=== possibly a bad idea
- Sort children in add and update properties
- Implement MaxWidth
- Add more docs

Fixes :
- .env.production url
- Symbols: not blocking the linked container when the parent is moving
2022-08-25 13:28:32 +00:00