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

Submissions pagination #18

Open
MathyouMB opened this issue Jun 23, 2024 · 0 comments
Open

Submissions pagination #18

MathyouMB opened this issue Jun 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MathyouMB
Copy link
Member

As a judge, I need to be able to view all unreviewed submissions.

As there will be many records, we will need to retrieve submissions via pagination.

We will need to implement pagination at the database level using LIMIT and OFFSET: https://orm.drizzle.team/learn/guides/limit-offset-pagination

We should make this query via a findMany method exposed on the submission service: app/challenges-platform/services/submissions-service.ts

@MathyouMB MathyouMB added the enhancement New feature or request label Jun 24, 2024
@MrRibcage MrRibcage self-assigned this Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Assigned - In Progress
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants