Skip to content

Conversation

@danielghost
Copy link
Contributor

Fixes #526.

Fix

  • Exclude non-trackable models from checkCompletionStatusFor.

New

  • Added getAvailableTrackableChildModels to return only _isAvailable: true and _isTrackable !== false models.

@danielghost danielghost added the bug label May 3, 2024
@danielghost danielghost self-assigned this May 3, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

👀

Copy link
Contributor

@joe-allen-89 joe-allen-89 left a comment

Choose a reason for hiding this comment

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

👍

@oliverfoster
Copy link
Member

oliverfoster commented Jun 2, 2024

_isTrackable should not be intertwined with completion or optionality, please fix this in trickle rather than core.

Whether something is saved to the lms or not has nothing to do with whether it's complete or optional.

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

Labels

Projects

Development

Successfully merging this pull request may close these issues.

checkCompletionStatusFor doesn't complete if model and its children are optional and trickled

7 participants