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

Paginate signatories list #13

Open
craigcook opened this issue Nov 3, 2023 · 0 comments
Open

Paginate signatories list #13

craigcook opened this issue Nov 3, 2023 · 0 comments

Comments

@craigcook
Copy link
Contributor

The list is already unwieldy at only 377 at time of writing, but there are a lot more in the queue pending verification and more to come. It's a long scrolling list that will only get longer, and it's also adding a lot to the page weight. We need to make a better way to display signatories, probably paginated with maybe 100-200 names per page.

Related, we also need a less labor-intensive means of formatting signatories. They're all hard-coded right now but we do have them in a JSON format that we can parse and transform any number of ways. This could be done server-side at build time, maybe rendering separate pages with proper URLs, or client-side with some ajaxy stuff to fetch chunks of the list. If we go the client-side route I'd still like some kind of non-JS static fallback, even if it's just one giant page of all the names in a tiny font.

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

No branches or pull requests

1 participant