Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New callbacks #283

Merged
merged 2 commits into from
Feb 6, 2025
Merged

New callbacks #283

merged 2 commits into from
Feb 6, 2025

Conversation

dqnykamp
Copy link
Member

@dqnykamp dqnykamp commented Feb 6, 2025

This PR adds new callbacks reportScoreAndState, documentStructure, and initialized callbacks, and removes the updateCreditAchieved callback. It also adds the ability to pass in initial state via the initialState prop.

The reportScoreAndState callback and initialState prop will prevent the corresponding SPLICE messages if they are present.

remove updateCreditAchieved callback and SPLICE.allPossibleVariants message.

bump version
Skip SPLICE state calls if corresponding prop/callbacks are present.
@dqnykamp dqnykamp merged commit 9730eac into Doenet:main Feb 6, 2025
3 checks passed
@dqnykamp dqnykamp deleted the callbacks branch February 6, 2025 23:13
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