TheOdinProject / theodinproject

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

Feature: Admin v2 flag details page #4470

Closed KevinMulhern closed 3 months ago

KevinMulhern commented 3 months ago

Because:

New UI for selecting choosing what action to take:

https://github.com/TheOdinProject/theodinproject/assets/7963776/e32d73d0-c120-4784-bb05-65163de38a61

Overall Page:

Screenshot 2024-04-01 at 17 05 42
KevinMulhern commented 3 months ago

Acceptance criteria for QA

Review app link - https://odin-review-app-pr-4470.herokuapp.com/admin_v2/flags

Create a flag:

  1. Log in as a normal user - kevin@odin.com, password
  2. Go to the recipes project solutions and flag one of the solutions.

View flag in admin v2:

  1. Visit /admin_v2 and sign in with admin@odin.com and password123
  2. Visit flags from the side nav
  3. There should be 1 active flags in the table
  4. View that flag by clicking on the view link

Note: Choosing an option to resolve a flag will show an alert for now. Getting those options working will be the next PR.

KevinMulhern commented 3 months ago

Thanks @zachmmeyer 💪