Having unlocked a trophy should trigger re-checking achievements
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments Daemon |
Fix Released
|
Low
|
Rafał Cieślak |
Bug Description
Having unlocked a trophy should trigger re-checking achievements, because it is possible that some of them have been already completed.
Example case: I am a registered user on LP, and have already filled a bunch of bug reports.
I run the accomplishments system for the very first time. The "first bug reported" trophy is locked, therefore I get only the "registered on LP" trophy - which unlocks the "first bug reported" trophy. However, to get that one, I need to either use the "Check Accomplishments" command from the GUI app, or restart the daemon.
The daemon should check whether I have already completed the "first bug report" trophy automatically (without my inconvenience) as soon as the "registered on LP" accomplishment is validated.
Or, in other words, unlocking any new trophy should immediately trigger re-checking all available trophies.
Related branches
- Jono Bacon: Approve
-
Diff: 111 lines (+59/-0)1 file modifiedaccomplishments/daemon/api.py (+59/-0)
Changed in ubuntu-accomplishments-system: | |
milestone: | none → 0.1 |
affects: | ubuntu-accomplishments-system → ubuntu-accomplishments-daemon |
Changed in ubuntu-accomplishments-daemon: | |
milestone: | 0.1 → none |
milestone: | none → 0.1 |
Changed in ubuntu-accomplishments-daemon: | |
assignee: | nobody → Rafal Cieślak (rafalcieslak256) |
Changed in ubuntu-accomplishments-daemon: | |
status: | Confirmed → In Progress |
Changed in ubuntu-accomplishments-daemon: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-accomplishments-daemon: | |
status: | Fix Committed → Fix Released |
I think this makes sense. It would be useful if the script runner specifically runs the accomplishments that were unclocked to save re-running everything again.