Commit graph

12 commits

Author SHA1 Message Date
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
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
035f79c566 Fix xhr timeout 2022-09-21 16:13:16 +02:00
Eric Nguyen
e94671d1d8 Merged PR 185: Implement Messages 2022-09-16 10:03:41 +00:00
Eric NGUYEN
8653be0172 Fix SetContainerList dictionary parsing 2022-09-14 11:50:28 +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
8034652bdb Changed api call body's container model to available container + Fix API nullable values 2022-08-31 16:15:38 +02:00
Eric Nguyen
57e6c9a156 Merged PR 173: Implements API methods through right click + more (read desc)
- Implements API methods through right click
- Refactor events
- Refactor usage of setHistory and setHistoryCurrentStep into a single function
- Update ContainerOperations documentations
- Added AddContainers in order to add multiple containers + refactor AddContainer to use it
- Fix regression
- Fix AddContainer at index
2022-08-30 14:45:29 +00: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
c81a6fe44b Implement events for external use + Rename interfaces with a I prefix + add some documentation (#26)
All checks were successful
continuous-integration/drone/push Build is passing
Implement events for external use
Rename interfaces with a I prefix
Add some documentation

Co-authored-by: Eric NGUYEN <enguyen@techform.fr>
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/26
2022-08-12 06:36:14 -04:00
Eric Nguyen
d9e06537e8 Merged PR 16: Transform every single class components into functional component
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
This improve greatly the performance and the code cleaning.
It allows us to separate the inseparable class methods into modules functions
2022-08-09 15:15:56 +00:00