Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overview & Status #17

Open
33 of 38 tasks
vaheminasyan2 opened this issue Feb 8, 2019 · 0 comments
Open
33 of 38 tasks

Overview & Status #17

vaheminasyan2 opened this issue Feb 8, 2019 · 0 comments
Assignees

Comments

@vaheminasyan2
Copy link
Owner

vaheminasyan2 commented Feb 8, 2019

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants