GithubHelp home page GithubHelp logo

anthonyliuhao / cs361_group_project Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 3.0 2.71 MB

This is the group project repo for Team Pacific Time in CS 361 - Software Engineering I for the Fall 2020 term at Oregon State University.

JavaScript 62.35% CSS 16.31% Handlebars 21.33%

cs361_group_project's People

Contributors

alexlo510 avatar anjelbenitez avatar anthonyliuhao avatar gary510 avatar hermancai avatar

Watchers

 avatar  avatar

cs361_group_project's Issues

User is not automatically logged in after registering

Summary: User is not automatically logged in after registering

How to reproduce:

  • Register a new account

Result: The user stays on the same page after registering an account.

Expected: The user is logged into the new account after registering it.

Cannot register

Steps to reproduce

  1. Deploy the app to Heroku
  2. Try to register and click on the register button

Result

Nothing happens. If you open the console, you'll see this error.

XMLHttpRequest cannot load http://localhost:3000/validateEmail due to access control checks.

Users are able to register an account without a valid email address input

Summary

Users are able to register an account without a valid email address input.

Steps to reproduce

  1. Click on the register button
  2. create an account by typing anything into the email input.
  3. The email input does not check the user input has an '@' sign or if the email exists.

Expected Result

The user should not be able to input any text into the email input. It should at least check for an '@' sign or if the email exists.

Questions pop up out of order in the FAQ page

Summary:

When you navigate to the FAQ page, questions pop up out of order.

Steps to reproduce:

  1. From any page, navigate to the FAQ page by clicking on "FAQ" in the navigation bar at the top.
  2. You will see that the last two questions pop up before the first three.

Expected Result:

It makes more sense for the questions to either pop up at the same time or to have them pop up in order, from top to bottom.

Screen Shot 2020-12-04 at 3 42 01 PM

Screen Shot 2020-12-04 at 3 42 25 PM

Users should not have access to other users' private recipes

Summary

Users should not have access to other users' private recipes

Steps to reproduce

  1. Register and login
  2. Use the build a recipe feature to create and save a recipe
  3. Go to My Recipes, and then go to the recipe that was just saved
  4. Copy the URL (for example http://localhost:3000/recipe?id=10)
  5. Log out
  6. Manually paste the URL http://localhost:3000/recipe?id=10 into your browser's search bar, and press enter

Observed Result

Even though I have logged out, I can still access the private recipe.

Expected Result

There should be an alert or error to say that I don't have access if I try to view a private recipe of another user.

Images on home page do not resize with browser window

Summary

The images on the home page (for Breakfast, Lunch, and Dinner) do not resize when browser window changes size.

Steps to reproduce

  1. Go to the home page
  2. make the browser window smaller or increase zoom

Result

While the nav bar and banner image scale up and down nicely with the browser window, the images do not. They often becomes truncated and requires users to scroll horizontally.

Expected Result

The images should adjust their size/layout automatically based on the available screen real estate.

Resizing the window in the Build A Recipe page causes sections to overlap

Summary:

Resizing the window in the Build A Recipe page causes sections to overlap.

Steps to reproduce:

  1. Navigate to the "Build A Recipe" page from the any page.
  2. Drag any corner of your browser window inwards to make the window smaller.
  3. As the window gets smaller, you will notice the different sections of the page starting to overlap, especially when they are populated with information.

Expected Result:

While it is acceptable for the page elements to get smaller as the window is resized, they should never overlap as it makes reading the text from any one section difficult.

Screen Shot 2020-12-04 at 4 16 10 PM

Screen Shot 2020-12-04 at 4 19 37 PM

Profile: [username] should not be a link

Summary

When a user is logged in, the Profile: [username] menu item is currently a link, but it is not linked to anything.

Steps to Reproduce

  1. Register
  2. Login as a registered user
  3. Hover cursor over the Profile: [username] menu item in the upper right corner

Result

The menu item is a link, but it should not be.

Users can click on a meal category while registering

Summary:

Users can click on a meal category from the home page while the register form is open.

Steps to reproduce:

  1. Navigate to the "Home" page.
  2. Click on "Register" in the nav bar.
  3. Once the register form has popped up, click on any one of the captions over the meal category images, i.e. click on the caption "View Breakfast Recipes".
  4. You will be redirected to a 404 page saying that the page is nowhere to be found.

Expected Result:

Users should not be able to click on a link navigating away from the page once the register form has popped up, unless they first close out the register form box.

Screen Shot 2020-12-04 at 3 57 09 PM

Screen Shot 2020-12-04 at 4 00 21 PM

Clicking on "Replace" will add ingredient to recipe

Summary:
If the ingredient is not in the recipe list, clicking on Replace in the info section will add the ingredient to the list.

Steps:

  • Go to "Build a Recipe"
  • Click on the "Info" button the Beef Patty
  • Click on "Replace" on any of the alternatives.

Expected Result:
Only the "Add" button should add the item to the list. "Replace" button should only replace the ingredient that you are viewing the info for.

Recipe Name Box Overlaps

Summary: In the Build a Recipe page, the Recipe Name's text box overlaps into the Added Ingredients area.

Steps:

  • Visit "Build a Recipe" page
  • Change the size of the browser
  • Observe the overlapping text box

Expectation:
The text box should change size in proportion to the site.

Screen Shot 2020-11-30 at 11 51 51 PM

Register button is blocked

Summary

Register button is blocked

Steps to reproduce

  1. Go to home page
  2. Click on Register

Results

Notice how the register button is blocked by the View Lunch Recipe button.
截屏2020-11-30 下午11 15 57

Users are able to register an account with the same username and email but with different letter cases

Summary

Users are able to register an account with the same username and email but with different letter cases.

Steps to reproduce

  1. Click on the register button
  2. Create an account and remember the username and email used for creating that account.
  3. Create another account using the same username and email but with any of the letters with different capitalization. For example, using an "A" in place of an "a".
  4. The account is created for that user, even though the email and user name technically exists but with a different letter case.

Expected Result

The user should not be able to input the same username or email regardless of the letter case of the username and email.

Visual indicators can stack and block the custom recipe page

Summary: Visual indicators can stack and block the custom recipe page.

How to reproduce:

  • From the homepage, click on 'Build a Recipe'
  • On the build page, click on the add buttons in rapid succession

Result: The visual indicators that appear will momentarily block part of the page.

Expected: The visual indicators will not stack beyond a certain height and block the page features.

Ethical concern 'problems' do not match the 'descriptions'

Summary: When viewing an ingredient's ethical problem and the problem's description, the problem and description sometimes don't match.

How to reproduce:

  • From the homepage, click on 'View Breakfast Recipes'
  • On the breakfast page, click on 'Pancakes' recipe
  • Hover over each of the warning icons to view the ethical concerns

Result: Ethical problem X will have description 1. Ethical problem Y will also have description 1 instead of some description 2.

Expected: Each ethical problem should have a corresponding description that is not shared with any other problem.

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.