-
Notifications
You must be signed in to change notification settings - Fork 0
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
[82] Submissions List View for Evaluators #319
base: dev
Are you sure you want to change the base?
Conversation
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.
feedback, mostly copy adjustments
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.
Couple of blockers and some other feedback
app/views/evaluator_submission_assignments/_unassign_evaluator_submission_modal.html.erb
Show resolved
Hide resolved
@@ -41,12 +47,18 @@ | |||
create(:evaluator_submission_assignment, evaluator: evaluator, | |||
submission: create(:submission, challenge: challenge, phase: phase), status: :unassigned) | |||
create(:evaluator_submission_assignment, evaluator: evaluator, | |||
submission: create(:submission, challenge: challenge, phase: phase), status: :recused) | |||
submission: create(:submission, challenge: challenge, phase: phase), status: :recused_unassigned) |
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.
update spec name to recused_unassigned
instead?
spec failures are unrelated to this PR |
let(:phase) { create(:phase, challenge: challenge) } | ||
let!(:evaluation_form) { create(:evaluation_form, phase: phase, challenge: challenge) } | ||
|
||
context "when logged in as an evaluator" do |
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.
it might be good to have a context when logged in as an evaluator that is not associated with the challenge phase
to assert access to unrelated phases is denied?
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.
can you add that new spec from my last comment, and this can be merged? 🚀
User story: #82
Dev tasks: #88, #302, #303
As an evaluator, in order to manage submissions and their evaluations process efficiently, I would like to be able to access submissions assigned to me for each challenge.
This PR has the following:
List of challenge phases
List of submissions assigned to the evaluator
Mobile