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

Adding a goback button #146

Open
BehroozMansouri opened this issue May 22, 2021 · 1 comment
Open

Adding a goback button #146

BehroozMansouri opened this issue May 22, 2021 · 1 comment

Comments

@BehroozMansouri
Copy link

While there is a "Skip Task" button, where assessors can click and skip a task, I needed to have a button to go back if they skipped it. I've added a simple HTML back button using the "Back to previous page".

When the assessors go back to the skipped task and click on submit button, they see error showing:
"Cannot find Task Assignment with ID X".

How can I solve this issue?

@cash
Copy link
Member

cash commented May 24, 2021

Hi @BehroozMansouri. Right now, the skipped task IDs are stored locally in the browser for that user and I believe it deletes the task assignment. When a user skips a task, Turkle won't show them that task again until all other tasks for that batch have been completed.

I'll have to test what happens when a user skips a task and then uses the browser's back button. I'm guessing they will be able to see the task, but Turkle would not have created a task assignment.

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

No branches or pull requests

2 participants