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

[394] Update Submissions Stats Dashboards #434

Merged
merged 9 commits into from
Feb 25, 2025

Conversation

emmabjj
Copy link
Contributor

@emmabjj emmabjj commented Feb 20, 2025

Linked ticket: #394

Update submission stats dashboards:

  • Submission stats dashboard in the Evaluator Management Submissions list page
  • Submissions stats dashboard in the Challenge submissions list page
  • Submissions stats dashboard in the Evaluator's submissions list page

Add colors required in the updated figma.


Evaluator Submissions list

Screenshot 2025-02-19 at 6 00 49 PM Screenshot 2025-02-19 at 6 01 19 PM Screenshot 2025-02-19 at 6 01 33 PM

Challenge Managers Submission list

Screenshot 2025-02-19 at 6 02 12 PM Screenshot 2025-02-19 at 6 02 29 PM Screenshot 2025-02-19 at 6 02 38 PM

Evaluator Management Submissions list page

Screenshot 2025-02-19 at 6 03 14 PM Screenshot 2025-02-19 at 6 03 29 PM Screenshot 2025-02-19 at 6 03 42 PM

WAVE

Screenshot 2025-02-19 at 6 06 03 PM

@emmabjj emmabjj requested a review from stepchud February 20, 2025 00:07
@emmabjj emmabjj self-assigned this Feb 20, 2025
@r-bartlett-gsa r-bartlett-gsa added this to the Sprint 02/25/25 milestone Feb 20, 2025
@r-bartlett-gsa r-bartlett-gsa linked an issue Feb 20, 2025 that may be closed by this pull request
59 tasks
Comment on lines +26 to +28
'green-cool-vivid-60v': #216E1F,
'orange-warm-vivid-50v': #CF4900,
'red-vivid-60v': #B50909
Copy link
Contributor

Choose a reason for hiding this comment

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

🌈

@@ -17,6 +17,9 @@ def index
@unassigned_submissions = @evaluator_assignments.
where(status: %i[unassigned recused_unassigned]).
ordered_by_status
@recused_submissions = @evaluator_assignments.
where(status: %i[recused]).
ordered_by_status
Copy link
Contributor

@stepchud stepchud Feb 24, 2025

Choose a reason for hiding this comment

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

do these need to be ordered_by_status?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, you're right - recused submissions don't need to be ordered by status 😅

<div class="display-flex flex-row tablet:margin-left-auto tablet:margin-top-0 margin-top-3">
<div class="text-center bg-green-cool-vivid-60v padding-1 margin-right-1" style="width: 32%">
<span class="font-sans-xl text-white text-bold display-block"><%= @submissions_count["completed"] || 0 %></span>
<span class="font-sans-3xs tablet:font-sans-sm text-white">COMPLETED<br>EVALUATIONS</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

capitalization can be handled by css property text-transform, which is text-uppercase in USWDS

Copy link
Contributor

Choose a reason for hiding this comment

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

e.g.

Suggested change
<span class="font-sans-3xs tablet:font-sans-sm text-white">COMPLETED<br>EVALUATIONS</span>
<span class="font-sans-3xs tablet:font-sans-sm text-white text-uppercase">Completed<br>Evaluations</span>

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.

just some minor non-blocking touchup, otherwise good to go 👍

@stepchud stepchud merged commit 5e549f6 into dev Feb 25, 2025
10 checks passed
@stepchud stepchud deleted the 394_submissions_stats_updates branch February 25, 2025 16:02
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.

Submissions Stats Dashboard Updates
3 participants