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

FE - Admin Features #597

Closed
20 tasks done
omerfaunal opened this issue Dec 12, 2023 · 3 comments · Fixed by #629 or #716
Closed
20 tasks done

FE - Admin Features #597

omerfaunal opened this issue Dec 12, 2023 · 3 comments · Fixed by #629 or #716
Assignees
Labels
difficulty: moderate Requires more than basic skills and knowledge, and may require research or collaboration to complete frontend priority: high This issue should be addressed as soon as possible. size: large Requires significant effort and may take several weeks to months to complete. type: implementation This issue is related to implementation

Comments

@omerfaunal
Copy link
Contributor

omerfaunal commented Dec 12, 2023

Issue Description

Admin Features

Steps

Hide Node Feature

  • Hide/Show button to node details page
  • Make available the button only for Admin
  • Throw 404 Page not found error for hidden node except admin
  • Get user type from backend
  • Connect to the backend

Ban-Unban Feature

  • Ban/unban button to profile page
  • Make available the button only for Admin
  • Throw 404 Page not found error for hidden node except admin
  • Get user type from backend
  • Connect to backend

Hide Q/A Feature

  • Hide/show button to questions/answers
  • Make available the button only for Admin
  • On pressed the questions won't be visible except admin
  • Get user type from backend
  • Connect to backend

Choose as a Reviewer Feature

  • Choose as a reviewer button to profile page
  • Make available the button only for Admin
  • Get user type from backend
  • Connect to backend

Final Check

  • Bug Fix

Deadline for the Issue

19.12.23 ~ 15.00

Updated Deadline

25.12.23 ~ 22.00

@Brunettow Brunettow added priority: high This issue should be addressed as soon as possible. size: large Requires significant effort and may take several weeks to months to complete. difficulty: moderate Requires more than basic skills and knowledge, and may require research or collaboration to complete type: implementation This issue is related to implementation labels Dec 15, 2023
@Brunettow Brunettow linked a pull request Dec 18, 2023 that will close this issue
@Brunettow
Copy link
Contributor

I wrote dummy question id to admin provider. This is just a reminder to me. It will be updated after I pull from frontend branch.(Question answer branch is just merged to the frontend branch)

@Brunettow
Copy link
Contributor

All the tasks (except question/answer admin features) are completed. Here are the button designs:
DeepinScreenshot_select-area_20231220013323

@Brunettow
Copy link
Contributor

Hide Nodes button:

DeepinScreenshot_select-area_20231220013632

@Brunettow Brunettow linked a pull request Dec 25, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: moderate Requires more than basic skills and knowledge, and may require research or collaboration to complete frontend priority: high This issue should be addressed as soon as possible. size: large Requires significant effort and may take several weeks to months to complete. type: implementation This issue is related to implementation
Projects
None yet
3 participants