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

[345] Evaluation Status #363

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

[345] Evaluation Status #363

wants to merge 4 commits into from

Conversation

stonefilipczak
Copy link
Contributor

Adds evaluation status display to the assigned evaluators section of the submission details page.

Also adds an alert if there is a recused evaluator assigned and an error icon next to that evaluator's name.

Finally, adds a link to the evaluation if that evaluation is complete.

Screen Shot 2025-01-16 at 10 18 51 AM

@r-bartlett-gsa r-bartlett-gsa added this to the Sprint 01/28/25 milestone Jan 16, 2025
@stepchud stepchud linked an issue Jan 17, 2025 that may be closed by this pull request
9 tasks
Copy link
Contributor

@stepchud stepchud left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is an exception on the page when there are completed evaluations plus a few styling issues.

<td data-label="">
<div class="display-flex flex-no-wrap grid-row">
<% assignment = evaluator.evaluator_submission_assignments.where(submission_id: @submission.id).first %>
<% if assignment&.evaluation&.completed_at %>
<%= link_to(evaluation_path(evaluation)) do %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line raises an exception missing evaluation object

@@ -1,3 +1,7 @@
<% if @submission.evaluator_submission_assignments.recused.exists? %>
<%= render 'shared/alert_error', alert_heading: t('alerts.recused_evaluator.heading'), alert_text: t('alerts.recused_evaluator_submission.text') %>
Copy link
Contributor

@stepchud stepchud Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add some margin-bottom to the recused alert so it has some space between the alert and the assigned evaluators accordion?
Screenshot 2025-01-16 at 4 48 22 PM

</td>
<td data-label="Score" class="text-top">
<span class="margin-x-1"><%= evaluator_score(assignment).formatted_score %></span>
</td>
<td data-label="">
<div class="display-flex flex-no-wrap grid-row">
Copy link
Contributor

@stepchud stepchud Jan 17, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when the hotdog has two buns and there is more than one action button, the Assigned Evaluators table scrolls horizontally and looks off. can you make it display the buttons in vertical orientation and see if you can eliminate the horizontal scroll (if possible)?
Screenshot 2025-01-16 at 4 57 40 PM
Screenshot 2025-01-16 at 4 59 09 PM

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

Successfully merging this pull request may close these issues.

Evaluation Status and Score display for assigned evaluators
3 participants