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

Create Admin Page frontend #67

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from

Commits on Jun 2, 2024

  1. Configuration menu
    Copy the full SHA
    169a92e View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. feat: initialise admin-page

    create dummy data to display
    create PDFtable and PDFListElement components
    create IAdminResult interface
    Majestic9169 committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    296487d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    80d6869 View commit details
    Browse the repository at this point in the history
  3. feat: add approve/reject functionality

    left click to approve, click again to mark pending
    right click to reject, click again to mark pending
    alt + z toggles edit mode
    next task is to add keyboard shortcuts for approve/reject and move autofocus in a convenient way, then i will get started on styling, sorting, and filtering
    Majestic9169 committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    f257382 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2024

  1. feat: add dropdown menu for course_codes

    used solid-select library
    took me forever to realise that I needed the createOptions thing
    looking further is adding dropdown for course_names in such a way to validate input with course_codes
    Majestic9169 committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    2502fdb View commit details
    Browse the repository at this point in the history
  2. feat: add dropdown input to course_names

    need help with validating input between course_codes and course_names
    adding dropdown input to remaining inputs next
    Majestic9169 committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    3e99bc1 View commit details
    Browse the repository at this point in the history
  3. feat: add dropdown input for years

    fix: remove isEditable mode, will be replaced soon
    year dropdown input shows every year since 1951, easy to customise
    Majestic9169 committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    fb7e0cd View commit details
    Browse the repository at this point in the history
  4. feat: add dropdown functionailty wherever required

    need to style table more
    need to fix the trash approve/reject workflow
    need to figure out how to validate the input/output with solid-select
    Majestic9169 committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    f25ab6a View commit details
    Browse the repository at this point in the history
  5. feat: style table a little decently,

    need to style focused element to be more visible, couldn't figure out solid-select styling
    removed the coursesSelectMenu component because it was redundant
    next would be sorting capability ig because I think I have an idea of how to fix that
    Majestic9169 committed Jun 12, 2024
    Configuration menu
    Copy the full SHA
    2aee86f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2020b61 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. feat: update file naming convention to better reflect question paper …

    …details
    
    leads to fix: questionpaper year is being updated now
    Majestic9169 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    bdcc5c6 View commit details
    Browse the repository at this point in the history
  2. feat: added ability to sort table

    logic looks a little complicated rn, will try to simplify
    looking into making table elements searchable
    still need to make good approve/reject mechanism
    Majestic9169 committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c752a85 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2024

  1. Configuration menu
    Copy the full SHA
    f2ed571 View commit details
    Browse the repository at this point in the history
  2. feat: create getCodeFromCourse function used to validate and match in…

    …put when selecting course or code
    Majestic9169 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    cfda5c8 View commit details
    Browse the repository at this point in the history
  3. feat: add some styling to identify focused element

    however I am still unable to style it the way I want, I would like to change the background of the input but for some reason that hides the text too. Help would be appreciated
    Majestic9169 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    319e80b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    04b445e View commit details
    Browse the repository at this point in the history
  5. feat: add efficient approve/reject mechanism

    I NEED HELP WITH STYLING, THE STYLING AFTER BEING DISABLED IS TRASH AND I CAN'T FIX IT
    Majestic9169 committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    6573b91 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. fix: simplify approve/reject to boolean

    this replaces the approvalStatus type to boolean
    every paper is rejected by default unless approved
    this was done beacuse agile senapati said so
    Majestic9169 committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    01f08a7 View commit details
    Browse the repository at this point in the history
  2. feat: add a navbar and a space to display the current logged in user

    not sure how the oauth is working so haven't created any functions
    Majestic9169 committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    fdd6600 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42ace0c View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    2fb2586 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5914320 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a9ac6e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    54190b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3e0de42 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    94d1321 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    12583a6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    2d3bad5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f57c7ad View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    108c3b0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4feb80e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5d5fc97 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f0155e1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2b1e25a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c8fdb1b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7a90ade View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4ee3a3e View commit details
    Browse the repository at this point in the history