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

Kate & Leti - Ampers - VideoStoreConsumer #13

Open
wants to merge 64 commits into
base: master
Choose a base branch
from

Conversation

LetiTran
Copy link

Video Store Consumer

Congratulations! You're submitting your assignment!

Comprehension Questions

Question Answer
Paste a link to the PR for your API API-pull-request
For each person in your pair, describe something you learned from your partner during this project Kate: How to use Redirect on Routes. Leticia: How to navigate PRs on Github and GitFlow.
What was one area of React you gained more clarity on during this assignment? Routes
Describe how you solved the problem of having lists of movies that look mostly the same but have different content We created one single component for Movie and two different components for the collections.
Describe how you handled rentals with React We store the selected movie and customer in App state and send it as props to the component(SelectionBar) that has the method to checkout a movie for a specific customer with a post request.
Describe a DOM event your application handled onClick of the search button on SearchForm sets state so that information shows.
Did you use any functional stateless components? What for? Yes, we created components for a modal that only displays itself, with a confirmation message for the user.
Did you use any container components? What for? Yes, for both movie and customer collections.
Do you have any recommendations on how we could improve this project for the next cohort? Making what edits need to be done with the API more clear; leading up to the project it sounded like we would be building the whole API. If the API is mostly built it would be nice to have some kind of guidance on what changes we need to make.

LetiTran and others added 30 commits June 18, 2018 15:43
…x that has a callback on the CustomerColelction to change the 'selected customer'.
Created a Customer Collection and a Customer Component
…stomers components in the customersCollection component.
…displaying of the setState for the selected customer and also it's displaying on the screen.
…s-fix

creates a movie list based on a static query, and fixes showing image
Added Axios to Customer Collection Component and its state logic
…ough CustomerCollection for now. Will move it to App.
Selection Bar Component with Selected Costumer component.
creates search form and form functionality to query api
…ts and its respective collections in order to send this info on the callBack to add it to App state and then use for the rental functionality.
LetiTran and others added 30 commits June 20, 2018 15:34
merges master and finishes add movie to library functionality
Clears state after renting the movie.
… placed inside of App.js so that it can also be used by add-movie-tolibrary Modal.
Conditionally shows search results through Route
…onfirmation

Adds modal with confirmation of adding a movie to library
adds styling to select bar and some styles to the nav
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