footsteps-app
footsteps-app copied to clipboard
Refactor Fix
I had refactored the code and tried to remove the prolems.. It closes the issue #68
Deploy preview for footsteps-app ready!
Built with commit 715d9d644aca9c0ebef3348882631f571b2ca3f4
https://deploy-preview-80--footsteps-app.netlify.com
There's only one check left now. You can do it! @R3l3ntl3ss What do you think of this PR? There is a massive change in the structure of the project.
There's only one check left now. You can do it! @R3l3ntl3ss What do you think of this PR? There is a massive change in the structure of the project.
Please have a look at the problem and help me with this 🤠... I had tried alot 😔
@xlogix @R3l3ntl3ss Here it is showing that this PR has conflicts but I don't have an option to resolve them. The option for resolving the commits is not available. Why is this so and how can I resolve the commits ?
Hey @vngarg, you'll have to resolve it using the cmd line.
@xlogix Actually, I had changed the location of these files in this PR. So this location does'nt exist on my branch and so no conflicts are there on my forked repo. I'm a bit confused with this ?
I understand that. But, right now it will show it as conflicts until you merge the master branch. Slack
I understand that. But, right now it will show it as conflicts until you merge the master branch. Slack
@xlogix I really don't have any idea as to what should I do now ??
I understand that. But, right now it will show it as conflicts until you merge the master branch. Slack
@xlogix sir conflicts are continuously increasing, please merge this PR now ??
@prajwal714 Since you created the issue, could you explain why this approach would be better for us?
Hey @vngarg. Did you perform tests for all the files that you made changes to? I am getting this error while creating a path.
Please test all your changes before you create a pull request. Since you are changing a lot of files please perform tests for the whole app and ensure nothing is broken.
Also, I see that you have broken down the components to stateful and stateless folders. Are you sure we need this? When we created the app we structured the components based on the pages on the app. Could you explain why the approach you have taken would be better?
Thanks for your contribution.
Sorry, some of the tests might have been left untested .... I'll test all of them once again ... Again sorry for my mistake ..
@prajwal714 Since you created the issue, could you explain why this approach would be better for us?
There are several redundant components in the files, which can be reused if they are broken down into separate components. Also, it gives the project a unified structure since the components will be reused in other future pages as well. Refactoring the code was necessary else it would eventually lead too a spaghetti codebase. @xlogix @R3l3ntl3ss what we can do for now is instead of completely changing the structure proceed part wise, modularizing each page first. It will lead to less conflicts and the transition would be smooth.
I totally agree with that. But do we really need to categorize the components based on the State of the component? Right now the components are arranged based on their function and page, I am not sure if changing up that is necessary.
I agree with @R3l3ntl3ss on keeping components based on their page/function. This helps to navigate the project easily.
@prajwal714 Yeah, we should proceed page-wise. Modularising the components as we encounter them. @vngarg Are you okay with that? You can raise pull requests each time you modularise. I hope we can complete the whole transition in a few days?
@prajwal714 Yeah, we should proceed page-wise. Modularising the components as we encounter them. @vngarg Are you okay with that? You can raise pull requests each time you modularise. I hope we can complete the whole transition in a few days?
@xlogix @R3l3ntl3ss @prajwal714 I don't have any problem with this .... But Actually I don't have an idea what you all are talking ... And as this PR has became too complicated so I too am in favour of your decision ... But please explain me that what I have to do if we proceed according to you