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

Show Answer Details in Assessment Statistics Page (Part 2: Last Graded Answer (Forum Post Response, Programming)) #7131

Open
wants to merge 45 commits into
base: bivan/teacher-stats-past-answer
Choose a base branch
from

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    a03ecf8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    032071c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e08697 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00df536 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e918ec7 View commit details
    Browse the repository at this point in the history
  6. resolve grader and tailwind issue, refactor controller

    - when grader_ids does not exist within submission
    - className cannot be defined dynamically within defining component
    - reduce the cyclomatic complexity of marks_per_question API
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    2382024 View commit details
    Browse the repository at this point in the history
  7. refactor controller and pages for stats

    - move most functions in controller to concern
    - function to get mark cell classname out from component definition
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    055e373 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    086b71d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    609b2b5 View commit details
    Browse the repository at this point in the history
  10. refactor charts and ancestors

    - all codes into typescript
    - ancestors in chronological order
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    069d900 View commit details
    Browse the repository at this point in the history
  11. refactor assessment statistics page

    - split all chart components into different tabs
    - Change tab names to be more intuitive
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    997574c View commit details
    Browse the repository at this point in the history
  12. improve assessment statistics page UI

    - add toggle for phantom students inclusion setting
    - display submission status chart on top instead of separate tabs
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    603163a View commit details
    Browse the repository at this point in the history
  13. refactor types

    - change grade to totalGrade for submission
    - group courseUser and grader information
    - simplify type and interface definition
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    bdebbdd View commit details
    Browse the repository at this point in the history
  14. add feature for phantom in statistics

    - display GhostIcon for phantom students
    - refactor the props for includePhantom
    - sort table based on phantom value, then name
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    6f89042 View commit details
    Browse the repository at this point in the history
  15. add tests and fix behavior

    - test for assessment, ancestors, and marks_per_question controller
    - answers only passed on to view if workflow state is published
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    2681bd6 View commit details
    Browse the repository at this point in the history
  16. refactor assessment operations

    - split operations into several files depending on the object
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    99fdaa0 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    b688fa4 View commit details
    Browse the repository at this point in the history
  18. refactor assessment statistics

    - modify redux to support marks per question
    - change the flow of the pages
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    6ad03d4 View commit details
    Browse the repository at this point in the history
  19. cleanup redundant variables

    - remove all redundant types
    - remove some routes as being merged
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    6e89138 View commit details
    Browse the repository at this point in the history
  20. simplify controller and API Call

    - combine ancestor info and marks per question into main statistics
    - remove all unnecessary controllers
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    bb9a67b View commit details
    Browse the repository at this point in the history
  21. redefine types for assessment and statistics

    - get the types correct to support migration of stats page to tsx
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    6c39907 View commit details
    Browse the repository at this point in the history
  22. small modification for statisticsUtils function

    - make the reassignment of variable more consistent
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    1a30415 View commit details
    Browse the repository at this point in the history
  23. componentise common chart for ancestor and main assessment

    - both uses the same component but different sources
    - first get the necessary info, then display using common info
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    a3ac662 View commit details
    Browse the repository at this point in the history
  24. refactor ancestor assessment statistics chart

    - remove the data from redux as it's unnecessary
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    b8ad271 View commit details
    Browse the repository at this point in the history
  25. minor refactoring on redux store

    - remove statisticsPage
    - not include Phantom Students inside duplicated assessment stats
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    718d1d0 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    04fd3c4 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    b9b6afd View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    3c6d13c View commit details
    Browse the repository at this point in the history
  29. performance improvement and refactoring

    - use SQL to fetch all answers with all its relevant information
    - autograded definition to be at least one question autogradable
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    7883a8e View commit details
    Browse the repository at this point in the history
  30. resolve n+1 issue in group names and refactor

    - instead of sending group as list of names, now it's list of strings
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    98bca78 View commit details
    Browse the repository at this point in the history
  31. refactor(reference time): extract end_at from SQL

    for performance efficiency while getting statistics
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    cf96cb9 View commit details
    Browse the repository at this point in the history
  32. fix(statistics): show grade from last_attempt

    - previously, it's from current_answer. this will be wrong if current_answer is attempting
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    d304444 View commit details
    Browse the repository at this point in the history
  33. feat(statisticsTable): pass current answer ID to FE

    - make the grade and attempt count box clickable
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    45381c0 View commit details
    Browse the repository at this point in the history
  34. feat(statistics): render question details in each answer

    - each grade and attempt count cell is clickable
    - after clicking, the box containing question will appear
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    c27ab2f View commit details
    Browse the repository at this point in the history
  35. refactor(statistics): modify API to get answer

    - fetch question and answer details in one API
    - use Accordion for question to allow for collapsing question
    - include grade display inside answer box
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    39beed6 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    ff702a1 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    0cfec9d View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    a2fb2ff View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    9aa1f9a View commit details
    Browse the repository at this point in the history
  40. refactor(type): expose all question types for reusing

    - extend QuestionAnswerDetails to allow polymorphism
    - reuse existing answer type def for defining its mini version
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    f7caf48 View commit details
    Browse the repository at this point in the history
  41. feat(statistics): display answer for some question types

    - Multiple Choice
    - Multiple Response
    - Text Response (with/without attachments)
    - File Upload
    bivanalhar committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    755eb9b View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    5829efd View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    8419bdf View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    90a3d48 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    9e9c7a7 View commit details
    Browse the repository at this point in the history