Fec-cms: No validation/error message when searching more than ten committees

Created on 16 Oct 2019  路  7Comments  路  Source: fecgov/fec-cms

User story:
As a data user, when searching more than 10 committees, I need to be able to understand why I'm not seeing data.

Follow-up issue for https://github.com/fecgov/openFEC/issues/3996

There is no validation/error message when searching more than 10 committees - the datatables just don't return results: https://www.fec.gov/data/receipts/?data_type=processed&committee_id=C00031781&committee_id=C00107391&committee_id=C00139998&committee_id=C00171538&committee_id=C00187435&committee_id=C00188888&committee_id=C00250191&committee_id=C00329706&committee_id=C00364091&committee_id=C00401224&committee_id=C00412304&committee_id=C00547679

When a user chooses more than 10 committees on all transaction datatables, we should have validation that indicates they should choose less than 10 committees.

List of transaction tables:

  • Receipts
  • Individual contributions
  • Disbursements
  • Independent expenditures

Completion criteria:

  • [x] Discuss with content, what kind of message is appropriate, write message
  • [x] Mock-up design solution with language in mind
  • [x] Open follow-up implementation ticket
Bug UDesign

All 7 comments

@patphongs In looking at this ticket, I'm wondering if you think it's possible to include a "cap" on the number of committees a user can select?

We could disable the button and/or include a message that explains the interaction.

@JonellaCulmer I do think it's possible to include a cap on the number of committees a user can select. We could add some kind of message indicating that they can only insert 10 or less committees after they attempt to put in more than 10.

@lbeaufort @patphongs Are we sure that the only fields we need to be concerned with are Recipient name or ID, contributor name/contributor name or ID, and ZIP codes?

What about city, occupation, employer, image number, spender name or ID, candidate mentioned/candidate name or ID OR payee?

@dorothyyeager @kathycarothers I based the error message language on what is currently used on the receipts and individual contributions datatables to say that users need to select additional criteria before a search of more than one two-year period can go through.

You're trying to search across multiple time periods. Filter by recipient name or ID, contributor details, or image number for results.

Below are my mockups. Let me know what you think.

More than 10 committees

cc: @patphongs

I like it.

Based on the conversation with @dorothyyeager @lbeaufort and @patphongs I've updated the mock-ups to only include those filters with the existing 10 committee limitations.

More than 10 committees Copy

Closing in favor of implementation ticket: https://github.com/fecgov/fec-cms/issues/3367

Was this page helpful?
0 / 5 - 0 ratings