open-api icon indicating copy to clipboard operation
open-api copied to clipboard

Inactive Days

Open imcodingideas opened this issue 7 years ago • 3 comments

Describe the solution you'd like

On the repo https://github.com/freeCodeCamp/classroom-mode we are scraping Free Code Camp for the users inactive days, so I would like to query a user and see a timestamp of the last submission.

imcodingideas avatar May 26 '18 03:05 imcodingideas

Sounds completely reasonable to me.

ojongerius avatar May 26 '18 21:05 ojongerius

How we approach this would be related to the solution agreed on in #181

  • Without storing of solutions, add lastSubmission to the user model, and have responsible functions set/update the timestamp.
  • If we do keep on storing solutions, well it depends on the implementation chosen 😄

ojongerius avatar May 27 '18 21:05 ojongerius

(blocked on discussion in #181)

ojongerius avatar May 27 '18 22:05 ojongerius