bike-grid-now / bike-grid-monorepo

Contains the code for our monorepo. Doing this so we can query FireCMS safely.
bike-grid-now-website.vercel.app
MIT License
3 stars 1 forks source link

Add pagination to events panel #16

Closed zakpatterson closed 2 years ago

zakpatterson commented 2 years ago

Fixes #7

Max events per page is set to 5, if there are more than 5 events, a search bar is displayed which filters events.

If there are more than 5 events, pagination buttons are available at the bottom.

Filtering is applied before pagination.

codesandbox[bot] commented 2 years ago

CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders

vercel[bot] commented 2 years ago

@zakpatterson is attempting to deploy a commit to the Bike Grid Now Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
bike-grid-cms ✅ Ready (Inspect) Visit Preview Sep 12, 2022 at 11:02PM (UTC)
bike-grid-now-sanity ✅ Ready (Inspect) Visit Preview Sep 12, 2022 at 11:02PM (UTC)
bike-grid-now-website ✅ Ready (Inspect) Visit Preview Sep 12, 2022 at 11:02PM (UTC)
zakpatterson commented 2 years ago

Assuming you use squash merging by default

samwightt commented 2 years ago

@zakpatterson Oops I use just the 'merge pull request' button, but idk if it matters too much, just that the stuff gets merged in with a commit that links back to this if we need it.

Feel free to deploy when you want to btw! We don't have any standard code review process AFAIK.