cugetreg icon indicating copy to clipboard operation
cugetreg copied to clipboard

[BACKLOG] Backoffice

Open bombnp opened this issue 2 years ago • 0 comments

Task Description

Reviews

Goal: visualize review content and change review status

  1. Display a list of pending reviews (may reuse component from main frontend)
  2. For each review, should have 2 actions: Approve or Reject
  3. If a review is approved, change review’s status to approved
  4. If a review is rejected, let us write the rejection reason, and then change review’s status to rejected
  5. Display summary data of all reviews
    • Number of all reviews
    • Number of approved reviews and rejected reviews
    • Number of reviews, grouped by faculty
    • Number of reviews, grouped by courseNo

GenEd

Goal: visualize current gened overrides and facilitate changing those data easily

  1. Display current courses with gened overrides, grouped by their gened types (SO, HU, SC, IN, and maybe more in the future)
  2. If given a course name/number, should be easy to find a course’s gened type.
  3. If given an excel sheet of all gened courses, should be easy to cross check
  4. Should be easy to change a course’s gened type, both one-at-a-time and in bulk.

Additional Context

For backend

Prioritize creating a new Nest app up and running first. Don't worry about authentication and guard just yet, since it involves Authentik.

For frontend

Prioritize creating a new Next.js app up and running. Try fetching data from production with getServerSideProps and render it in a component.

To fetch data from admin-protected queries, include an HTTP header Authorization with value Bearer ${ADMIN_TOKEN}, where ADMIN_TOKEN is a secret string in backend env. I'll give u the secret in DM.

Example

  1. Example GenEd sheet: https://docs.google.com/spreadsheets/d/1zJMi1tw6BGOvA-doYkDtvRkHyqY4s1vw/edit?usp=share_link&ouid=105342745800785928333&rtpof=true&sd=true
  2. Existing Appsmith UI image

Related Teams

  • [X] Frontend
  • [X] Backend
  • [ ] Data
  • [X] Design
  • [ ] Infra
  • [ ] QA

Task Advisors

@bombnp

Related Teams

  • [X] Frontend
  • [X] Backend
  • [ ] Data
  • [X] Design
  • [ ] Infra
  • [ ] QA

Task Advisors

@bombnp

bombnp avatar Feb 02 '23 15:02 bombnp