langcog / web-cdi

7 stars 5 forks source link

Generalizing set up for new sources #352

Closed JMankewitz closed 1 year ago

JMankewitz commented 3 years ago

Hello!

We're adding redcap as a possible source for the single reusable link with URL parameters. These are the following changes that should be made, at a minimum:

However, we have a couple other requests/suggestions that will make things much cleaner for any researcher who wants to hook webcdi into an external vendor (eg prolific, Centiment, lookit, mturk, redcap, basically anything with a url parameter and redirects).

Redirect URLS

Defining Participant Source

Let me know if there are any questions about the plan, here! Thanks, Jess

JMankewitz commented 3 years ago

We've also gotten a request to add Lookit as a url source so the participant/sourceID from lookit is shared with webcdi.

At a minimum, we'd like users to use the sources Lookit, Redcap, Prolific, and Centiment. A major, but small, upgrade would be to show the Source ID (e.g., prolific_id, lookit subject ID, centiment aid but labeled "Source ID") on the page where users can see their in progress/completed data per subject. This can be blank/NA for studies where no source ID is used.

HenryMehta commented 3 years ago

@JMankewitz HI Jess, I'm going to start on this as soon as the Argentine is signed off and live - I don't want to mix the code

JMankewitz commented 3 years ago

Thank you, let me know if you have any questions about the use cases etc!

HenryMehta commented 2 years ago

@JMankewitz

These were really well written requirements - thank you. I think I've understood them and implemented correctly.

I'm deploying my first effort at this to dev now.

Note: I haven't done any work to convert existing Centiment studies. I can if you want but currently, when this goes live researchers would need to log into the Centiment study and update the relevant fields.

mcfrank commented 2 years ago

@mekline was interested in discussing this on the lookit side.