Skip to content

Mental rotation downex#400

Merged
zwatson2001 merged 16 commits intomainfrom
mental-rotation-downex
Nov 24, 2025
Merged

Mental rotation downex#400
zwatson2001 merged 16 commits intomainfrom
mental-rotation-downex

Conversation

@zwatson2001
Copy link
Copy Markdown
Collaborator

This PR adds new instructions for younger kids only with button animations based on this doc: https://docs.google.com/document/d/16ejc06AKF_nraSk5io8wegHaSbkK3OF6ALKLusSnjgg/edit?usp=sharing

pageStateHandler = new PageStateHandler(stim.audioFile, playAudioOnLoad);
} else {
throw new Error('Multiple audio files are not supported in this trial type');
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You can reformat this to:

if (typeof stim.audioFile !== 'string') {
 throw new Error('Multiple audio files are not supported in this trial type');
}
const pageStateHandler = new PageStateHandler(stim.audioFile, playAudioOnLoad);

Copy link
Copy Markdown
Collaborator

@asengupta3 asengupta3 left a comment

Choose a reason for hiding this comment

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

I think some of this PR reuses the logic from the other PRs, let's merge those and then clean this PR up? It might be easier to review that way?

@zwatson2001
Copy link
Copy Markdown
Collaborator Author

I think some of this PR reuses the logic from the other PRs, let's merge those and then clean this PR up? It might be easier to review that way?

Yeah that sounds good! It uses parts of the matrix reasoning changes - I just merged that PR, so I'll merge main into this branch and fix the conflicts.

Copy link
Copy Markdown
Collaborator

@asengupta3 asengupta3 left a comment

Choose a reason for hiding this comment

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

LGTM!

@zwatson2001 zwatson2001 merged commit 1902243 into main Nov 24, 2025
3 checks passed
@zwatson2001 zwatson2001 deleted the mental-rotation-downex branch November 24, 2025 18:11
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