Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Feature/filings detail #569

Merged
merged 11 commits into from
Sep 3, 2015
Merged

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Sep 2, 2015

  • Add detail pane for browse filings and committee filings tabs
  • Fetch details for pane by AJAX request, falling back to existing data if necessary
  • Only show detail pane for F3* filings

@noahmanger this needs some work on styles: the filings panel is more or less unstyled, and it wasn't immediately clear how to get the panel to display at the correct size on the committee filings page. We'll also have to to think about differences in variable names between Presidential, House/Senate, and PAC/Party filings, since the variable names from the mockup don't fit all three.

[Resolves #399]
[Resolves #405]

@LindsayYoung
Copy link
Contributor

If we are showing everything can we use the respective report partials we already have? The names are tricky and we already spent a lot of time checking those.

@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 2, 2015

@LindsayYoung we can't use them in their exact form, since we can't mix and match jinja and handlebars templates, but yeah, we can copy over the variable names. But the list of variables we're showing in the mockup doesn't quite match any of the three existing reports templates. @noahmanger, were those variables just placeholders, or are they authoritative?

jmcarp added a commit to jmcarp/fec-style that referenced this pull request Sep 3, 2015
As of fecgov/openFEC-web-app#569, data table rows
that trigger a detail panel are given the "js-panel-trigger" class.
Don't use `cursor: pointer` or other panel-related behaviors for other
data table rows.

[Resolves 18F#57]
@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 3, 2015

Ready for review @noahmanger. Note: this will work slightly better once https://github.com/18F/openFEC/pull/1175, since I harmonized a few variable names there. Working with the panel code reminds me that we should refactor and test it, since it's a little hairy right now, but that can happen in a separate patch, and after launch.

@noahmanger
Copy link
Contributor

Oops, sorry I meant to merge yesterday.

noahmanger pushed a commit that referenced this pull request Sep 3, 2015
@noahmanger noahmanger merged commit a382819 into fecgov:develop Sep 3, 2015
@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 3, 2015

That's cool, it's better now anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants