Closed Bug 1225172 Opened 10 years ago Closed 10 years ago

Create Recent Contributors module

Categories

(Mozilla QA Graveyard :: One and Done, defect, P1)

Version 3
defect

Tracking

(Not tracked)

VERIFIED FIXED
Milestone 3

People

(Reporter: rbillings, Assigned: bsilverberg)

References

Details

For the 3.1 milestone, we would like to create a Recent Contributors module. This will display on the front page of the tool, and will show a maximum of 4 recent users. This will poll for the last 4 people who started a task. It is not based on whether or not they completed it. It will be 4 unique users, and the blurb will display their name and a link to their profile. Specifications are here: https://wiki.mozilla.org/QA/OneandDone/v3.1_wireframes
Thanks Rebecca. The logic seems sound to me. Just to confirm, along with implementing this new feature we are also going to remove the leaderboard, correct?
Target Milestone: Milestone 1 → Milestone 3
Blocks: 1214319
Correct. Also, this should be in Version 3 Milestone 1 as that is the current spec level- is there a reason to move it to milestone 3?
Rebecca, I have started working on this and am wondering, do you think we should take the 4 users who most recently started a task (as you've described above) or the 4 users who most recently did _something_ with a task? For example, what if someone recently completed or abandoned a task? Should that count as recent activity, or should it only look at people who have recently *started* a tasK?
Flags: needinfo?(rbillings)
Excellent point, if it doesn't vastly increase the scope being able to tell if they recently completed a task, that would be great. Abandoned not so much. If there's no way to distinguish between the two, let's have a meeting to discuss.
Flags: needinfo?(rbillings)
I can do this, but there is one wrinkle that I didn't anticipate. Currently, each task attempt has a single status, either Started, Finished, Abandoned or Closed. This means that there is no way of knowing the previous status of an attempt, nor when the previous status was set. What I mean by this is that if someone starts a task on Jan 1 and then abandons it on Jan 3, we have no way of knowing that that task, which is now abandoned, was started on Jan 1, so they wouldn't get credit for that in terms of recent contributors. Basically, if a task is abandoned it won't count at all in terms of recent contributors. This may be fine, but you may want to discuss it. The way I am proposing it will work is this: only tasks with a current status of either Started or Finished will be counted, and the date used to check for recency will be the Start Date and Finish Date respectively.
Started & Finished sounds perfect- ideally the contributor list will update frequently enough that those two status categories will be plenty.
Thanks Rebecca. I have pushed the new code to https://oneanddone-dev-pr-303.herokuapp.com/ if you want to check it out and give me any feedback on any changes you'd like to see before it gets committed.
Verified on pr 303 that starting and finishing tasks updates the recent contributor status.
This was fixed via https://github.com/mozilla/oneanddone/commit/96a1810dc74ba2f1ca4231fe0140f220bbc3a56e Changes are up on dev, stage and prod
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Great to see this live!
Status: RESOLVED → VERIFIED
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.