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

Update URLs and columns in top-level election table. #876

Merged
merged 3 commits into from
Oct 22, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Oct 21, 2015

  • Remove total receipts and disbursements links.
  • Add links to source filings.

[Resolves #873]

This isn't quite ready for merge. Two outstanding questions:

  • I've tentatively labeled the column that links to the base filings "Financial reports". @LindsayYoung and @emileighoutlaw, feel free to weigh in with a more precise name if this is too fuzzy.
  • I'm not sure what text / icon to use for the new column linking to the F3 filings. Since we're now linking to a browse view of all relevant filings for a candidate, we can't use text like "May Quarterly 2016"--the text will be the same for each row. I'm using the placeholder text of "Link" for now, but that needs to change. Maybe a link-out icon would be useful here.

cc @jenniferthibault @noahmanger

screen shot 2015-10-21 at 6 24 30 pm

* Remove total receipts and disbursements links.
* Add links to source filings.

[Resolves fecgov#873]
tables.barCurrencyColumn({data: 'cash_on_hand_end_period'}),
tables.urlColumn('pdf_url', {data: 'document_description', className: 'all', orderable: false})
{
render: function(data, type, row, meta) {

Choose a reason for hiding this comment

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

'meta' is defined but never used.

@LindsayYoung
Copy link
Contributor

How do people feel about "view source forms" instead of links, that is what we have on the candidate page. We can say something else, but I would like it to be consistent.

@noahmanger
Copy link
Contributor

I still find that wording a little awkward. Closer, but awkward.

@jmcarp
Copy link
Contributor Author

jmcarp commented Oct 21, 2015

If you're talking about the column header, sounds good. If you're talking about the text in each row, I think we want something shorter, or an icon, since it's going to be repeated for every row--I don't want to repeat "View source forms" 30 times per page.

@noahmanger
Copy link
Contributor

+1

@noahmanger
Copy link
Contributor

What about: "Source reports" for the header and then just "View" for the links?

@emileighoutlaw
Copy link
Contributor

We have "View source forms" other places on the site, so I'm tempted to say we should keep things consistent and have "Source forms" for the header and "View" for the links. Thoughts?

@jenniferthibault
Copy link
Contributor

Source forms / View
works for me for consistency.

@noahmanger if you feel strongly about "reports" instead of "forms" we should look at those other places and make them all consistent.

@noahmanger
Copy link
Contributor

So the term we use to describe them everywhere else is actually "Filings". Should it be "View source filings" everywhere?

@jenniferthibault
Copy link
Contributor

I'd be in favor of that....and it makes it clear that you're looking at something that was filed by the candidate or committee, not something generated by the FEC. @emileighoutlaw ?

@emileighoutlaw
Copy link
Contributor

Yes! I am definitely in favor of consistency. So we're going with

Source filings / View

? 👍

@noahmanger
Copy link
Contributor

Works for me. @LindsayYoung ?

@LindsayYoung
Copy link
Contributor

Works for me. We will want to update #878 too.

LindsayYoung added a commit that referenced this pull request Oct 22, 2015
@noahmanger
Copy link
Contributor

Made these changes in a PR to Josh's branch.

Source forms -> Source filings
noahmanger pushed a commit that referenced this pull request Oct 22, 2015
Update URLs and columns in top-level election table.
@noahmanger noahmanger merged commit 9c57db6 into fecgov:develop Oct 22, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants