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

Severe Lag When Loading and Exporting Large Collections in CMS Export Plugin (e.g. 2800+ Entries) #84

Open
KlotzJesse opened this issue Oct 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@KlotzJesse
Copy link

KlotzJesse commented Oct 12, 2024

Describe the bug
When using the Framer CMS Export plugin with a large collection (e.g., 2800 entries), the entire Framer plugin becomes unresponsive and lags for about 20-30 seconds after selecting the collection from the dropdown. The UI freezes, with no loading indicator or spinner. Additionally, all 2800 entries are added to the DOM, even though the preview only shows 7 rows and 3 columns, which heavily impacts the user experience.

Same for the exporting, very laggy, no loading indication, freezing.

To Reproduce
Steps to reproduce the behavior:

  1. Open the Framer CMS Export plugin.
  2. Select a large collection (e.g., 2800+ entries) from the dropdown.
  3. Notice the lag and unresponsiveness that follows.
  4. Inspect the DOM to see that all 2800 entries are rendered, despite only 7 being shown in the preview.
  5. Click export

Expected behavior
I expect the plugin to render a maximum of 7 entries (as the preview only shows this many) and provide a loading state or spinner to indicate progress while the data is being loaded. Only the necessary entries should be added to the DOM.

On exporting, there should be a loading indication without freezing the entire interface.


Additional context
This issue makes it very difficult to work with large collections, and it seems that optimizing the DOM rendering for previews could greatly improve the user experience.

@KlotzJesse KlotzJesse added the bug Something isn't working label Oct 12, 2024
@KlotzJesse KlotzJesse changed the title Severe Lag When Loading Large Collections in CMS Export Plugin (e.g. 2800+ Entries) Severe Lag When Loading and Exporting Large Collections in CMS Export Plugin (e.g. 2800+ Entries) Oct 12, 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
Projects
None yet
Development

No branches or pull requests

1 participant