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

Add live feedback storage and statistics #7497

Merged
merged 19 commits into from
Oct 24, 2024

Commits on Oct 22, 2024

  1. Configuration menu
    Copy the full SHA
    a78ee1b View commit details
    Browse the repository at this point in the history
  2. feat(live-feedback): add tables for storing live feeedback information

    New Tables:
    1. course_assessment_live_feedbacks
    2. course_assessment_live_feedback_code
    3. course_assessment_live_feedback_comments
    
    Related models have also been updated. These include:
    users
    course_assessments
    course_assessment_questions
    syoopie committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    ff5274b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. feat(live-feedback-stats): add backend

    add new route for getting live feedback stats
    add new live_feedback_concern
    refactored some code in assessments_controller as it was used for live feedback stats as well
    add new json return format for live feedback stats
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    2787b4b View commit details
    Browse the repository at this point in the history
  2. refactor(statistics): classNameUtils

    refactored for a wider range of usability
    fix erroneous comments
    add new function to get class for live feedback cells
    
    previously cells were coloured linearly based on a max number
    new colouring only applies this gradient to the lower 75% of the data
    upper 25% is all coloured the most intense shade of red
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    bca2905 View commit details
    Browse the repository at this point in the history
  3. feat(live-feedback-stats): add frontend

    add new tab to assessment statistics if live help is enabled for assessment
    add new types for live feedback statistics
    add call to new route for getting live feedback statistics
    
    refactor functionality for getting jointGroupsName
    refactor functionality for translating status
    
    both refactors have their commented out typescript equivalent left inside in file
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3cdd0f4 View commit details
    Browse the repository at this point in the history
  4. style(generate-live-feedback): remove unnecessary commented code

    this commit used to be to fix a breaking change from codaveri regarding categories,
    but the change has been made by another commit that is already merged
    the change has been removed from this commit during rebase and only other random changes are left
    
    remove some random commented code in codaveri-async-feedback-service
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    08662e3 View commit details
    Browse the repository at this point in the history
  5. feat(live-feedback): add live feedback saving

    add frontend logic for returning live feedback once retrieved
    add backend logic and routes for saving live feedback
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    36bdb51 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0ae2a99 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dc3b32d View commit details
    Browse the repository at this point in the history
  8. refactor(live-feedback-stats): add retrieval of question ids

    individual live feedback histories need this information to be retrieved
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    e0f8db0 View commit details
    Browse the repository at this point in the history
  9. feat(live-feedback-history): add FE and BE

    add dialog to show live feedback history on the live feedback statistics page
    add routes and backend for retrieving live feedback history
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    ae6fea0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c4aad24 View commit details
    Browse the repository at this point in the history
  11. refactor(assessments-factory)

    Change assessments factory to give unique question weights when creating questions
    
    This is to assist in live feedback tests as weights are needed to order the questions
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    91e49a6 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    5424b6c View commit details
    Browse the repository at this point in the history
  13. refactor(assessment-statistics): abstract translations

    abstract out the translations of some assessment stsatistics files
    add translations and localizations for the associated translations
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3d1c0e7 View commit details
    Browse the repository at this point in the history
  14. style(live-feedback): change translations

    - conform to new standard, all user facing "verbs" are  "Get Help"
    - "Get Help" will describe the act of getting live feedback
    - all other usage of the terms "Live Help" and "Get Help" will instead be "Live Feedback"
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    aeaa54a View commit details
    Browse the repository at this point in the history
  15. style(live-feedback-history): improve slider styling

    add custom slider with more visible marks and larger height
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    40e5d48 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c3bb395 View commit details
    Browse the repository at this point in the history
  17. perf(live-feedback-stats): reduce N+1

    - sql queries drop from 99 -> ~30
    syoopie committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    3e9ba1a View commit details
    Browse the repository at this point in the history