Skip to content

APPS-3854 Fix duplicate choice option selection#996

Open
XanderZhu wants to merge 1 commit into
developmentfrom
feature/APPS-3854
Open

APPS-3854 Fix duplicate choice option selection#996
XanderZhu wants to merge 1 commit into
developmentfrom
feature/APPS-3854

Conversation

@XanderZhu

Copy link
Copy Markdown
Contributor

Summary

  • Give choice quiz options stable slot-based ids instead of using option text as identity
  • Select/toggle choice options by their slot id so duplicate labels do not collapse to the first matching option
  • Add regression tests for duplicate options, repeated mapping, and submitted choice restoration by slot

Tests

  • ./gradlew :app:testDebugUnitTest --tests org.stepik.android.view.step_quiz_choice.ChoiceStepQuizOptionsMapperTest
  • ./gradlew :app:testDebugUnitTest

Issue

https://youtrack.stepik.net/issue/APPS-3854

@XanderZhu XanderZhu self-assigned this Jun 23, 2026
@XanderZhu XanderZhu changed the base branch from master to development June 23, 2026 16:27
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.

1 participant