Skip to content

Add useSingleList setting to reorder/parsons questions - #812

Open
sjd210 wants to merge 6 commits into
mainfrom
improvement/reorder-single-list-setting
Open

Add useSingleList setting to reorder/parsons questions#812
sjd210 wants to merge 6 commits into
mainfrom
improvement/reorder-single-list-setting

Conversation

@sjd210

@sjd210 sjd210 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

useSingleList is a boolean value to enable reordering reorder/parsons questions in-place rather than between lists.

All items must be required in answers for a single list to work (except when using subset matching, which only reorder questions support), so this adds a corresponding content error for both question types.

Also clarifies wording for questions not using useSingleList to help users understand that they must move items into the answer list.

Comment thread src/main/java/uk/ac/cam/cl/dtg/segue/etl/ContentIndexer.java Fixed
@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 28.57143% with 20 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@6c79480). Learn more about missing BASE report.
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...ava/uk/ac/cam/cl/dtg/segue/etl/ContentIndexer.java 0.00% 8 Missing and 2 partials ⚠️
.../ac/cam/cl/dtg/isaac/dos/IsaacParsonsQuestion.java 33.33% 2 Missing ⚠️
.../ac/cam/cl/dtg/isaac/dos/IsaacReorderQuestion.java 33.33% 2 Missing ⚠️
...c/cam/cl/dtg/isaac/quiz/IsaacParsonsValidator.java 33.33% 1 Missing and 1 partial ⚠️
...c/cam/cl/dtg/isaac/quiz/IsaacReorderValidator.java 33.33% 1 Missing and 1 partial ⚠️
.../cam/cl/dtg/isaac/dto/IsaacParsonsQuestionDTO.java 66.66% 1 Missing ⚠️
.../cam/cl/dtg/isaac/dto/IsaacReorderQuestionDTO.java 66.66% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #812   +/-   ##
=======================================
  Coverage        ?   40.95%           
=======================================
  Files           ?      550           
  Lines           ?    23578           
  Branches        ?     2842           
=======================================
  Hits            ?     9656           
  Misses          ?    13048           
  Partials        ?      874           

☔ View full report in Codecov by Harness.
📢 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.

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.

2 participants