Closed Bug 612935 Opened 14 years ago Closed 14 years ago

Show how many responses each tweet has and which user responded first

Categories

(support.mozilla.org :: Army of Awesome, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: williamr, Assigned: wenzel)

References

()

Details

Using the replies stored the database from bug 612931, show how many responses each tweet has in the tweet list. Show the username of the first person to respond, followed by the number of other replies. If no one has replied, the tweet should be labeled as "0 Replies".

Special case: As mentioned in bug 612929, if the signed in user has replied to a tweet, it should say "You and X others replied". This overrides the rule that we show the username of the first person who replied.

Examples:
-"0 Replies"
-"dailycavalier and 1 other replied"
-"You and 2 others replied"

The number of responses should be updated from the database whenever the user clicks the refresh button or reloads the pages.

This mockup shows the styling and use cases:
http://people.mozilla.com/~williamr/communitycare/mockups/armyofawesome_231a.jpg
Here's some code for this:

https://github.com/fwenzel/kitsune/compare/master...cc-who-replied-612935

jsocol: r?

Note this does not contain anything about "You" yet, that's bug 612929, which I will tackle next.
Status: NEW → ASSIGNED
Thanks, James. https://github.com/jsocol/kitsune/commit/8e6a272
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: 2.3.1 → 2.3.2
Verified 0 replies, username and 1 other replied, you and x replied. Opened new bug for username displaying most recent responder instead of the first responder: bug 617418
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.