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

Practical Redux Part 5 - WIP commits #3

wants to merge 21 commits into
base: master


None yet
1 participant

markerikson commented Dec 13, 2016

The original work-in-progress commits for the progress described in Practical Redux Part 5: Loading and Displaying Data.

markerikson added some commits Dec 1, 2016

Extract components from Pilots panel, and add initial test data
Extracted PilotsList plus child components
Extracted PilotDetails
Added a test data entry to Pilots state, and passed to other components
Extract components from Mechs panel, and add initial test data
Extracted MechsList plus child components
Extracted MechDetails
Added a test data entry to Mechs state, and passed to other components
Added getWeightClass selector, and used for rendering
Load Mechs and MechDesigns from sample data and use in display
Added Mech and MechDesign entries to the sample data
Added reducer logic to load them into the store
Updated Pilots mapState to use relations to look up mech type
Implement selection handling for pilots
Update PilotsListRow and PilotDetails to take a pilots object
Highlight selected pilot list row
Show selected pilot attributes in the PilotDetails form
Update selected pilot on list row click
Implement selection handling for mechs
Update MechsListRow and MechDetails to take a mech object
Highlight selected mech list row
Show selected mech attributes in the MechDetails form
Update selected mech on list row click
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment