RychardHunt / Fyt

Personal Workout Application
2 stars 5 forks source link

"[Feature]" Add state tracking and updating to profile screen #51

Open astewartgit opened 5 years ago

astewartgit commented 5 years ago

name: 🚀 Add state tracking and updating to profile screen about: The profile screen needs redux functions so we can customize the profile from other components as information is updated.


Feature Request

Is your feature request related to a problem? Please describe. Related to the linked user story "As someone interested in fitness I want a profile that shows information about my health"

Describe the solution you'd like Redux functions that can be accessed to update the state of the profile boxes during operation of the app.

Describe alternatives you've considered N/A this functionality is necessary. We have settled on redux as the state manager of the project.

Teachability, Documentation, Adoption, Migration Strategy Function descriptions will be added as available.

Acceptance Tests Acceptance test: Start the application. You should be on the profile screen. Observe the profile screen, see that the boxes all contain the placeholder values "---" Touch the menu button in the top left of the screen Touch the "Change Profile" button in the menu that came up You are now on the Change Profile Screen. Touch the italicized text that says "Modify Height..." and type a short input (1-6 characters) See the box labelled Height update with your input Touch the italicized text that says "Modify Weight..." and type a short input (1-6 characters) See the box labelled Weight update with your input Touch the italicized text that says "Modify Age..." and type a short input (1-6 characters) See the box labelled Age update with your input Touch the italicized text that says "Modify Streak..." and type a short input (1-6 characters) See the box labelled Streak update with your input Touch the button labelled "Return to Profile..." You are now back on the profile screen. Observe that the boxes have updated to match your inputs.