Prototype - TheJosephChen/Chen-Joseph-webdev GitHub Wiki

Users currently have the ability to register and login but can not log out. $rootscope is being used to persist a user between pages but refreshing the browser will reset the current user and effectively log the user out. There are two users available for testing: username/password alice/alice bob/bob

The prototype currently allows for relationship tests to be conducted:

User to User relations:

Users have the ability to navigate to the profile of other users by using the username of the user they want to find. On the profile, users are able to give a rating to other users. In the future, this functionality will be limited to tournament participants/tournament organizers once tournaments are implemented.

Steps

  • Log in as alice
  • search for 'bob' in the user search bar
  • enter a numerical rating for bob (0-10)
  • refresh the page and note that bob's history includes the rating bob has just received from alice
  • navigate back to the home page and search for 'alice' in the user search bar
  • note that on alice's profile, alice's history includes the rating alice has just given bob

User to Domain relations:

Users have the ability to search for cards and then comment on them. Cards have a comments section which is not yet refined. Right now user history does not include the name of the card the user comments on.

Steps

  • Log in as bob
  • on the home page, click the 'look up cards' button
  • in the search bar, search for 'titan' and click on the result that appears
  • in the comment box, type 'testing123'
  • refresh the page and note that the card's comments section has bob's comment
  • navigate to the home page and search for 'bob' in the user search bar
  • note that on bob's profile, bob's history includes the comment bob has just given the card