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

Refactor holdUpMarker as a basic trial for lining up the photodiode spot #466

Open
RobertGemmaJr opened this issue May 2, 2024 · 2 comments · Fixed by #509
Open

Refactor holdUpMarker as a basic trial for lining up the photodiode spot #466

RobertGemmaJr opened this issue May 2, 2024 · 2 comments · Fixed by #509
Assignees
Labels
3.4 Versioning: Issue in regards to version 3.4 release

Comments

@RobertGemmaJr
Copy link
Member

RobertGemmaJr commented May 2, 2024

Cleaned up trial is here:

https://github.com/rossan750/nback_honeycomb/blob/main/src/trials/holdUpMarker.js

@RobertGemmaJr RobertGemmaJr self-assigned this May 2, 2024
@RobertGemmaJr RobertGemmaJr added 3.4 Versioning: Issue in regards to version 3.4 release good first issue Good for newcomers labels May 14, 2024
@RobertGemmaJr RobertGemmaJr removed the good first issue Good for newcomers label Jun 17, 2024
@RobertGemmaJr
Copy link
Member Author

import htmlButtonResponse from "@jspsych/plugin-html-button-response";

import { language } from "../config/main";
import { h1 } from "../lib/markup/tags";
import { photodiodeGhostBox } from "../lib/markup/photodiode";

// TODO: Actually check to see if USB is connected? This isn't testing anything?
function holdUpMarker() {
  return {
    type: htmlButtonResponse,
    stimulus: h1(language.trials.holdUpMarker) + photodiodeGhostBox(),
    choices: [language.prompts.continue.button],
  };
}

export default holdUpMarker;

@RobertGemmaJr
Copy link
Member Author

Hold up marker language:

"Make sure the photodiode is covering the spot and any external recordings have begun before continuing."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.4 Versioning: Issue in regards to version 3.4 release
Projects
None yet
2 participants