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

Improve performance of external storage config UI #31381

Merged
merged 2 commits into from
Mar 17, 2022

Conversation

icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Feb 28, 2022

greatly improves the performance of the external storage web ui when a large amount of storages are configured.

This takes loading the UI from ~5m to ~10s when having 1000 storages configured.

(long term this needs to be ported to vue but that's for another day)

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Feb 28, 2022
@icewind1991 icewind1991 added this to the Nextcloud 24 milestone Feb 28, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍 nice catch

I'm guessing that with 1000 storages the UX will anyway suffer and some kind of search would need to be implemented eventually

@CarlSchwan
Copy link
Member

+1 nice catch

I'm guessing that with 1000 storages the UX will anyway suffer and some kind of search would need to be implemented eventually

with 1000 storages, I'm guessing that it's starting to also be a good idea to define this configuration in Ansible or similar. Usually, these are not configured manually or I hope so.

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 1, 2022
@skjnldsv
Copy link
Member

skjnldsv commented Mar 1, 2022

jsunit says no

@skjnldsv skjnldsv added 2. developing Work in progress and removed 4. to release Ready to be released and/or waiting for tests to finish labels Mar 1, 2022
@icewind1991 icewind1991 force-pushed the external-config-ui-performance branch from a2df79c to f546031 Compare March 1, 2022 18:36
@icewind1991
Copy link
Member Author

fixed jsunit

@icewind1991 icewind1991 added 4. to release Ready to be released and/or waiting for tests to finish and removed 2. developing Work in progress labels Mar 1, 2022
this prevents repeated reflows

Signed-off-by: Robin Appelman <robin@icewind.nl>
…torages

Signed-off-by: Robin Appelman <robin@icewind.nl>
@nextcloud nextcloud deleted a comment from artonge Mar 17, 2022
@icewind1991 icewind1991 merged commit 6b4ab04 into master Mar 17, 2022
@icewind1991 icewind1991 deleted the external-config-ui-performance branch March 17, 2022 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants