fix(files): update loading behavior when changing location - #63166
luka-nextcloud wants to merge 4 commits into
Conversation
8a27ba8 to
01cba5d
Compare
susnux
left a comment
There was a problem hiding this comment.
This is a sensible area of changes, please add proper tests for the changes behavior (playwright). Moreover this was designed behavior back then to not block users from usage during long running loading. For example the search view should not blank just because the search is in progress.
So besides that point this must get UX approval from designers, because IMHO this is now worse UX than the behavior it tries to fix.
Currently:
- Folder contents A
- navigate
- Folder contents A + loading indicator
- Folder contents B
With this changes:
- Folder contents A
- navigate
- Blank view + loading indicator
- Folder contents B
01cba5d to
dfa612f
Compare
|
But this still blanks the table content and shows the loading spinner within the table.
Ideally with the "de-saturation" of the table content as shown in the mockup by @kra-mo |
dfa612f to
d778f07
Compare
d778f07 to
d6a7ce2
Compare
Signed-off-by: Luka Trovic <luka@nextcloud.com>
…tion Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Luka Trovic <luka@nextcloud.com>
d6a7ce2 to
7ad23f8
Compare
|
Can someone attach a screen recording? My test env is still broken haha |
demo.webm |
skjnldsv
left a comment
There was a problem hiding this comment.
Sorry, but I really dislike this, that make the ui unresponsive, while before you could still do operation on files while you browsed away. I'm against this UX change
|
gave it more thought, and I really don't think blocking the list is the right fix here. The current behavior is intentional: we show the cached listing and update changed rows in the background (stale-while-revalidate). If we reaaaally want to handle stale data, I'd suggest:
See also Fluent 2 and Primer on non-blocking loading states. I'd like design to weigh in before we change this.
|
|
@skjnldsv this is not about a view that we just refresh its about navigating into a view we do not have at all cached. |
Then I completely misunderstood, very sorry :) |


Summary
Improves the loading state handling and user experience when navigating in the files list. Ensure that loading indicators are displayed appropriately and that the UI does not show stale or confusing content during transitions.
Checklist
3. to review, feature component)stable32)