Hi there, I'm wondering if it's possible to force your custom instructions.html
to appear on load when an annotator has entered the Prodigy interface for the first time? I didn't find any other posts about this, but it seems like it would be a very useful feature to have.
Yeah, maybe we could expose the showInstructions
function via window.prodigy
, just like we do for the update and answer methods.
In the meantime, this feels slightly hacky, but you could wait for the app to be loaded and then simulate a click on the instructions button Basically, something like this:
document.addEventListener("prodigymount", event => {
const instructionsButton = document.querySelector(".c0171");
instructionsButton.click();
})
The above code can go in the "config": {"javascript": "..."}
returned by your custom recipe.