-
Notifications
You must be signed in to change notification settings - Fork 12
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
RDISCROWD-6222 Show GIGwork users why no tasks are available #866
Conversation
Pull Request Test Coverage Report for Build 5717682690
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
project.info['sched'] = Schedulers.task_queue | ||
res = self.app_get_json(url) | ||
data = json.loads(res.data) | ||
assert 'notifications' in data.keys(), list(data.keys()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Task Queue scheduler: verify notification message displays.
Also, is this updating the project repo and saving the new task queue preference via self.app_get_json(url)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
self.app_get_json(url)
is a test helper which only fetches data. The update to project scheduler is done via assignment in project.info['sched'] = Schedulers.task_queue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to "Squash and merge" upon all checks passed. You will also need to update the "pybossa-default-theme" pointer as it is merged to the main branch the hash could be different.
Issue number of the reported bug or feature request: #RDISCROWD-6222
Describe your changes
As a user, I would like to be able to see why no more tasks are available to me even when a project is not yet completed, so that I can understand if there is a problem with the project or if I can work on more tasks.
A typical cause for this is that the project is using the User Preference or Task Queues scheduler and the remaining tasks have preferences configured that are different than the user's.
Notes