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

[209] Submission Stats #280

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

[209] Submission Stats #280

wants to merge 7 commits into from

Conversation

stonefilipczak
Copy link
Contributor

Adds a stats component to the submissions list page for challenge managers.

Screen Shot 2024-11-19 at 10 10 23 PM

@stepchud stepchud marked this pull request as draft November 20, 2024 23:16
@stepchud stepchud added the WIP label Nov 20, 2024
@stepchud
Copy link
Contributor

This will be updated with status from the Evaluation records, which are currently in review on #281

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.

First review pass

app/views/phases/_submissions_stats.html.erb Outdated Show resolved Hide resolved
app/views/phases/_submissions_stats.html.erb Outdated Show resolved Hide resolved
app/views/phases/submissions.html.erb Outdated Show resolved Hide resolved
app/views/phases/_submissions_stats.html.erb Outdated Show resolved Hide resolved
@stepchud stepchud removed the WIP label Nov 26, 2024
@stepchud stepchud marked this pull request as ready for review November 26, 2024 00:44
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.

(I think) I made the necessary code changes as far as the stats component calculations and display. However, I would like to see some tests for this component. They should mostly be request specs in spec/requests/submissions_spec.rb that assert the various stats are displayed correctly. Can we also add a spec/system/submissions_spec.rb expectation that the stats show visible content on the page.

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.

3 participants