Commit graph

54 commits

Author SHA1 Message Date
Eric NGUYEN
cfbedd3e59 Fix bug with colors and dimensions misapplied 2023-02-23 12:21:05 +01:00
Eric NGUYEN
1c8cebf0f5 Remove usage of scale for symbols + Remove shenanigans with multipliers 2023-02-23 10:57:27 +01:00
Carl Fuchs
a476017d99 [Update] Symbol alignement behavior + filtered Symbollist in ContainerForm.tsx 2023-02-22 12:10:01 +01:00
Eric NGUYEN
5b367f8e57 Update test-server 2023-02-17 14:37:22 +01:00
Carl Fuchs
7c83116df1 Implement #7539 2023-01-25 14:42:05 +01:00
Eric Nguyen
4ff2e0b7fb Merged PR 226: Implement associated container and default X, Y position for Symbol
Implement associated container and default X, Y position for Symbol

Related work items: #7537, #7540
2022-11-07 08:59:25 +00:00
Eric NGUYEN
e63b2779e1 Implement Insert in SetContainerList 2022-11-04 15:56:17 +01:00
Eric NGUYEN
d580890b9d Add shortcut description to right click + add Suppr shortcut + Fix next selection after deletion 2022-10-04 16:51:24 +02:00
Eric Nguyen
ec7ee7891e Merged PR 208: Fix scaling and position of symbols 2022-10-04 09:25:03 +00:00
Eric Nguyen
38a6919192 Merged PR 205: Add new AddingBehavior ReplaceParent + Allow AddingBehavior override by response + fix double key in context menu + Rename node-http.js to http.js 2022-10-03 14:48:45 +00:00
Eric NGUYEN
a054121350 Fix node-http tests 2022-10-02 16:34:22 +02: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
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
1af5b45dbb Update node-http.js 2022-09-21 16:12:27 +02:00
Eric Nguyen
4b874dfff4 Merged PR 186: Implement filterlists 2022-09-19 08:46:41 +00: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
4f0a6795ad Implement Category 2022-09-16 10:02:18 +00: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
ee7c418b24 Update http.js for better visibility of dilatation 2022-08-30 17:40:32 +02:00
Eric NGUYEN
5fa9db931f Implement borrower dimension 2022-08-30 17:36:48 +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
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
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
4da161ff37 Remove broken test + remove cyclic defaultChildtype
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-18 16:22:25 +02:00
9f9ec8dc65 Implement DefaultChildType
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-18 15:51:45 +02:00
Eric NGUYEN
f34ba64f7e Change default color of Chassis to whitey wood
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-17 17:47:20 +02:00
2945febd91 Implement minWidth property + refactor default property of new containers and main container (#34)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Eric NGUYEN <enguyen@techform.fr>
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/34
2022-08-17 11:14:19 -04:00
Eric Nguyen
e96e4f123b Merged PR 18: Add support for custom SVG
Some checks failed
continuous-integration/drone/push Build is failing
Add support for custom SVG
Add userData back into IProperties
Added library interweave
Update example
2022-08-17 13:43:24 +00:00
Eric NGUYEN
d29d1f5054 Better description of add + fix regression form validation + fix http server not using strokeWidth + add doc about hardcoded
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-16 17:45:52 +02:00
dd2079b975 Fix width and height not being numbers
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-15 22:52:09 +02:00
522cd722c0 Added AddMethod and Default x,y,width,height on Add
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-15 22:07:08 +02: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
8fdf75019f Fix bun test-server
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-05 12:06:15 +02:00
35bb95f206 Fix node-http.js 2022-08-05 11:56:45 +02:00
d1e04769bb http.js reduce API size 2022-08-05 10:45:16 +02:00
Eric NGUYEN
85169f198e Added nodejs webserver 2022-08-03 16:37:23 +02:00
Eric NGUYEN
0bf6b173f4 http.js: Fix wrong pathname for SplitRemplissage 2022-08-03 15:16:54 +02:00
06ab515e71 Changed MainContainer dimension to something more respectable 2022-08-03 00:02:59 +02:00
106c403125 test-server: Fix again 2022-08-01 11:28:20 +02:00
a70c336e80 test-server: Truly fix the api 2022-08-01 11:26:52 +02:00
6c316e8032 http.js add missing resources 2022-08-01 10:11:53 +02:00
16d88f11b0 test-server: Reimplement add whole api example 2022-08-01 09:51:49 +02:00
2a445cfdc2 App.tsx: Remove headers in request 2022-07-31 23:21:00 +02:00
87baffefff Add style and userdata to Container 2022-07-31 19:24:24 +02:00