Giter Site home page Giter Site logo

mammoths's People

Contributors

bhavshah1 avatar curtisyungen avatar dependabot[bot] avatar jebizar avatar vaheminasyan2 avatar

Forkers

curtisyungen

mammoths's Issues

User Stories: status

  • US1: As a user, I want to create a Mammoth profile so that I can track my data
  • US2: As a Mammoth user, I want to log in so that I can access and edit my data
  • US3: As a user, I want to enter my workout information
  • US4: As a user, I want to see my previous workout information so that I can assess my progress
  • US5: As a user, I want to create a custom/use a template workout plan
  • US6: As a user, I want to browse for workout plan ideas

Future features / Updates

Maps:

  • Calculate elevation data - display as chart for each run
  • Allow user to choose default city
  • Add "re-center" button on map

Friends:

  • Be able to add friends and filter to see their data
  • Issue challenges
  • Prevent users from deleting each other's data
  • Be able to remove routes
  • Enable “Enter” button
  • Editing routes/runs
  • Empty local storage when user signs-out
  • When you delete a run from “only me” view it should keep you on the “only me” view and not to take you back to “Show all” view

Leaderboard:

  • Add functionality to click on user name and take to View Runs page for that user

Dashboard: 

  • Further develop charts
  • Expand on data visualization tools

Workouts: 

  • Add strength training and other exercises

Clean-up: 

  • Make mobile responsive
  • Clean up a few bugs

Known bugs:

  • Sometimes operates under "undefined" user. Why? Maybe due to cleared local storage on Heroku push, therefore userName = "undefined"?

Overview & Status

Overview

Project Title: Mammoth
Team Member: Bhavin, Vahe, Curtis, Joseph
Project Description: A way to log workouts of varying types and share/compare with other users.
General Idea: Allow people to log workouts, track/compare data, generate workouts/training plans
Target audience: General public
Problem: Tracking progress of workouts, getting workout ideas, [collaboration]
Goal: Create a workout log that interacts with database, has user profiles

APIs to be used:

  • Google Maps API for drawing custom route on map
  • YouTube API / video source API

User stories:

  • US1: As a user, I want to create a Mammoth profile so that I can track my data.
  • US2: As a Mammoth user, I want to log in so that I can access/view my data.
  • US3: As a user, I want to enter my run/routes information.
  • US4: As a user, I want to see my previous workout information so that I can assess my progress.
  • US5: As a user, I want to create a custom/use a template workout plan
  • US6: As a user, I want to browse for workout plan ideas

Pages of the application:

  • Log in
  • Dashboard
  • Post New Activity Page
  • Run detail page

Split and conquer:

Vahe: login page, user authentication, routing, MySQL, Sequelize
Bhavin: MySQL, user authentication, Sequelize
Joseph: Design, dashboard/charts, CSS
Curtis: Layout, run/routes templates, routing, Google API

Milestones:

  • Jan. 31 (Thursday): Outline project
  • Feb. 2 (Saturday): create models
  • Feb. 5 (Tuesday): templates for each page
  • Feb. 7 (Thursday): login/user authentication figured out
  • Feb. 9 (Saturday): working app - Sprint 1 is complete
  • Feb. 12 (Tuesday): polish runs/routes functionality
  • Feb. 14 (Thursday): Polished and working app, readme
  • Feb. 15 (Friday): Prepare for presentation
  • Feb. 16 (Saturday): Presentation

To-dos:

  • Display a bar graph of last five runs by date for logged in user **
  • Add functionality to load friends runs by adding friends email address. Display user's and his friends runs in one graph on the dashboard
  • Add a test for one GET and POST route
  • prepare for presentation
  • update readme

To-do in polishing stage:

  • Post Activity Form Validation: minutes <= 59, seconds <= 59
  • ** Post Activity, Mile Pace calculates as "NaNNaN" before user completes entry
  • Add "select one" to the Primary surface drop down
  • Bootstrap Load Route button
  • Replace "top runs/routes" with "recent runs/routes"
  • Save route button saves empty route if nothing is selected
  • Undo last button throws error if nothing to undo
  • Add end icon for last point in route
  • After loading a route from the drop-down list it doesn't loads up a route on the map. It used to load the route when the load route button was on the map.
  • After saving a run, user has to manually refresh the page to update route drop down list in the run form. Fix this to auto refresh drop-down list each time user saves a route.
  • Fix big with Loop Route: sometimes takes alternate route when looping back to start. Clicking Undo Last should erase End Icon if no points are remaining.
  • Replace alerts in public/login.js and public/index.js with bootstrap modal or similar thing

Issues/ Learnings:

  • same id's in handlebar files like post-activity.js where distance id's for maps and run form were same
  • If user Loops Route then clicks "Undo Last", user has to undo each leg that was looped. Ideally it would undo the entire Loop Route function
  • API object didn't work for me in the post-activity.js. It'd throw API.xxx isn't function. I write that ajax call within my function where I called it.
  • After joining second routes table with user I would see error Routes.UserID can't be null. I had to switch to less strick SQL mode which fixed this issue. I added this line of code to our schema file: SET GLOBAL sql_mode='';
  • $ajax call didn't work in one of the files. It appeared that we were using slim version of jQuery which doesn't support ajax calling. I replaced it with this version:
    <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>

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.