-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add Coverage end date to Source reports #1701
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1701 +/- ##
========================================
Coverage 79.39% 79.39%
========================================
Files 45 45
Lines 3261 3261
Branches 488 488
========================================
Hits 2589 2589
Misses 672 672 Continue to review full report at Codecov.
|
I took a first pass at changing the link in reports column to link to the location @paul mentioned here. https://github.com/18F/fec-cms/issues/1735
Since this is a priority, anyone feel free to push it forward (or redo it if I missed the mark), I think have taken it a far as I can without some pairing help. , cc @lbeaufort, @LindsayYoung. |
@johnnyporkchops What's the line height in the source reports column? |
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.
@johnnyporkchops just a comment about the view all link
No processed data this period. | ||
{{/if}} | ||
<br> | ||
{{#if 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.
If there is no processed data for this period, the link to the view all should not exist. I found that this becomes problematic if there is no committee connected to a candidate. When attempting to click on the view all, it will not filter anything because there is no committee connected to the candidate at all.
Can we move this {{#if url}}
block into the `{{#if coverage_end_date }} block so that the link won't show up if there's no processed data?
This is currently a production bug too, so doing this would also fix that bug.
@JonellaCulmer , line height on the |
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.
Thanks for the change @johnnyporkchops, this looks good to me
Thanks @patphongs . I was thinking I do not need the |
@lbeaufort -- Is this an issue where this one candidate who does not return a committee ID in the URL that is built for this page? |
This PR addresses a few issues that are in grooming. It may be salvaged to implement an interim solution that is being discussed, if/when one is agreed upon. See issues referenced below for discussions:
Also these two OpenFEC PRs have been merged by @lbeaufort to accommodate possible solutions:
https://github.com/18F/openFEC/pull/2901- Add committee_pcc to /elections/ endpoint
https://github.com/18F/openFEC/pull/2898 -Add coverage end date to /elections/endpoint
Completion criteria, Issue 1470:
coverage end date
@hcaofec has done some research into backend changes that need to take place and may be of help.
Screenshots