Code Monkey home page Code Monkey logo

lemon-aide's Issues

Testing: Favorite Route

Need a test for the following user story:

  • As a user, when I visit the favorites page the URL should be "/favorites".

  • As a user, when I visit the favorites page I should only see items that I have favorited.

Testing: No Favorites div

Need a test for the following user story:

  • As a user, when I visit the favorites page and I haven't favorited any products I should see a div that tells me to "Add favorites to see them here.

Feature: Header link to Homepage

  • As a user, when I click on the header's logo I should be navigated to the homepage.

--You can use useNavigate on the Header component and onClick of the logo image, it will navigate the user to the homepage. Alternatively, you may also be able to wrap it up with a Link.

  • We will also need to test this functionality

Feature: Loading Component

As a user, when I first visit the homepage and do not see any of the products in the products container (or see them loading slowly) I should see a loading icon that rotates in the products container until the fetch Promise for all products has resolved (component mounts) and renders the products in the container.

001-loading

Bug Fix: Favorites Container with 1 and 2 items

As a user, when I only have 1 or 2 favorited products I should see those products displayed on the favorites page correctly.

  • Update display of 1 favorited product:

Screen Shot 2022-01-09 at 7 04 11 PM

  • Update display of 2 favorited products:

Screen Shot 2022-01-09 at 7 03 47 PM

Bug fix: Aside Component

As a user, when I visit the homepage and any other page I should be able to see a Hamburger icon (the Aside component) with the links to each page and click on the page that I want to be navigated go to.

Ideally the aside component will stay on the left hand side and will be underneath the Header component.

Testing: Home route

Need a test for the following user story:

  • As a user, when I visit the homepage the URL should be "/".

  • As a user, when I click on the aside's "All Items" link, I should be directed to the homepage.

Feature: Error Handling Component

As a user, when I visit the homepage and am not able to see any of the products or content I should see an Error message (Component) with the attached picture describing why (Whoops! /n Error: (error msg from state property in App.js)).

dizzy-robot
.

Testing: Error Component

Need a test for the following user story:

  • As a user, when I visit the home, favorites or outfits page and the server's response is not okay I should see an Error component.

Testing: Loading Component

Need a test for the following user story:

  • As a user, when I visit the homepage and the products are still being rendered I should see a Loading component.

Feature: README for Front End repository

  • Create a README file for our repository.

Here is some content that I was able to sketch out for the FE's README:

Technologies

  • React
  • Postgres
  • Knex
  • HTML
  • CSS
  • JavaScript

FE Enhancements

  1. FE Local storage for items in cart
  2. FE Have carousel for each item category
  3. FE Have the cart items show up in the order that they are selected

FE Challenges

  1. Accidentally committing node modules and branching off of that branch caused them to persist until we created a git ignore file and removed them from every branch that was being merged. Unfortunately this skewed our contributions for lines of code that were written and deleted but the number of commits accurately depict that metric.
  2. Accidentally committing node modules and removing them also caused one of our 3 group members to be on a different version of node which became an issue when attempting to run our Cypress tests. Fortunately this was fixed by having her uninstall and reinstall the correct version of node.
  3. Eight day timeframe to learn about and implement a backend server, database and frontend application with 2 features.
  4. Having so many modes of communication made it difficult for some of our team members to understand and remember what they were supposed to be working on. Luckily GH issues became a much better place to draw out, reference and delegate tasks.

FE Wins

  1. Successfully being able to divide and conquer tasks and complete them in a timely manner.
  2. Having at least two people pair and walk through a PR, request changes and gracefully making changes before the branch was merged to main.
  3. Learning CSS tricks, useState, and different ways of doing things from each other’s work.
  4. Our “your win is my win” attitude really guided us through many hiccups and disagreements.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.