Skip to content

feat: add Qualtrics Survey XBlock#15

Open
irtazaakram wants to merge 2 commits intomainfrom
add-xblock_qualtrics_survey
Open

feat: add Qualtrics Survey XBlock#15
irtazaakram wants to merge 2 commits intomainfrom
add-xblock_qualtrics_survey

Conversation

@irtazaakram
Copy link
Copy Markdown
Member

@irtazaakram irtazaakram commented Apr 7, 2026

This PR moved Qualtrics Survey XBlock from https://github.com/openedx/xblock-qualtrics-survey

Test Instructions

  • Installed xblocks-extra in the platform

  • Enabled the XBlock by adding:

    qualtricssurvey
    

    to Advanced Module List in Studio

  • Open Studio → navigate to any unit

  • Add Qualtrics Survey from Advanced Components

  • Configure the block with:

    • Display Name
    • Survey ID
    • University
    • Link Text
    • Message
    • (optional) Param Name for User ID
  • Save and Preview / View Live

Verification

  • Confirm the component renders correctly in LMS
  • Clicking the link redirects to the configured Qualtrics survey
  • Verified using a test survey created on Qualtrics (personal test account)

The original repository is being deprecated here: openedx/xblock-qualtrics-survey#252

Testing SS:
Screenshot 2026-04-09 at 12 56 18 PM
Screenshot 2026-04-09 at 12 56 29 PM
Screenshot 2026-04-09 at 12 56 55 PM
Screenshot 2026-04-09 at 12 57 06 PM
Screenshot 2026-04-09 at 12 58 11 PM

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 89.41176% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.01%. Comparing base (3c4c8d1) to head (daa763a).

Files with missing lines Patch % Lines
src/qualtricssurvey/views.py 85.00% 3 Missing ⚠️
src/qualtricssurvey/mixins/fragment.py 94.11% 1 Missing and 1 partial ⚠️
src/qualtricssurvey/mixins/scenario.py 77.77% 2 Missing ⚠️
src/qualtricssurvey/models.py 87.50% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #15      +/-   ##
==========================================
+ Coverage   83.33%   89.01%   +5.67%     
==========================================
  Files           1        6       +5     
  Lines           6       91      +85     
  Branches        1        4       +3     
==========================================
+ Hits            5       81      +76     
- Misses          0        8       +8     
- Partials        1        2       +1     
Flag Coverage Δ
unittests 89.01% <89.41%> (+5.67%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown

@farhan farhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XBlock Qualtrics Survey Migration

2 participants