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

Refactor Response Display Pagination #4819

Open
bryan-robitaille opened this issue Dec 11, 2024 · 0 comments
Open

Refactor Response Display Pagination #4819

bryan-robitaille opened this issue Dec 11, 2024 · 0 comments
Labels
bug Something isn't working tech debt Includes: refactoring, documentation, organization, and dependency management. Does not include bugs 🚦 Moderate Moderate Impact Issue

Comments

@bryan-robitaille
Copy link
Contributor

Refactor the form-builder response page pagination to try and remove the need for url parameters and information from previous pages in order to navigate through the responses.

Possible tactics:

  • Use scan Forward and Reverse functions to move forward and backward through the new status#createdAt Global Index to return chronological responses by status.
  • Paginating forward could use the last response on the page in state (aka has not been downloaded or changed status) that becomes the unique start key for the next page.
  • Paginating backward could use the first response on the page in state (aka has not been downloaded or changed status) as the unique start key for the previous page.
@bryan-robitaille bryan-robitaille added the tech debt Includes: refactoring, documentation, organization, and dependency management. Does not include bugs label Dec 11, 2024
@srtalbot srtalbot added bug Something isn't working 🚦 Moderate Moderate Impact Issue labels Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tech debt Includes: refactoring, documentation, organization, and dependency management. Does not include bugs 🚦 Moderate Moderate Impact Issue
Projects
None yet
Development

No branches or pull requests

2 participants