Skip to content

Stroop task timeline#69

Open
lakshmanvishnu wants to merge 40 commits intojspsych:mainfrom
lakshmanvishnu:stroop_task
Open

Stroop task timeline#69
lakshmanvishnu wants to merge 40 commits intojspsych:mainfrom
lakshmanvishnu:stroop_task

Conversation

@lakshmanvishnu
Copy link

@lakshmanvishnu lakshmanvishnu commented Jul 22, 2025

Opened a new branch of my forked repo which only has the stroop task timeline.

@changeset-bot
Copy link

changeset-bot bot commented Jul 22, 2025

🦋 Changeset detected

Latest commit: 81d8499

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

Choose a reason for hiding this comment

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

there's an array shuffle in jsPsych.randomization - we should use that instead so there's not duplicate instances in the codebase

@lakshmanvishnu
Copy link
Author

add flexible button positioning for main trials

@jadeddelta jadeddelta mentioned this pull request Sep 16, 2025
}

// Add practice debrief
timeline.push(createPracticeDebrief());
Copy link
Contributor

Choose a reason for hiding this comment

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

bug: if practice_trials = 0, there is still shown a practice complete! screen after instructions.

to fix, just wrap with if (practice_trials > 0) { timeline.push(createPracticeDebrief());


// Add createCelcomeAndInstruction function
if (show_welcome_and_instructions) {
timeline.push(createWelcomeAndInstructions(choice_of_colors));
Copy link
Contributor

Choose a reason for hiding this comment

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

change to createInstructions() per standardization

Copy link
Contributor

Choose a reason for hiding this comment

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

make sure to change in docs too lol

@farhat60
Copy link
Contributor

remaining issue:

  • Buttons go too low on small phones in landscape orientation
    @jadeddelta

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.

3 participants