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

Infinite scroll only loads first 30 records on parse dashboard #1551

Open
3 tasks done
kiranshendre opened this issue Jun 2, 2020 · 3 comments
Open
3 tasks done

Infinite scroll only loads first 30 records on parse dashboard #1551

kiranshendre opened this issue Jun 2, 2020 · 3 comments
Labels
bounty:$50 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed

Comments

@kiranshendre
Copy link

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Dashboard!

  • You're running version >=1.0.23 of Parse Dashboard.

  • You're running version >=2.3.2 of Parse Server.

  • You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Environment Setup

node: v13.11.0
npm: 6.13.7
parse-server: "4.2.0"
parse-dashboard: "2.1.0"
Setup is on localhost.

Steps to reproduce

  • Update the existing parse-dashboard (2.0.5) using below commands.
    npm cache clean --force
    npm update
  • Verified the changes with parse-dashboard - master branch, but issue still present, records aren't scrolling.
  • Tried above with deleting node_modules and re installing, but no luck

Capture

Please help.

@kiranshendre
Copy link
Author

Any help on this please?

@kiranshendre
Copy link
Author

@douglasmuraoka Could you please suggest here, am I missing anything?

@davimacedo davimacedo added type:bug Impaired feature or lacking behavior that is likely assumed needs investigation labels Jul 14, 2020
@mtrezza mtrezza reopened this Sep 16, 2021
@mtrezza
Copy link
Member

mtrezza commented Sep 16, 2021

Reopening this issue, because #1706 has been reverted by #1800 due to index issues described in #1799.

The proper approach to pagination (at least in MongoDB) is to use a query cursor, see getMore. That may require some changes on the server side, for example sending the cursor ID to dashboard as query results meta data. Another aspect is how to solve this for Postgres and whether it also supports cursors.

@mtrezza mtrezza changed the title Infinite scroll not working. Only loads first 30 records on parse dashboard (2.1.0) Infinite scroll only loads first 30 records on parse dashboard Sep 20, 2021
@mtrezza mtrezza added severity:2 bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) and removed state:needs-investigation labels Oct 1, 2021
@mtrezza mtrezza added bounty:$50 Bounty applies for fixing this issue (Parse Bounty Program) and removed bounty:$20 Bounty applies for fixing this issue (Parse Bounty Program) labels Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty:$50 Bounty applies for fixing this issue (Parse Bounty Program) type:bug Impaired feature or lacking behavior that is likely assumed
Projects
None yet
Development

No branches or pull requests

3 participants