turkle icon indicating copy to clipboard operation
turkle copied to clipboard

Skipping a task when previewing is like skipping the assignment

Open hltcoe-bot opened this issue 4 years ago • 4 comments

I did not expect it. I thought maybe I could look at several examples of tasks and then go back to the main page and accept the first one that I previewed.

If this is the desired behavior, I can document that on the help page.

Poster: Cash Costello id: 248

hltcoe-bot avatar Aug 07 '20 15:08 hltcoe-bot

The behavior you expected seems more desirable than the current behavior.

Poster: Craig Harman

hltcoe-bot avatar Aug 07 '20 15:08 hltcoe-bot

The preview skip code uses the same session variable to maintain the skips:

def skip_task(request, batch_id, task_id):
    """
    Skip to next task when previewing a task
    """
    _add_task_id_to_skip_session(request.session, batch_id, task_id)
    return redirect(preview_next_task, batch_id)

We would have to separate preview_next_task() from the _skip_aware_next_available_task_id() function. It could instead be replaced by a function that gets the next task after the one specified.

Poster: Cash Costello

hltcoe-bot avatar Aug 07 '20 15:08 hltcoe-bot

mentioned in issue #278

Poster: Craig Harman

hltcoe-bot avatar Aug 07 '20 15:08 hltcoe-bot

Ah. It’s great to finally understand what this is.

Poster: Paul McNamee

hltcoe-bot avatar Aug 07 '20 15:08 hltcoe-bot