Skip to content

Mark Reply as Solution #227

Open
@kylecdrck

Description

@kylecdrck

As a

User

I want to

Mark a user's reply as the accepted solution in my post

In order to

Help readers know what helped me fix or solve the problem


Acceptance Criteria

  • The author must be able to mark a reply (except the original post) as the accepted solution by opening the context menu of the selected post and selecting an option in a sub-menu (See notes)
  • The feature must be included with the /forum-assist flow (See notes)
  • If a reply is marked as the accepted solution, the PPH bot should react a ✅, pin the accepted solution, and create a reply mentioning the accepted solution (See notes)
  • There can only be one accepted solution in a thread. If another reply is marked as the accepted solution, the previous one should be unmarked (Remove react and pin)
  • If a solution has been marked as a solution, the bot will reply with a mark as solved button for an easy closing of the thread (See notes)

Notes

Context Menu Implementation

  1. Author rights click (click & hold on mobile) the reply to be marked as the accepted solution
    image
  2. Author clicks on the Apps sub-context menu
    image
  3. Author clicks on Accept Solution (To be added)
  4. Author is presented with a confirmation modal with the message Would you like this reply as the solution? This cant be undone with a Yes or No option

Updated Forum Assist Flow

  1. /forum-assist new
  2. Configure Post Assist: Select forum
  3. Post Assist Message
  4. Select member/roles
  5. Set Tag Message
  6. Enable Accept Solution* (To be added)

Reply is marked as an accepted solution

  1. User triggers Accept as Solution event
  2. User confirms
  3. Bot reacts ✅ to the accepted solution
  4. Bot pins the accepted solution
  5. Bot replies "<author> marked this post as the solution to this post"
  6. Bot replies with a Mark as Solved button

Reply a Mark as Solved button

  1. May be ephemeral or not

Points

15

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Testing

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions