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

Move send component steps into one folder - Closes#1419 #1445

Merged
merged 2 commits into from
Nov 6, 2018

Conversation

osvaldovega
Copy link
Contributor

The send components are split in 3 folders, send, sendWritable and sendReadable. The main problem is that cause confusion because sendWritable and sendReadable are part of the send component, what made send component the root component.

The Send components are in three folders:
https://github.com/LiskHQ/lisk-hub/tree/v1.5.0/src/components/send
https://github.com/LiskHQ/lisk-hub/tree/v1.5.0/src/components/sendWritable
https://github.com/LiskHQ/lisk-hub/tree/v1.5.0/src/components/sendReadable

The other thing is that sendWritable and sendReadable components don't have names that represent the relation with the send root component so this change to Form and Confirm

What issue have I solved?

-- #1419

How have I implemented/fixed it?

The sendWritable and sendReadable components folder where remove from src/components and move to src/components/send/steps folder and change the name from sendWritable to Form and sendReadable to Confirm.
The paths and imports in the rest of files were update to avoid problems after the renaming.

How has this been tested?

Run the Lisk-Hub app locally and see that everything works as should be, in the other hand run the commands.

npm run test-live

and

npm run cypress:open

To confirm that all test all still working and nothing breaks after that.

Review checklist

…r with new names form and confirm, all paths and imports are fix
@welcome
Copy link

welcome bot commented Nov 5, 2018

Thanks for opening this pull request! Please check out our contributing guidelines.

Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice first PR. Thanks, Osvaldo 👍

@welcome
Copy link

welcome bot commented Nov 6, 2018

Congrats on merging your first pull request! Ready for new challenges? You can find your next issue here

@osvaldovega osvaldovega deleted the 1419-move-send-components-steps-into-one-folder branch November 6, 2018 15:17
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.

3 participants