ProgrammingPhilippines / progphil-bot

Programming Philippines Discord Bot
MIT License
23 stars 6 forks source link

Mark Reply as Solution #227

Open kylecdrck opened 8 months ago

kylecdrck commented 8 months ago

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

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 "\ 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