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

2. As a user, I want to be able to navigate between the “list” view and the “add an item” view #24

Open
stacietaylorcima opened this issue Jan 26, 2020 · 1 comment
Assignees

Comments

@stacietaylorcima
Copy link
Contributor

This is 1 of 2 stories that should be completed in the first week to enable further development of the app.

AC:

  • react-router-dom has been added as a project dependency
  • 2 tabs are present at the bottom of the app: one for the “list” view, the other for the “add an item” view
  • When in the “add an item” view, a back arrow appears in the header that takes the user back to the “list” view* When a link is clicked, the browser URL updates to represent the current view (note: the 2 tabs should also be present on this page)
  • Whichever tab is selected should indicate somehow that it is selected
@mjhcodes
Copy link
Contributor

  1. Install new dependency "react-router-dom" and then import into project as required.
  2. Create two views, which include the home/list and add components.
    • may not be required, but if so, we would set up a state that includes a boolean value to toggle on and off the arrow icon and navigational ability.
  3. Set up a CSS property with two colors that we would toggle back and forth.

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

No branches or pull requests

3 participants