Commit graph

168 commits

Author SHA1 Message Date
Eric NGUYEN
4bb92e219d Fix behaviors not apply on sibling when deleting a container + Fix container not able to move because sort is done after 2022-09-21 16:46:42 +02:00
Eric NGUYEN
d875e33f93 Add app test 2022-09-21 16:33:31 +02:00
Eric NGUYEN
cfdbbb7085 Change MainMenu Load input name 2022-09-21 16:13:36 +02:00
Eric NGUYEN
035f79c566 Fix xhr timeout 2022-09-21 16:13:16 +02:00
Eric NGUYEN
0ca3b734d6 Fix message sidebar when webworker are not supported 2022-09-21 16:12:51 +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
07dbac1b12 Fix outdated sidebar test 2022-09-20 09:42:36 +02: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
4b874dfff4 Merged PR 186: Implement filterlists 2022-09-19 08:46:41 +00:00
Eric NGUYEN
ccba9991df Fix sort of categories + improve perf 2022-09-16 16:52:10 +02:00
Eric NGUYEN
1cd38f24cf Refactor Sidebar.tsx 2022-09-16 16:35:22 +02:00
Eric NGUYEN
0476a294d6 Implement Category list 2022-09-16 16:23:17 +02:00
Eric NGUYEN
9f24d2d40a Implement displayed text 2022-09-16 15:00:40 +02:00
Eric NGUYEN
ce65d448c9 Fix Category missing key + Fix button cannot be inside button 2022-09-16 14:53:13 +02:00
Eric Nguyen
e94671d1d8 Merged PR 185: Implement Messages 2022-09-16 10:03:41 +00:00
8a7196eeac Increase opacity for better visibility 2022-09-16 10:02:18 +00:00
4f0a6795ad Implement Category 2022-09-16 10:02:18 +00:00
Guillaume Tauzin
320d68e27f Text cotation css modified + no decimal display on text 2022-09-16 10:07:01 +02:00
0d557624f7 Fix InitializeDefaultChild not using AddNewContainerToParent and ignoring subchildren 2022-09-15 09:33:42 +02:00
012c826461 Revert "Restore InitializeDefaultChild"
This reverts commit 4aad6b2f4c.
2022-09-15 09:31:34 +02:00
Eric NGUYEN
4aad6b2f4c Restore InitializeDefaultChild 2022-09-14 18:17:54 +02:00
Eric NGUYEN
84f25af490 Update test with new input interaction 2022-09-14 17:36:18 +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
f6e4238b3d Implement Pattern 2022-09-14 16:55:28 +02:00
Eric NGUYEN
c0a7a26874 Implement isHidden 2022-09-14 14:11:18 +02:00
Eric NGUYEN
9f58203c86 Set dimensions text above the dimension 2022-09-14 11:53:31 +02:00
Eric NGUYEN
8653be0172 Fix SetContainerList dictionary parsing 2022-09-14 11:50:28 +02:00
Eric NGUYEN
e32e98cddd Fix flex again because of wrong order of container 2022-09-14 11:36:43 +02:00
Eric NGUYEN
b62aee978b Fix missing key for cssinput 2022-09-14 11:25:54 +02:00
Eric NGUYEN
7494383f58 Fix InputGroup not refreshing when selecting a different element 2022-09-13 18:12:20 +02:00
Eric NGUYEN
021af3e70f TextInputGroup Change border color to yellow when modified 2022-09-13 18:04:42 +02:00
Eric NGUYEN
e3f57773d7 Set input group in orange when modified but not applied 2022-09-13 17:52:36 +02:00
Eric NGUYEN
a9831b6b7f Implement pseudo dynamic input 2022-09-13 17:47:31 +02:00
Eric NGUYEN
6407510811 Fix svg scale default undefined 2022-09-13 17:43:28 +02:00
Eric NGUYEN
910aa4479b Fix dimension spacing depending on scale 2022-09-13 09:46:36 +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
Guillaume Tauzin
23c7a05a00 Change css class for sidebar and symbols 2022-09-09 08:40:01 +02:00
6a3ddea763 Allow AddContainers to extends the default config 2022-09-08 14:25:00 +02:00
d512f87776 Add previous and next container to ISetContainerListRequest 2022-09-08 13:13:37 +02:00
8aae29d714 Fix ApplyAddMethod when method is null 2022-09-08 13:13:13 +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
353f461f4b Merged PR 175: Implement drag drop
- [x] Implement drag drop to create an element at a specific index
- Add Swap behavrior
- Implement max contraints with simplex
~~- [ ] Implement drag drop to swap two container that flex~~

- Fixes tries number for simplex it can now go up to 2 * number of containers
- Fixes flex calling another flex behavior when not needed (remember that flex behavior is the only behavior that needs to communicate with siblings)
- Fix max width being ignored in input group
2022-09-05 07:56:45 +00:00
Eric NGUYEN
cae628537c Fix UseFitOnce 2022-08-31 17:47:37 +02:00
Eric NGUYEN
f6953e42df Implement framerate limiter 2022-08-31 17:27:54 +02: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
4588aa9443 Rename DefaultX, DefaultY to X and Y + add docs 2022-08-31 15:34:25 +02:00
Eric NGUYEN
4cd8f76d7c Hide console.warn 2022-08-31 11:35:49 +02:00
Eric NGUYEN
35e9421ae8 Hide behaviors handled error messages 2022-08-31 11:33:45 +02:00
Eric NGUYEN
3feae9367b Fix symbol behavior not imposing its position when anchor is enabled 2022-08-31 11:32:19 +02:00