vientang / meetup-softball

MIT License
1 stars 0 forks source link

Write definitions to explain stat categories and qualifiers #82

Closed vientang closed 5 years ago

vientang commented 5 years ago
  1. Make a constants.js file. This will hold static data.
  2. Create an object called definitions, holding key/value pairs that explain the uncommon stat categories (ops, rc, woba, obp, slug).

For example:

{ 
  rc: 'Total runs created.......' ,
  woba: 'Weighted on base average.......' 
}
  1. Create an object called qualifiers, holding key/value pairs that explain the minimum qualifying stat for the LeaderBoard cards.
  2. Export both objects to be consumable throughout the application.
mikebasta commented 5 years ago

Definitions created with both basic (shown on page) and detailed (for coverable tooltip) explanation of stats. "Game minimum" string used for qualifiers, logic for determining minimum amount of qualifying games will need to be handled on LeaderBoard component.