Git Product home page Git Product logo

dashboard's People

Contributors

hopkinschris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashboard's Issues

Additional calories and steps are not getting synced for day (n-1)

Use Case

  • As of 5PM on Wednesday I have 1350 steps for the day.
  • I go to bed at 10PM on Wednesday and I haven't synced my Jawbone since 5PM.
  • I walk up at 8AM on Thursday and the scheduler task has been checking JawboneAPI every hour since midnight for new data for Thursday.
  • It isn't until I sync my band at 9AM on Thursday to which I add new data for that day which would most likely only be sleep and mood data.
  • The issue is that I'm also adding additional steps that were tracked for Wednesday between 5PM - midnight and not yet synced.
  • Because the scheduler task is only looking for new data for the new day it doesn't retroactively go back a day and add those unaccounted for steps to the previous day.

Mobile widget dragging is still enabled in portrait mode (iPhone)

The ability to drag widgets around should only be enabled on desktop. When a user hits the mobile version we should disable dragging. This works as expected in landscape mode on iOS, and responsively on desktop, but it doesn't work as expected on iOS in portrait mode.

I think this is indirectly locking up the screen for iOS users in portrait mode.

I'm suspecting it's related to the sleep widget chart animation taking a little while on mobile. Perhaps we should disable all chart animations on mobile for the sake of speediness?

Axes for steps and calories burned graphs

From HackerNews:

You should put some axes on the steps/calories burned graphs. The upper left time looks like the updated time, but is the graph time over the past hour, day?

Refactor dashboard_controller.rb and user.rb

Currently a user has no relationship with any of the other resources. We can indirectly simplify the dashboard_controller by adding such relationships. Intern we can just pass an instance of a user to the dashboard_controller and retrieve the necessary data we need.

Example:

class User < ActiveRecord::Base
    has_many :sleeps
end

class Sleep < ActiveRecord::Base
    belongs_to :user
end

Association Basics

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.