Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Report Quest functionality #46

Closed
karastoyanov opened this issue Mar 30, 2024 · 4 comments · Fixed by #84 or #85
Closed

Implement Report Quest functionality #46

karastoyanov opened this issue Mar 30, 2024 · 4 comments · Fixed by #84 or #85
Assignees
Labels
backend Flask functionality database PostgreSQL Database enhancement New feature or request frontend Frontend

Comments

@karastoyanov
Copy link
Owner

Implement Report Quest functionality which allows regular users report a specific quest. Reported quests should be stored in a separate db table. A edit form should be implemented as well

@karastoyanov karastoyanov added enhancement New feature or request database PostgreSQL Database backend Flask functionality frontend Frontend labels Mar 30, 2024
@karastoyanov karastoyanov added this to the Version 1.3-prerelease milestone Mar 30, 2024
@rayapetkova rayapetkova self-assigned this Mar 30, 2024
@rayapetkova
Copy link
Collaborator

Last commit: 11e3644

  • Added new table "reported_quests" with two fields - quest_id and report_status
  • When the user clicks "Report Quest" a new route is called. In this route a new record in the reported_quests table is being created

@rayapetkova
Copy link
Collaborator

Last commit: 9935051

  • Added links for every task in the reported_quests table
  • When someone of the admins clicks the name of the reported quest he is being redirected to a page where he can edit information about the quest
  • There are two added radion buttons - In Progress and Resolved. When the admin finishes editing a quest he needs to check one of the two radio buttons. Then the report_status changes

This is what the radio buttons look like:
Image

To do:

  • The CSS needs to be changed
  • Add a new field to the reported_quests table which is "user_id" or something like that so we know who has reported the quest

@rayapetkova
Copy link
Collaborator

Last commit: 17d156c
Report quest functionality is working properly.

  • Added a textfield in which the user can write down the reason why he is reporting a particular quest

To do:

  • CSS needs to be changed!

@rayapetkova
Copy link
Collaborator

Last commits: 008b090, c36d379, 3272dcc

Report quest functionality implemented ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Flask functionality database PostgreSQL Database enhancement New feature or request frontend Frontend
Projects
None yet
2 participants