TheOdinProject / theodinproject

Main Website for The Odin Project
http://www.theodinproject.com
MIT License
3.71k stars 2.07k forks source link

Feature: Admin v2 flag actions #4559

Closed KevinMulhern closed 3 months ago

KevinMulhern commented 3 months ago

Because:

This commit:

https://github.com/TheOdinProject/theodinproject/assets/7963776/09935734-0155-44de-867c-3a45b1e92504

KevinMulhern commented 3 months ago

Steps to QA, link to review app: https://odin-review-app-pr-4559.herokuapp.com/admin_v2/

  1. Sign in as a normal user
  2. Go to the recipes project
  3. Flag one of the submissions
  4. Sign in to /admin_v2
    • email: admin@odin.com, password: password123
  5. Visit the Flags page
  6. Select the most recent flag
  7. Click "Resolve flag", choose "Dismiss" and then click "Submit"
  8. A notice should appear "Flag dismissed" and a "Dismissed" badge should be under the flag heading
  9. The flag should be in the resolved list back on the Flag index page