Skip to main content

An Open edX plugin that adds a per-block “Send feedback” trigger to applicable leaf blocks in the LMS via an XBlockAside. The trigger is shown only to authenticated learners (never in Studio author/preview mode and never to anonymous users).

When a learner clicks the trigger the aside posts an ol-feedback::drawer-open message to its parent window (the Learning MFE) using window.parent.postMessage. The message payload carries the block context needed to identify the content being rated:

  • courseId — the course key

  • blockUsageKey — the block’s usage key

  • blockType — the XBlock category (e.g. problem, video)

  • blockDisplayName — the block’s display name

The Learning MFE receives the message and opens the feedback drawer, which submits the learner’s feedback directly to the mit-learn service. This plugin does not persist anything in edx-platform and exposes no REST API.

Version Compatibility

For this plugin’s compatibility with Open edX, see the Open edX Release Compatibility table.

Installation

Install the package into the LMS Python environment:

pip install ol-openedx-feedback

The plugin registers itself automatically through its entry points — the xblock_asides.v1 aside plus the lms.djangoapp app config — so no changes to INSTALLED_APPS are required. Restart the LMS after installing. (The trigger is learner-facing only, so the plugin is LMS-only and is not installed in Studio/CMS.)

Enable XBlock asides in the LMS admin

XBlock asides must be turned on for any aside (including this one) to render. In the LMS Django admin, open XBlock Asides Config (/admin/lms_xblock/xblockasidesconfig/), add a new entry, and check Enabled. Make sure the block types you want the feedback trigger on are not listed in Disabled blocks (the space-separated field defaults to about course_info static_tab).

Enablement

Feedback is gated by the ol_openedx_feedback.feedback_enabled course waffle flag (default off). Enable it for the desired courses (or globally) to roll out.

Configuration

Excluded block types

By default the trigger renders on every leaf block and is suppressed only on structural containers (course / chapter / sequential / vertical). To additionally exclude one or more block types (for example html), override the excluded set through ENV_TOKENS (e.g. in lms.yml):

OL_OPENEDX_FEEDBACK_EXCLUDED_BLOCK_TYPES:
  - course
  - chapter
  - sequential
  - vertical
  - html

The plugin reads this value via its settings.common plugin_settings hook and exposes it as the OL_OPENEDX_FEEDBACK_EXCLUDED_BLOCK_TYPES Django setting, defaulting to the structural set above when unset.

Text label

The trigger shows only the megaphone icon by default. To also render the “Feedback” text label beside it, enable it through ENV_TOKENS:

OL_OPENEDX_FEEDBACK_SHOW_LABEL: true

This is exposed as the OL_OPENEDX_FEEDBACK_SHOW_LABEL Django setting via the same plugin_settings hook, defaulting to false (icon-only) when unset.

Metadata

Release files for ol-openedx-feedback 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ol-openedx-feedback 0.3.0
File Size Uploaded Provenance Actions
ol_openedx_feedback-0.3.0.tar.gz 8.2 kB Without provenance Details for ol_openedx_feedback-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ol-openedx-feedback 0.3.0
File Interpreter ABI Platform Actions
ol_openedx_feedback-0.3.0-py3-none-any.whl Python 3 none any Details for ol_openedx_feedback-0.3.0-py3-none-any.whl

Total release size: 19.8 kB

Release files / ol_openedx_feedback-0.3.0.tar.gz

Download URL ol_openedx_feedback-0.3.0.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a267324f545c3560b9ba5c7d966a789a7b07f27924742d4d1982662a3c376646
BLAKE2b-256 checksum
How to use checksums
8b9d4a3f95f76a658f83d941934e4829ad70a75faa607809a1ed1d9aab7db55d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / ol_openedx_feedback-0.3.0-py3-none-any.whl

Download URL ol_openedx_feedback-0.3.0-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec6de52cc01b7da5b25ca232d4c954c60c743fa010d5f520ebf9eec9475b9e17
BLAKE2b-256 checksum
How to use checksums
f42c1874ad7ed6ca16a043087fdb84faebd2747ad8c3ae667def5709348fc70e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for ol-openedx-feedback 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page