Commit graph

26 commits

Author SHA1 Message Date
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
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
aa33ab4019 http.js: fix width property + change default action to append 2022-07-31 19:12:03 +02:00
d4a89f7f9d test-server: fix wrong model 2022-07-31 16:48:49 +02:00
Hydroxycarbamide
58ec891db3 Add style to Main Container 2022-07-30 23:56:03 +02:00
Hydroxycarbamide
b4806db91a Implement SmartMenuiserie API + added bun test-server 2022-07-30 19:56:41 +02:00