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

Refactoring HeaderSections #155

Merged
merged 1 commit into from
Feb 1, 2019

Conversation

bicep
Copy link

@bicep bicep commented Jan 29, 2019

Description

It's not really working yet but I wanted to run the file structure with @debragail.

New files are added in the reducers, components and containers folders.

For the reducers and containers, each of the headersections have their own reducers and containers now. Got rid of the HeaderSection reducer.

For the components, there are now 4 new headersection components (HeaderSectionLastBlock, etc...), as well as the HeaderSection base class and the HeaderSections class that simply combines each of the 4 headersection components.

What do you think?

Related Issue

#149

@debragail
Copy link
Contributor

@bicep let me take a look! ty!

@debragail
Copy link
Contributor

Yes that's great. I was working on MiningStatus and also reached a similar conclusion after getting more familiar with the code and this is a great step towards refactoring. Thanks!

@debragail
Copy link
Contributor

debragail commented Feb 1, 2019

the headerSections.spec.js was broken because the RPC Server test was referencing the older file name.

@debragail debragail merged commit 1019121 into DAVFoundation:master Feb 1, 2019
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