aw-notify: achievements / streaks / trophies (split from #200)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- backend-api-design, mobile
Research direction
The issue is a design discussion for a new achievements system in aw-android, referencing aw-server and aw-notify. Start by reading the linked forum thread and the CHI paper to understand the gamification context. Examine the existing notification infrastructure in aw-android and the data query model from aw-server-rust to see how achievement conditions could be evaluated. 'Done' means a proposed design for storage, sync, and multi-device handling, not code.
Written by the indexing model from the issue text.
Description
Splitting this out from ActivityWatch/aw-android#200, per @ErikBjare's suggestion — the achievements/streaks/trophies direction is a distinct enough feature to track on its own rather than living inside the broader "smarter-than-thresholds" notifications thread.
Background
In #200 we compared anomaly-detection notifications (percentile/sigma above baseline) against a "coaching"/reward angle, and landed on achievements as a promising first step:
- Works with minimal history (a first occurrence is still a valid achievement) — unlike anomaly detection, which needs ~30 days of baseline before it's useful.
- Framing is additive/positive rather than corrective.
- "Trophy for best focus day this month" is more shareable/engaging than "you're 2σ above baseline."
- Fits the existing notification infrastructure (per-category historical time from aw-server) either way.
References:
- https://dl.acm.org/doi/10.1145/2858036.2858428 (ACM CHI — self-quantification + gamification, solid UX evidence)
- https://forum.activitywatch.net/t/achievements-progress-bars-streaks-and/1630 (existing community appetite)
- https://activitywatch.net/blog/future-of-time-tracking/ ("meaningful milestones" framing)
Open design questions (from @ErikBjare, carried over from #200)
- Storage: how do achievements get stored once conditions are met? Need references to which data sources were used, the time-range covered, and the source devices/buckets involved — not just a flat "achievement unlocked" flag.
- Multi-device: should each device have its own achievement store that overlays locally, or should achievements sync across devices?
- Sync as part of "settings"? Is settings-sync even supported yet?
- Or should achievements live in their own dedicated bucket (e.g. an
achievementsbucket)? Is that a good fit for the existing bucket/event model, or a bad one?
- Trophies should be collectable multiple times (e.g. per time-period — "best focus day this month" can recur), not one-shot unlocks.
Scope (not yet decided)
This issue is for continuing the design discussion — no implementation approach is locked in yet. Candidate shape: define achievement conditions declaratively, evaluate them against aw-server query results, surface via aw-notify, with the storage/sync model above still open.
cc @ErikBjare
- Dominant language
- Kotlin
- Stars
- 270
- Forks
- 57
- Avg merge
- 23h 47m
- Merged PRs (30d)
- 39
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ActivityWatch/aw-android
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ActivityWatch/aw-android#306 ·
Maintainers usually reply within 1 day
-
AuthSettingsActivity crashes on launch (InflateException: Material attributes under AppCompat theme)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ActivityWatch/aw-android#210 · 7 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ActivityWatch/aw-android#302 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
ActivityWatch/aw-android#300 · 6 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ActivityWatch/aw-android#296 ·
Maintainers usually reply within 1 day
All issues in ActivityWatch/aw-android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug webview
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
home-assistant/android#7524 ·
Maintainers usually reply within 1 day
-
Issue: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OpenAPITools/openapi-generator#25021 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
software-mansion/enriched-markdown#897 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
detekt/detekt#9761 · 1 comment · 2 reactions ·
Maintainers usually reply within 1 day