Welcome to Space-Travelers-Hub, your premier web application for captivating commercial and scientific space travel services. Our state-of-the-art React/Redux implementation brings you an unparalleled experience, allowing you to book rockets and join thrilling space missions.
I hope you are doing well. I am submitting this pull request to request a merge with the develop branch for my feature branch feature/rocket-action. The implementation in this branch fulfills all the requirements specified for the "Joining Mission" functionality.
Changes Made:
[x] Reducer Logic Update:
In the reducer file, I have implemented the required logic to handle joining missions When the user clicks the Join Mission button, an action is dispatched to update the store with the newly reserved mission. To achieve this, I have ensured not to directly mutate the state. Instead, I am returning a new state object with all missions, where the selected mission will have an additional key reserved set to true. I have used the map() function for this functionality.
[x] React View Update:
In the React view file, I have incorporated conditional rendering using the syntax you provided. Upon clicking the Join Mission button, the corresponding action is dispatched with the correct mission id. Similarly, when clicking the Leave Mission button, the action is dispatched, but this time the reserved key is set to false.
General Requirements:
[x] Linter Errors:
I have ensured that there are no linter errors in my code, and it follows the coding conventions set by the project.
[x] Gitflow:
I followed the Gitflow workflow throughout the development of this feature. The feature branch feature/rocket-booking-actions was created from the develop branch, and my commits are concise and well-documented.
[x] Documentation:
I have professionally documented my work. My code is self-explanatory with comments provided where necessary. Additionally, I have updated the project's documentation to include information about this new feature and how to use it.
HTML/CSS & JavaScript Requirements:
[x] HTML & CSS Best Practices:
I have adhered to the list of best practices for HTML and CSS provided by the project. My code is clean, organized, and follows the established coding standards.
[x] JavaScript Best Practices:
I have followed the list of best practices for JavaScript development. My code is modular, avoids global variables, and uses appropriate design patterns where necessary.
I'd appreciate it if you could review my pull request and your feedback. I am confident that this feature is well-implemented and meets all the specified requirements. Your constructive feedback will help me improve the code further and ensure the quality of the project.
Dear @ClaudiaRojasSoto ,
I hope you are doing well. I am submitting this pull request to request a merge with the
develop
branch for my feature branchfeature/rocket-action
. The implementation in this branch fulfills all the requirements specified for the "Joining Mission" functionality.Changes Made:
[x] Reducer Logic Update: In the reducer file, I have implemented the required logic to handle joining missions When the user clicks the
Join Mission
button, an action is dispatched to update the store with the newly reserved mission. To achieve this, I have ensured not to directly mutate the state. Instead, I am returning a new state object with all missions, where the selected mission will have an additional key reserved set to true. I have used themap()
function for this functionality.[x] React View Update: In the React view file, I have incorporated conditional rendering using the syntax you provided. Upon clicking the
Join Mission
button, the corresponding action is dispatched with the correct mission id. Similarly, when clicking theLeave Mission
button, the action is dispatched, but this time the reserved key is set to false.General Requirements:
HTML/CSS & JavaScript Requirements:
I'd appreciate it if you could review my pull request and your feedback. I am confident that this feature is well-implemented and meets all the specified requirements. Your constructive feedback will help me improve the code further and ensure the quality of the project.
Thank you for considering my contribution.
Best regards, @CesarHerr
MissionsJoining.webm