Add more as needed!

STORE OBJECTS:

userAuth ⇒ Firebase auth user class ⇒ https://firebase.google.com/docs/reference/js/firebase.User

userData ⇒ Firebase user document

EXAMPLE USAGES:

this.$store.state.userAuth.updatePassword('newpass')

console.log(this.$store.state.userData.uniqname) ⇒ (prints sletap)

if (this.$store.state.userData.standing === 'eboard'){

showAdminOptions();

}

ALL POSSIBLE STANDINGS:

"Active"

"Eboard"

"Guest" (Rushee and Pledge will be registered under "Guest" as well)

If you're trying to differentiate between an actual Rushee/Pledge and a Guest, check for a uniqname. If this.$store.state.userData.uniqname === null, then you know for sure that the logged in user is a Guest

Events — Currently These are our options:

We will use these options to sort

Eboard

Chapter

Tech Dev

Pro Dev

Design

Marketing

Membership

Other

HTML:

Use Double quotes for HTML, single quotes for objects pointing to JS

photoURL: "https://url-to-profile-picture"

attended: [djAohdgFsvmn]

(Attended event array)

JavaScript:

Use strict equals (===, !==) instead of lenient equals (==, !=)

Comment out/delete console.log statements before committing to master

use let and const rather than var

Use single quotes ' ' rather than double quotes " " in JS

(This snippet only shows edit and delete if the standing is eboard)

Vue:

When using a style tag, scope it to your current component so it doesn't get declared globally