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

Show number input on experiment collection dashboard that allows the researcher to navigate to a specific participant's dashboard #914

Closed
drikusroor opened this issue Apr 3, 2024 · 6 comments
Assignees
Labels
Milestone

Comments

@drikusroor
Copy link
Contributor

drikusroor commented Apr 3, 2024

Original title of this Issue: "Show number input on experiment collection dashboard that allows the researcher to navigate to a specific participant's dashboard"

Is your feature request related to a problem? Please describe.

Related to and blocked by #913, the experiment collection dashboard will show the started and finished count number for the experiments for a specific participant when the participant id query parameter has been added to the url.

On the Thoughbook, however, it's fairly difficult to open the address bar and add the ?participant_id=123 query parameter to the current url. It might therefore be convenient to add a number input to the dashboard have a solution that allows the researcher to directly input the participant id navigate to a participant's dashboard and don't have to worry about the right syntax and the address bar.

Describe the solution you'd like

  • On the top of the dashboard will be a number input and a submit button
  • The user enters the participant id into the number input and submits the number
  • The application will then navigate to the same experiment collection page, but now with the right query parameter added to the url

image

@BeritJanssen
Copy link
Collaborator

I repeat my recommendation for this particular problem: make bookmarks ahead of time for the participant ids. I cannot foresee this functionality being used in other experiments. @Lia-JX-Li can you try the bookmark approach first?

@BeritJanssen
Copy link
Collaborator

BeritJanssen commented Apr 29, 2024

We discussed that we might make a loose html file with Javascript which has just an input field, and then opens localhost:3000/collection/name-of-collection?participant_id=someid in a new tab. If we want to version control this, it could be in its own repo (as I don't think we'll integrate this into MUSCLE proper). This will be something that can be achieved relatively quickly, but it's a nice to have.

@drikusroor
Copy link
Contributor Author

We discussed that we might make a loose html file with Javascript which has just an input field, and then opens localhost:3000/collection/name-of-collection?participant_id=someid in a new tab. If we want to version control this, it could be in its own repo (as I don't think we'll integrate this into MUSCLE proper). This will be something that can be achieved relatively quickly, but it's a nice to have.

Good point. I've updated the PR to propose a "solution" to the problem instead of the specific technical solution that was proposed before.

@BeritJanssen
Copy link
Collaborator

I still thought of another solution: we might add a button "launch experiment with this participant" from the admin interface. But the design choices involved in that make this a more involved solution. But I think in the long run, functionality along these lines should be available through admin, not through the participant-facing frontend.

@BeritJanssen
Copy link
Collaborator

We may revisit this after #931 .

@BeritJanssen
Copy link
Collaborator

After the departure of the Congo team, I think we don't need this issue anymore, though I can imagine we build something like this in as part of #979 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants