Closed Bug 1061561 Opened 10 years ago Closed 9 years ago

[User Story] As a Helpee I can mark a comment as resolution of a discussion thread I created, so that I can notify the helper that I have an answer to my question and I stop receiving notifications..

Categories

(support.mozilla.org :: BuddyUp, defect, P2)

All
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

VERIFIED FIXED
2015Q1

People

(Reporter: RT, Assigned: rik)

References

Details

(Whiteboard: p=2 s=bu.2015.2)

User Story

As a Helpee I can mark a comment as resolution of a discussion thread I created, so that I can notify the helper that I have an answer to my question and I stop receiving notifications.

Acceptance criteria:
* A “Mark question as solved” button is displayed on each helper comment of a discussion thread a helpee created
* Pressing the “Mark question as solved” button prompts a new screen asking the helpee to confirm his choice. The helpee can confirm or discard to get back to the discussion thread.
* When a comment is marked as solving a question, the “Mark question as solved” buttons disappear and a new “Solution” tag gets displayed on the comment which was used to mark the discussion thread as resolved.
* When a comment is marked as solving a question, the “Receive comment notifications” checkbox gets disabled
* When a comment is marked as solving a question, the helper who posted the solving comment receives a notification
* When a comment is marked as solving a question, this comment is also market as helpful automatically
* When a comment is marked as solving a question, this action cannot be undone
* When a comment is marked as solving a question, this question then starts appearing on the suggested answers list  for helpees

Attachments

(1 file)

      No description provided.
User Story: (updated)
Summary: [User Story] As a Helpee I can mark as helpful a discussion thread I created, so that I can notify the helper that I have an answer to my question and I stop receiving notifications. → [User Story] As a Helpee I can mark a comment as resolution of a discussion thread I created, so that I can notify the helper that I have an answer to my question and I stop receiving notifications..
User Story: (updated)
Depends on: 1074955
The way this is implemented is changing. Instead of a dedicated "mark a solved" button, we repurpose the "mark as helpful" button in the following way: If the question asker marks a post as helpful, we count that as "mark as solved". For everyone else we'll continue counting the vote as a simple "mark as helpful".
User Story: (updated)
I believe the below is no longer relevant based on comment 1

* A “Mark question as solved” button is displayed on each helper comment of a discussion thread a helpee created
* Pressing the “Mark question as solved” button prompts a new screen asking the helpee to confirm his choice. The helpee can confirm or discard to get back to the discussion thread.
Flags: needinfo?(rtestard)
Assignee: nobody → schalk.neethling.bugs
Blocks: 1109633
Blocks: 1109642
Whiteboard: p=2
Status: NEW → ASSIGNED
(In reply to Schalk Neethling [:espressive] from comment #2)
> I believe the below is no longer relevant based on comment 1
> 
> * A “Mark question as solved” button is displayed on each helper comment of
> a discussion thread a helpee created
> * Pressing the “Mark question as solved” button prompts a new screen asking
> the helpee to confirm his choice. The helpee can confirm or discard to get
> back to the discussion thread.

Kadir can you clarify here. I believe your comment is now not applicable anymore but please confirm?
Flags: needinfo?(rtestard) → needinfo?(a.topal)
Whiteboard: p=2 → p=2 s=bu.2014.4
Yes, confirming. The relevant slide in the UX document is titled "Helpee - Mark My Question as Solved"
Flags: needinfo?(a.topal)
Status: ASSIGNED → NEW
Can we still comment on a question after it has been marked as solved?

Also I'm thinking we should automatically mark the comment with the solution as helpful. But that's just a thought.
Flags: needinfo?(rtestard)
And to follow on from Anthony's question, can one still vote for comments as helpful on a question that has been marked as solved? or is everything disabled.
Whiteboard: p=2 s=bu.2014.4 → p=2 s=bu.2015.1
Status: NEW → ASSIGNED
(In reply to Anthony Ricaud (:rik) from comment #5)
> Can we still comment on a question after it has been marked as solved?
> 
I think we should not or it will get very messy and we'll start getting into issues such as:
* Does this mean this should be treated as a new question? In this case we'd be better off letting the user submit a new question.
* Hard to read the flow, further comments may be asking for other things on a related subject.

I NI Hermina here to check if I'm not missing something here.
> Also I'm thinking we should automatically mark the comment with the solution
> as helpful. But that's just a thought.
Yes good idea, just updated the US
User Story: (updated)
Flags: needinfo?(rtestard) → needinfo?(hcondei)
(In reply to Schalk Neethling [:espressive] from comment #6)
> And to follow on from Anthony's question, can one still vote for comments as
> helpful on a question that has been marked as solved? or is everything
> disabled.
Users should be able to still vote for comments as helpful on a solved question. This will let users who search for questions provide feedback.

I made it clearer on the US of bug 1061559
Thanks, Romain! I agree, we should close the threads as soon as they are marked as solved. Unfortunately that will also remove any chance for the helpee to say "thank you", unless they did that before marking the thread as solved.
moving to next sprint
Whiteboard: p=2 s=bu.2015.1 → p=2 s=bu.2015.2
Priority: -- → P2
Target Milestone: --- → 2015Q1
Assignee: schalk.neethling.bugs → nobody
Status: ASSIGNED → NEW
Assignee: nobody → anthony
Status: NEW → ASSIGNED
Mike: Can you share the API endpoint to mark an answer as solving a question?
Flags: needinfo?(mcooper)
I'm not sure why I wasn't able to find this earlier, but here it is. The API view is here: https://github.com/mozilla/kitsune/blob/master/kitsune/questions/api.py#L202

This is an instance action on Question endpoints, and it takes an answer id as a parameter. To mark question 123 as solved by answer 456, the request would be this: (with authentication of course)

    http POST /api/2/question/123/solve/?answer=456

It should be the case that only the creator of a question can mark the question as solved.
Flags: needinfo?(mcooper)
So actually, we need to pass the answer field in the body instead of the query string.
(side note: linking to master is confusing because code evolves and the line you point changes. You can press 'y' on github to give you a link to the exact commit and not 'master')
Attachment #8557021 - Flags: review?(rdalal)
Comment on attachment 8557021 [details] [review]
https://github.com/mozilla/buddyup/pull/67

lgtm. works as expected! r+
Attachment #8557021 - Flags: review?(rdalal) → review+
https://github.com/mozilla/buddyup/commit/11fe2eab845015fda52b89975312e851b3982d12
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
I couldn't check this, due to another bug 1136045
Flags: needinfo?(a.topal)
As a helper I wasn't able to receive any notification when my comment was marked as resolution of the discussion thread.
Flags: needinfo?(hcondei)
Status: RESOLVED → VERIFIED
Flags: needinfo?(a.topal)
Flags: in-moztrap+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: