You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When computing class counts, the number of documents in each collection, displayed on the sidebar, we loop on each collection and set the state for each collection. This method call the render function of the dashboard, slowing down all the process.
Steps to reproduce
With a parse-server with lots of collection (50+) : load the dashboard, try to navigate from the sidebar collection list.
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
New Issue Checklist
Issue Description
When computing class counts, the number of documents in each collection, displayed on the sidebar, we loop on each collection and set the state for each collection. This method call the render function of the dashboard, slowing down all the process.
Steps to reproduce
With a parse-server with lots of collection (50+) : load the dashboard, try to navigate from the sidebar collection list.
Actual Outcome
Few seconds on each click to load a new page
Expected Outcome
It should be nearly instant
Environment
Localhost parse server on MacOS with nodejs 14.7
Dashboard
2.2.0
Chrome
93.0.4577.63
Server
4.10.3
MAC OS
Local
Database
MongoDB
4.4.8
Local
Logs
I'm preparing a demo and trying to open a PR for you
The text was updated successfully, but these errors were encountered: