Skip to content

SajidQ/DailyTracker

Repository files navigation

DailyTracker

Welcome!

DailyTracker is an online planning dashboard for tracking days by half-hours and managing goals throughout the year using the Google Calendar API. This is a side project I created for personal experience and use.

alt text

Usage

Using the dashboard

To use the dashboard you can click on the above link which will take you to the version that is hosted on my website. Additionally, you can fork the code and host it locally yourself. To do this you need to remove the line "" from index.html, create an account with Google Calendar API, and replace the value of the variable 'CLIENT_ID' in the HandleAPIInteraction service with your own api id.

Using the code

The code structure should be self-explanatory. To get started check out index.html and script.js. Each page has it's own controller (in the controllers/ folder).

To Do List

  • Add angular 2/25/17
  • Change screen based on Authorization 2/26/17
  • Setup UI to show today by hours 2/28/2017
  • Get items for today 3/1/17
  • Get list of calendars 3/2/17
  • Check if DailyTracker calendar is a part of list, if not add it 3/4/17
  • Save user's input in list to calendar 3/4/17
  • Update existing event, do not rewrite 3/5/17
  • Grab all the tasks from the DailyTracker and show on the hourly today list. 3/5/17
  • Grab tasks from other calendars and layer it on top of hourly today list and show on timeline
  • Add hidden Daily goal event 3/7/17
  • Load and show daily goals in goals section 3/8/17
  • Add signin permissions to routing

Ideas

  • Switch to a start/stop tracker?
  • Look in to using Google App Storage for goals and habit tracking
  • Look into saving user emotions day by day? Or by hour?
  • Look into connecting with Amazon for purchases? Or youTube watch history?
  • Make a plan your month?
  • Make a plan your week?
  • Plan your year 3/20/17

Notes

Week of 3/20/17

3/26/17 - I'm going to push this project off to the side so I can work on learning some other stuff. I do plan to work on it from time to time so I can add features like a section for planning for tomorrow, another page to plan for the month or maybe week, some habit tracking thing, some sort of mood tracking, and possibly metrics.

Week of 3/6/17

3/6/17 - Added to do items related to showing the daily, monthly, and yearly goals.

3/8/17 - Organization: HandleAPIInteraction: handles all communication with gapi?

-checkDailyTrackerCalendarExists: actually checks if the DailyTracker calendar exists but should should it call getToday?

-getToday needs to be able to look through events for the day to check for the "DailyGoal" event since no other way to find that specific event through the api. How should the DailyGoal event summary be parsed? Right now it calls the

-getFirstOfMonth: To create. This needs to be able get the first for any month, grab the habit and goal events

-getFirstOfYear: To create. This needs to be able get the first of any year and grab the year goal

HandleToday

handleGoals: For All the goals?

Need code clean up with routing. What is the objective with this app? Is it a one stop stop of managing goals? Working on adding routing and possibly around the whole

Week of 2/27/17

3/2/17 - It seems like a better idea to add a calendar labeled DailyTrackerJS so it doesn't interfere with other calendars the user has. In addition, it might be better to show a layering of the other tasks from the calendar? Tasks to add: get list of calendars, check if DailyTracker calendar is a part of list, if not add it, grab all the tasks from the DailyTracker and show on the hourly today list. Additionally, grab tasks from other calendars and layer it on top of hourly today list.

3/1/17 - Adding in another js file for services in order to keep the mainCtrl clean.

2/28/17 - Worked on cleaning up and showing the hours. I'm having a hard time imagining the design with goals, the hourly display of today and tomorrow, and the habits. I really want to add things like habit-tracking and maybe connect to Wunderlist. The current index.html page is likely to become a dashboard page with the other header links providing more editing features for lists..?

Week of 2/20/17

2/26/17 - Goal: Change what's shown on the screen based on authorization. Start setting up the UI for Today (hourly) and the Goals.

2/25/17 - This is a project to play around with JS, angularjs, but mostly the Google Calendar API. Additionally, I'm planning to use this to maybe track goals outside of journaling using one location, google calendar.

The initial objective is to show the 24hours of today and tomorrow broken up in 30min intervals. This will also enable users to write yearly, monthly, weekly goals.

Objective: Have goals and action in one place?

About

DailyTracker is an online planning dashboard for tracking days by half-hours and managing goals throughout the year using the Google Calendar API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published