Skip to content

[BB-10523] Add Reset to each node and change "Undo" text#9

Merged
farhaanbukhsh merged 3 commits intomainfrom
pooja/bb-10523-changes
Feb 9, 2026
Merged

[BB-10523] Add Reset to each node and change "Undo" text#9
farhaanbukhsh merged 3 commits intomainfrom
pooja/bb-10523-changes

Conversation

@pkulkark
Copy link
Member

@pkulkark pkulkark commented Feb 6, 2026

Description

This PR makes the following changes:

  1. Replaces the "enable hint" settings with "enable reset" - This change was designed as part of the RenPy Designs but adding it here as per the request.
  2. Rename "Undo" to "Go Back" - This was also included in the RenPy Designs but adding it here as requested.
  3. Display "Reset" button on all nodes except the first one.

Supporting Information

OpenCraft Internal Jira task: BB-10523

Testing Instructions

  1. Deploy this branch of the XBlock.
  2. Set up a few nodes with hints and few without hints.
  3. Verify that adding hints results in hints showing up in LMS, otherwise it doesn't.
  4. Enable reset option in settings and confirm that "Reset" button shows up on all nodes except the first one.
  5. Verify that clicking "Reset" clears the state and user returns to the first node.

Copy link
Member

@farhaanbukhsh farhaanbukhsh left a comment

Choose a reason for hiding this comment

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

👍

✅ I tested this on Tutor devstack

  • Tested reset functionality
  • Tested back with reset
  • Tested back without reset
  • Tested reset without back
    ✅ I read through the code
    ✅ I checked for accessibility issues
    ❌ Includes documentation

@farhaanbukhsh farhaanbukhsh merged commit 067ffe4 into main Feb 9, 2026
6 checks passed
@pkulkark pkulkark deleted the pooja/bb-10523-changes branch February 9, 2026 14:28
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