Achievements: Progress Bars, Streaks, and?

Ex: Weekly achievement/progress bar: spend 10 hours total coding in SQL!
Ex: Streak: spent <10 minutes on reddit each day for 5 days in a row!

Thoughts? Any related ideas?

I worked a bit on a “Goals” feature that could encompass stuff like this:

There’s also this “productivity score” PR:

I welcome more specific ideas about how to best implement such a feature.

I’ve read some research on things like TimeAware, which could help inform how to best design the feature to accomplish behavioral change.

1 Like

Thanks for contributing and its great that there is a starting point. I normally use python so I’m not sure how long it will be until I can contribute meaningfully.

If Python is your cup of tea you could build something like that using aw-client.

There are some examples in the examples/ directory which could be reworked to something basic like what you want, like this one:

For your two examples:

  • Example 1: Weekly achievement/progress bar: spend 10 hours total coding in SQL!
    • Query how much time was spent on the task today, and send email notifications with updates (new week, first hour of the week, first 5 hours, first 10 hours, etc)
  • Example 2: Streak: spent <10 minutes on reddit each day for 5 days in a row!
    • Query how much time was spent in a “reddit” cartegory for in the last 5 days, and send an email with how you’re doing.

I might throw something like that together myself…

1 Like

Awesome I’ll keep you updated

likewise let me know if you have the chance to spend time on it