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

Dashboard Pagination (branch→dev) #348

Merged
merged 9 commits into from
Jun 12, 2024
Merged

Conversation

annastasiablack
Copy link
Contributor

@annastasiablack annastasiablack commented May 2, 2024

  • put timeout on call to users, reduced calls by 3. speeds up loading a tad.
  • pagination calls 20 messages on load. arrow button to load next 20 messages. (note: switched to arrows instead of numbers so no unnecessary calls are made)
  • tooltip displayed on disabled print buttons to let user know there are no completed forms to print.
image image

Copy link
Collaborator

@dkennedy881 dkennedy881 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although this does provide the buttons for paginating, the real pagination would limit the results from the the server/ pull x amount. atm this will still attempt to fetch them all. it just wont displays them all at once.

API logic for direct message would also have to get update, involving passing the desired page number and size

@annastasiablack annastasiablack changed the title Improve Dashboard Loading + Pagination (branch→dev) Dashboard Pagination (branch→dev) May 6, 2024
@annastasiablack annastasiablack merged commit 8812a03 into dev Jun 12, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants