-
Notifications
You must be signed in to change notification settings - Fork 156
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
Slow loading state of file list #7038
Comments
Probably best to solve this in a narrow scope: owncloud/owncloud-design-system#1867 |
I've done some digging and also opened #7056 (which doesn't even seem to work now, apparently caching made it seem like it worked the other day), pretty convinced that while the OcTable/ResourceTable rendering adjustments do have some positive impact the real culprint seems to be the
There's a comment hinting at room for performance improvements by changing that logic, but there's a lower-hanging fruit from what I've seen: We don't seem to run into the Ideally for now, we can reduce the continue-logic to We could also discuss if we can request the share-status with the initial resource request from the backend maybe? That'd be the most performant solution I can imagine |
classic ui does it the right way already: using the "shareTypes" field from the propfind (= direct shares) and then doing an ocs shares request for each parent folder up to the root (= indirect shares). We should adopt the same. |
Apart from that I'm still convinced that the rendering itself is slow. See the ODS PR for lazy loaded icons documentation page using the OcTable without any reactivity in the data. 😅 |
Played around by replacing the table subcomponents with (mostly) canonical HTML tags and while it looses the shimmering lazy-loading, rendering then happens _ultra_fast. Might also help that I removed the 6*2275 onclick-listeners on the OcIcon instances 😄 |
|
owncloud/owncloud-design-system@6143188 not part of master since it's a breaking change |
@pascalwengerter sounds like promising research ✨ Where is this currently on your prio list? I would be happy to provide a fast fileslisting for users as it affects the experience all the time. CC @d7oc reading the thread above doesn't sound like what we discussed but maybe I'm wrong. |
ping @pascalwengerter |
wohaa, really good progress again!
... just sharing my experience Screenshot.000048.mp4 |
as remedy until we do the vue3 update: lets remove the pagination options:
|
How do further progress with this ticket? While this is still "an open thing", I think we're good in regards to GA. |
@JammingBen can be closed when #7597 is merged. The vue3 update is its own issue and after that's done we can create a new ticket for performance improvements as needed. |
Steps to reproduce
Expected behaviour
When the network request (propfind) is done the file list is visible and usable in a timely manner.
Actual behaviour
The file list takes ages to render and even a little bit longer until the first interaction is possible (e.g. context menu).
Action items / hints
OcTable
is apparently not cached, this might be a huge issueThe text was updated successfully, but these errors were encountered: