sciencemine / digital-signage

4 stars 0 forks source link

Data logging #111

Open HumbleHominid opened 7 years ago

HumbleHominid commented 7 years ago

Data about the user's path needs to be logged. A new path should start when a video is selected from the map view. A path should end when the application is reset to the map view. The data that should be logged is displayed below:

{
  nodes: [
    {
      id: "",
      prettyName: "",
      length: 0,
      timeWatched: 0,
      attributes: [
        {
          id: "",
          prettyName: ""
        }
      ]
    }
  ],
  edges: [
    {  
      fromVideo: "",
      toVideo: "",
      attribute: "",
      difficulty: 0
    }
  ]
}
HumbleHominid commented 7 years ago

Data logging should be mostly ready with https://github.com/sciencemine/digital-signage/commit/ea5d1c134b6aa583d4f2806cf7e97d006662a3c8. Needs to send data to restful backend that is still in development.

HumbleHominid commented 7 years ago

Data logging should occur when there is a null difficulty on an edge, i.e. a video is selected from the history or from the menu bar, in addition to when the application is reset.