Eric Nguyen
3f58c5ba5e
Merged PR 169: Fix bugs with flex + Disable obnoxious swals + Add selector text + Sort SVG scss to different files
...
- Disable PushBehavior and set it in a different file
- Fix behviors when parent === undefined
- Fix flex behavrios when using anchors
- Fix siblings not applying flex to theirs children on container delete
- Fix flex behavior when using anchors
- Enable flex by default
- Disable obnoxious swals
- Add selector text
- Sort SVG scss to different files
Others: Add some todos
2022-08-26 13:59:03 +00:00
Eric Nguyen
444b96736a
Merged PR 168: Add SmartComponent source code + Restrict Events by giving a root at the first render + Added Render function to a namespace
...
- Add smartcomponent source code to public/
- Restrict Events by giving a root at the first render + Added Render function to a namespace
- Add attribute type="button" to all buttons
2022-08-26 09:13:51 +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
ec3fddec9d
Merged PR 165: Move useEffects to named functions
...
Move useEffects to named functions
2022-08-22 15:52:40 +00:00
Eric Nguyen
29625dce28
Merged PR 164: Clear the leftover TODOs
...
continuous-integration/drone/push Build is passing
- Remove nullable type from container.properties.parentId
- Add Swal when trying to delete main container
- Moved default editor state to default.ts
- Moved default symbol model to default.ts
2022-08-22 15:03:46 +00:00
Eric Nguyen
66ea3b1b64
Merged PR 163: Remove the static form + rename some components for clarity
...
continuous-integration/drone/push Build is passing
The static form is hard to maintain so I am removing it + rename some components for clarity + moved some utils files
2022-08-22 14:37:25 +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
58ef28fe89
Remove selector from svg export + fix svg format
continuous-integration/drone/push Build is passing
2022-08-18 17:10:46 +02:00
fa2d8e3e6e
Fix RigidBody overlap on the right + Add tests
2022-08-18 16:19:55 +02:00
9f9ec8dc65
Implement DefaultChildType
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-18 15:51:45 +02:00
f268011315
Implement more options + Add depth dimension (revert DimensionLayer) ( #37 )
...
continuous-integration/drone/push Build is passing
- Displayed text
- Enable Shortcuts
- Hide text
- Disable Dimension
- Depth dimension
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/37
2022-08-18 08:46:50 -04:00
70863261aa
Merge pull request 'Add swals + Remove incompatible saves + add new tests' ( #36 ) from dev.swal into dev
...
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/36
2022-08-18 06:14:56 -04:00
4971ec7e5d
Add swals + Remove incompatible saves + add new tests
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-18 12:13:51 +02:00
0e161ffce0
Refactor behaviors into a single function ( #35 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/35
2022-08-18 06:11:40 -04:00
Eric NGUYEN
c7bc77b08f
Fix build version of the project because of web workers
2022-08-17 17:47:16 +02:00
2945febd91
Implement minWidth property + refactor default property of new containers and main container ( #34 )
...
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
...
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
82eae4971e
Refactor RigidBodyBehaviors
continuous-integration/drone/push Build is passing
2022-08-17 15:39:37 +02:00
Eric NGUYEN
286a5e9c00
Fix rigid body in which children thinks there was enough space
continuous-integration/drone/push Build is passing
2022-08-17 15:12:38 +02:00
Eric NGUYEN
d29d1f5054
Better description of add + fix regression form validation + fix http server not using strokeWidth + add doc about hardcoded
continuous-integration/drone/push Build is passing
2022-08-16 17:45:52 +02:00
Eric NGUYEN
a36d5d79d4
Fix test: when using dynamic input, the value is converted correctly as number before being send to the change event
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-16 16:54:12 +02:00
Eric NGUYEN
e3190dfe0a
Refactor PropertiesOperations for more readability
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-08-16 16:48:43 +02:00
Eric NGUYEN
0fcc2244bb
History: Fix regression with delete
continuous-integration/drone/push Build is failing
2022-08-16 16:34:44 +02:00
Eric NGUYEN
1622816035
Final fix for XPositionReference : We are now lying to the user in the form. The transformation is applied to the value that is shown but the transformation is restored for the computing afterward
2022-08-16 16:34:32 +02:00
5f8e011bc6
Unrefactor Properties form to allow more freedom on the input types and form ( #32 )
...
continuous-integration/drone/push Build is passing
- The css style is now in IProperties.Style again.
- Forms are divided in DynamicForm and StaticForm
- Faster because less logic
- Add RadioGroupButton
- Add InputGroup
- Fix Children Dimensions not using x for their origin
Co-authored-by: Eric NGUYEN <enguyen@techform.fr>
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/32
2022-08-16 08:57:54 -04:00
Eric NGUYEN
3d7baafc17
Clean elementsSidebar and fix eslint
continuous-integration/drone/push Build is passing
2022-08-16 09:57:59 +02:00
dcfb93aa12
Fix bugs created by using Number()
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-15 23:04:45 +02:00
3c164581ce
Remove Number() calls
continuous-integration/drone/push Build is failing
2022-08-15 22:57:08 +02:00
4fbc67835c
XPositionReference: Fix Selector and Append
continuous-integration/drone/push Build is passing
2022-08-15 22:26:59 +02:00
522cd722c0
Added AddMethod and Default x,y,width,height on Add
continuous-integration/drone/push Build is passing
2022-08-15 22:07:08 +02:00
b8bd179167
Added Dimension of all children under the container ( #30 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/30
2022-08-15 15:12:35 -04:00
7ff411b988
Implement webworker for save operation + Limit the history size ( #29 )
...
continuous-integration/drone/push Build is passing
- Implement webworker for save operation
- Limit the history size
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/29
2022-08-15 11:52:17 -04:00
5b20e4f2dc
Revert "Replace sqrt in Dimension by Fast inverse square root"
...
continuous-integration/drone/push Build is passing
This reverts commit 497d2173e8
.
2022-08-15 16:00:04 +02:00
497d2173e8
Replace sqrt in Dimension by Fast inverse square root
continuous-integration/drone/push Build is passing
2022-08-15 15:41:38 +02:00
d6eb9ea364
Optimize history and fix nodes pollution + fix css + removes motion.framer ( #28 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/28
2022-08-12 16:31:37 -04:00
704dab7307
Implement anchor and fix bugs with rigid body ( #27 )
...
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/27
2022-08-12 11:47:21 -04:00
c81a6fe44b
Implement events for external use + Rename interfaces with a I prefix + add some documentation ( #26 )
...
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
Hydroxycarbamide
6c601429b9
Import NOTCHES_LENGTH for the default value of the notches
continuous-integration/drone/push Build is passing
2022-08-11 23:45:16 +02:00
Hydroxycarbamide
8e41fdad46
App.scss: Move public style to public css file
continuous-integration/drone/push Build is passing
2022-08-11 23:41:18 +02:00
Hydroxycarbamide
61b72f6a35
Separate properties operations and rigid body behaviors in different modules + Doc
continuous-integration/drone/push Build is passing
2022-08-11 23:35:40 +02:00
faa058e57d
Implement new features for svg components + improve form properties ( #25 )
...
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
d11dfec22b
Fix misuse of Hooks with useRef ( #24 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/24
2022-08-11 09:10:06 -04:00
ac56f84196
Add option for the properties form to only update on submit ( #23 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/23
2022-08-11 08:37:10 -04:00
Eric Nguyen
616fe3e9ac
Merged PR 17: Implement rigid body Fix multiple bugs
...
Implement rigid body
Fix saveload bug: having null elements
Fix events being duplicated and not being removed
2022-08-11 08:43:10 +00:00
Eric Nguyen
d9e06537e8
Merged PR 16: Transform every single class components into functional component
...
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
1fc11adbaa
Implement drag and drop ( #21 )
...
continuous-integration/drone/push Build is passing
Reviewed-on: https://git.siklos-chaneru.duckdns.org/Siklos/svg-layout-designer-react/pulls/21
2022-08-09 06:08:04 -04:00
f1e2326073
Fix tests imports
continuous-integration/drone/push Build is passing
2022-08-08 21:54:49 +02:00
fd4cd08219
Fix ElementsSidebar.test.tsx
continuous-integration/drone/push Build is passing
2022-08-08 17:49:43 +02:00
49a558589c
Implement deletion + context menu
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-08-08 14:29:45 +02:00
6b8531d3ae
Update Sidebar test with new UI
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-08 11:33:46 +02:00