Skip to content

Commit

Permalink
docs: add information for instructor dashboard integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Dec 4, 2023
1 parent b71c52a commit b6f743a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,23 @@ feedback.
.. |Scale where good is in the middle| image:: happy_sad_happy_example.png
.. |Numberical scale| image:: numerical_example.png

The instructors can view reports in their course instructor dashboard. The reports shows the count for every score, the average sentiment score, and the last 10 feedback comments.

To enable the FeedbackXBlock report in the instructor dashboard, add the following to the `openedx-common-settings` tutor patch:

.. code-block:: yaml
openedx-common-settings: |
FEATURES["ENABLE_FEEDBACK_INSTRUCTOR_VIEW"] = True
OPEN_EDX_FILTERS_CONFIG = {
"org.openedx.learning.instructor.dashboard.render.started.v1": {
"fail_silently": False,
"pipeline": [
"feedback.extensions.filters.AddFeedbackTab",
]
},
}
Getting Started
===============
Expand Down
2 changes: 1 addition & 1 deletion feedback/extensions/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def load_blocks(request, course):
"display_name": block.display_name,
"prompts": block.prompts,
"vote_aggregate": vote_aggregate,
"answers": answers,
"answers": answers[-10:],
"parent": parent.display_name,
"average_rating": average_rating,
"url": get_lms_link_for_item(block.location),
Expand Down

0 comments on commit b6f743a

Please sign in to comment.