Closed
Bug 1061587
Opened 10 years ago
Closed 10 years ago
[User Story] As a Helper, I can see my opened discussion threads at the top of the list of questions so that I can address them in priority.
Categories
(support.mozilla.org :: BuddyUp, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: RT, Assigned: rehandalal+mozilla)
References
Details
(Whiteboard: p= s=bu.2015.1)
User Story
As a Helper, I can see my opened discussion threads at the top of the list of questions so that I can address them in priority. Acceptance criteria: *Helper can select between “New” or “Active” to display 2 separate lists. This user story addresses the “active” list * Helper can go back to home screen * Helper can access the profile page from the “Answer a question” page * The “Active” list displays questions with the following characteristics: -The helper has commented on these questions in the past -Displayed in anti-chronological order - most recently updated on top -Grouped by day with a day indicator header -Each line shows the first X characters of the question followed by “...” if the question is above X characters, the submission time, the device of the helpee, the OS version of the helpee, the name of the helpee, the number of additional comments and a “solved” indicator if the question has been marked by the helpee as solved -Each line shows an indicator of activity (blue dot). This indicators is displayed when a comment has been posted on the question and has not been read by the helper. -Y messages are displayed as the helper reaches this screen, the next Y messages can be displayed if the helper presses the “Load more” button --The “load more” button is not displayed if there are no more messages to load -A “Sync” button allows re-syncing the question list displayed with the Y most recent messages on the server --An indicator shows when the last sync occurred --A sync is performed automatically as the helper reaches the list of questions -If there are no new questions, a message informs the user that there are no new questions
Attachments
(1 file)
No description provided.
Comment 1•10 years ago
|
||
Mike: Do you already have a way to provide this list? Or Can we do a query like this : "Give me all the questions where one of the answers was provided by user X"?
Flags: needinfo?(mcooper)
Comment 2•10 years ago
|
||
There isn't anything like this in the API yet. You could do a query like /api/2/answer/?creator={my_user_slug} and then scan that for questions. That's lame though. I think it's reasonable to be able to ask for all the questions you are involved in in an easy way.
Would it make sense to you to have a field in the API that lists the usernames of every participating in a question, and allow filtering on that? So something like this request, which asks for every question where the user with slug "mythmon" was involved:
http GET /api/2/question/?involved=mythmon
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1010153,
"creator": "Sumo_User",
<snip>
"involved": ["Sumo_User", "mythmon"],
}
],
}
This would imply that I had posted an answer in this question, since I'm not the creator, and I am involved. Does that make sense? Does that seem helpful?
Flags: needinfo?(mcooper)
Comment 3•10 years ago
|
||
Yes to this API :)
Comment 5•10 years ago
|
||
To clarify: opened discussion threads means: every thread the user was involved in.
Reporter | ||
Updated•10 years ago
|
User Story: (updated)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → rdalal
Updated•10 years ago
|
Whiteboard: p= s=bu.2015.1
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 6•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8549546 -
Flags: review?(anthony)
Comment 7•10 years ago
|
||
Can you run 'jshint app' and fix the issues mentioned?
Comment 8•10 years ago
|
||
Comment on attachment 8549546 [details] [review]
https://github.com/mozilla/buddyup/pull/58
Overall good direction. Some nits to fix. I think we can also factor the code a bit more. And there is a logic issue that causes us to load questions too often and mess up the spinner state.
I've suggested directions but they are up to discussion if you think of something else.
Attachment #8549546 -
Flags: review?(anthony)
Assignee | ||
Updated•10 years ago
|
Attachment #8549546 -
Flags: review?(anthony)
Comment 9•10 years ago
|
||
Comment on attachment 8549546 [details] [review]
https://github.com/mozilla/buddyup/pull/58
I have just two small things to change before landing: js- prefixed class name and a nicer promise usage.
Don't forget to squash after too. Thanks!
Attachment #8549546 -
Flags: review?(anthony) → review+
Comment 10•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Updated•10 years ago
|
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Flags: in-moztrap+
You need to log in
before you can comment on or make changes to this bug.
Description
•