-
Notifications
You must be signed in to change notification settings - Fork 39
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
PR: 6179, 6180 national party account #6273
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #6273 +/- ##
===========================================
+ Coverage 78.00% 78.01% +0.01%
===========================================
Files 291 291
Lines 9414 9447 +33
Branches 681 687 +6
===========================================
+ Hits 7343 7370 +27
- Misses 2071 2077 +6 ☔ View full report in Codecov by Sentry. |
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.
A couple of fixes for you @rfultz. There's some data issues in the API with line number data, but that's something that @bmathesonFEC is looking at. Let's target these changes for the release branch instead, so we're not pressured to have this in before the cut today. Nothing here that I paired with both @bmathesonFEC and @JonellaCulmer on this review, so we have the necessary required reviewers.
fec/fec/static/js/pages/datatable-national-party-account-disbursements.js
Show resolved
Hide resolved
fec/fec/static/js/pages/datatable-national-party-account-receipts.js
Outdated
Show resolved
Hide resolved
fec/fec/static/js/templates/national-party-account-receipts.hbs
Outdated
Show resolved
Hide resolved
fec/fec/static/js/templates/national-party-account-disbursements.hbs
Outdated
Show resolved
Hide resolved
{% block filters %} | ||
<div class="filters__inner"> | ||
{{ typeahead.field('committee_id', 'Spender name or ID') }} | ||
{{ text.field('recipient_name', 'Recipient name or ID') }} |
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.
This needs to be a typeahead.field
so that they can select a committee if it's there. Or just search by the name without selecting from the list.
fec/data/templates/partials/national-party-account-disbursements-filter.jinja
Outdated
Show resolved
Hide resolved
fec/data/templates/partials/national-party-account-disbursements-filter.jinja
Outdated
Show resolved
Hide resolved
@rfultz One more thing we noticed is that not all the filters (especially the newer ones added here) are not hooked up to the search tags or passed through as URL query parameters. Could you please add this capability so we can remain consistent? |
@rfultz We're missing committee clickthroughs to committee profile pages. Clicking on a committee name in the table should take you to their profile page. cc: @patphongs |
Will be part of the next commit/push |
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.
@rfultz Thanks for taking care of these fixes. I just have one small fix
fec/data/templates/partials/national-party-account-disbursements-filter.jinja
Outdated
Show resolved
Hide resolved
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 pushing up the last few changes @rfultz! This looks good to go 👍
Summary
Building the front-end for the national party accounts' receipts and disbursements datatables
Required reviewers
Impacted areas of the application
Screenshots
Related PRs
Related PRs against other branches:
None for CMS
Known issues
UX and SMEs: when the right-side details panel is open, it scoots down lower than the table. Should we lose a table column?
How to test
FEC_API_URL
points to stagenpm i
npm run build
./manage.py runserver
Default, with feature flags on for localhost:
To test feature flag:
FEATURES['nat_party_acct_receipts'] = True
, saveFEATURES['nat_party_acct_disbursements'] = True
, save⭐️ Next steps ⭐️
Linked tickets will need updates to stay in sync with the Webpack #2708 upgrade