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

Add sorting, filtering, and pagination to bill listings #238

Merged
merged 8 commits into from
Feb 23, 2022

Conversation

alexjball
Copy link
Member

Update useBills and backend functions to support sorting, filtering, and paginating the list of bills. This does not connect the UI to the hook.

- Run admin sdk in jsdom environment to unify backend and frontend integration tests
- Track cosponsor count, latest testminoy, and testimony count
updates useBills to return the whole bill document, not just the scraped content,
to include related fields like testimonyCount and hearing dates.
@github-actions
Copy link

github-actions bot commented Feb 22, 2022

Visit the preview URL for this PR (updated for commit alexjball/maple@34cf19b):

https://digital-testimony-dev--pr238-bill-hooks-d199kpby.web.app

(expires Wed, 02 Mar 2022 17:11:02 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bc0858669d4997df2a9165c2144bd1e2dbba0242

Accidentally renamed it in the type, might as well migrate the documents
for consistency with other timestamp fields.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant