Skip to content
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 TO RELEASE] Reporting dates tables - Manual zebra-stripe and hide state dropdown options #6628

Open
wants to merge 1 commit into
base: release/public-20250114
Choose a base branch
from

Conversation

johnnyporkchops
Copy link
Contributor

@johnnyporkchops johnnyporkchops commented Jan 10, 2025

Summary

Required reviewers

one dev and @djgarr - ( I can push to feature when you are ready)

Impacted areas of the application

zebra striping options ReportingDatesTable templates
States dropdown on ReportingDatesTable templates
A new migration is associated with this change as well.

How to test

I can push to feature when you are ready to test @djgarr

  • npm run build-js
  • Open an existing or create a new page using Reporting dates table template
  • Edit a cell in the State column to wrap the election name in a custom <election> html tag, like:
    • Example:<election class="fl1">Florida 1st Congressional District Special Primary</election>
  • Preview or publish the page to confirm that the class was added to that row:
    • Example result in browser: <tr class="fl1 fl">
    • The zebra stripe is always based on classList[0].
  • Test that footnotes still work for these cells to by putting "~1" at the very end of the content in that cell
  • Test linked election names by wrapping the <election>tag in an <a> link tag
    • Example: <a href="https://www.fec.gov/help-candidates-and-committees/dates-and-deadlines/2024-reporting-dates/prior-notices-2024/election-report-notice-florida/"><election class="fl1">Florida 1st Congressional District Special Primary</election></a>
  • Test the hide state dropdown checkbox

@johnnyporkchops johnnyporkchops changed the title Reporting dates tables - Manual zebra-stripe and hide state dropdown options [PR TO RELEASE] Reporting dates tables - Manual zebra-stripe and hide state dropdown options Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant