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

Refactor task locking #508

Open
cdausmus opened this issue Mar 10, 2022 · 0 comments
Open

Refactor task locking #508

cdausmus opened this issue Mar 10, 2022 · 0 comments
Assignees
Labels
Type - improvement Improving an existing feature or functionality, but not as major as an enhancement or new feature. Type - question

Comments

@cdausmus
Copy link
Collaborator

cdausmus commented Mar 10, 2022

Task locking is currently done by checking the task views. A clean up and refactor is required to achieve the following:

  • Easier locking logic for admin task view, task locking
  • Specific lock timeouts for project type
  • Consistency across task locking and admin view

Changes:

  • Add a new lock column to task table (with user of who locked the task)
  • Lock: view task; Unlock: save/skip task, timeout specified by project type
  • Project type admin: specify lock timeout - DO NOT allow modification of project type name.

Requirements:

  • As current; Transcribing a task locks for all users
  • Display lock for self, 'Locked by you!'
  • On task load, check if locked (in case of stale Admin page), especially validate. Display error page stating lock details and links to return to admin page (if validating).
@cdausmus cdausmus self-assigned this Mar 10, 2022
@cdausmus cdausmus added Type - question Type - improvement Improving an existing feature or functionality, but not as major as an enhancement or new feature. labels Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type - improvement Improving an existing feature or functionality, but not as major as an enhancement or new feature. Type - question
Projects
None yet
Development

No branches or pull requests

1 participant