Commit graph

13 commits

Author SHA1 Message Date
Eric Nguyen
b4eba6bb9b Merged PR 216: Deprecate parent from IContainerModel for FindContainerById 2022-10-17 16:01:06 +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
fff0645045 Fix serialization AGAIN in web workers 2022-10-12 17:16:08 +02:00
Eric NGUYEN
846f41829b Final fix for Dictionnary serialization 2022-10-12 16:50:20 +02:00
Eric NGUYEN
147c02bdfd Fix serialization to dictionaries 2022-10-12 16:35:56 +02:00
Eric NGUYEN
ea2a2ab64c Revert "Fix applicationStateModel serialization"
This reverts commit aa15425dbc.
2022-10-12 16:17:43 +02:00
Eric NGUYEN
aa15425dbc Fix applicationStateModel serialization 2022-10-12 16:03:18 +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
3d91b1fb27 Message sidebar will now only show the last packet of message 2022-09-19 12:27:55 +02:00
Eric Nguyen
e94671d1d8 Merged PR 185: Implement Messages 2022-09-16 10:03:41 +00: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
8b8d88f885 Merged PR 162: Implement symbols and other stuff (see desc)
Implement symbols
- Add, Remove, Select Container
- Form
- Link with container
- Symbol behavior application to container (move to x with xpositionreference)

Important changes
- Remove SelectedContainer from HistoryState, meaning that it will be slower for each load but will be faster for each operations* (SetHistory, SelectContainer, DeleteContainer, SymbolOperations)
- ElementsSidebar now opens with isSidebarOpen meaning that both sidebar will open on toggle
- Moved camelize, transformX, restoreX to different modules (stringtools.ts, svg.ts)
2022-08-22 13:58:32 +00:00
Eric NGUYEN
c7bc77b08f Fix build version of the project because of web workers 2022-08-17 17:47:16 +02:00