Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Env Components Refactor #120

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

Test Env Components Refactor #120

wants to merge 9 commits into from

Conversation

bekatru
Copy link
Collaborator

@bekatru bekatru commented Feb 2, 2021

  1. Bunch of linting changes. I am gonna fix that.

So I started working from top to bottom.
I barely touched the TestEnvironment.js and its components. Basically, just moved menu to the toolbar. Did a little bit of destructuring and prettifying.
Then I just changed the order of props in Feature.js just to make it look good.
The heavy work was done with actual features.
I trimmed the properties of Line, Eddy and Hydraulic and destructured them in the Point and Cubic. For example coordinates are sent to Point and Cubic in one line and then get destructured there.
Also created utils for svg element properties.
Added some comments here and there.

@JeffThorslund JeffThorslund temporarily deployed to bent-shaft-m-refactor-ldskjgpl February 2, 2021 18:23 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants