-
Notifications
You must be signed in to change notification settings - Fork 157
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
Indirect share info now visible in favorite and other file lists #3135
Conversation
ac99d05
to
9c69b01
Compare
I had to change the logic a bit to exclude the current folder, because whenever such info was cached it would also show in "via" despite being the same folder. Share indicators broken:
|
really weird. it seems that the simple act of loading the shares tree within the collaborator list is somehow breaking the automatic update of the share indicator |
|
ok, I guess the failure is not related to that OC 10 bug. |
I've manually tested the failing case and it looks like the sharedTree always contains the old state. So something is fishy regarding updating the sharesTree from the panel. |
There is no code for explicitly changing sharesTree... So this means the reason it worked so far on master is only because the information was not cached yet, so exploring into the folder would load the information from scratch. Now in this PR we load it in advance and pre-cache it. So either we need to dynamically adjust it there or remove and reload the matching sharesTree entries. Forcing a reload feels a bit overkill and heavy, but so does updating the sharesTree structure... |
9c69b01
to
3db2fe4
Compare
Problem solved: the new |
3db2fe4
to
4b5e9c2
Compare
Added acceptance tests, rebased. |
test failure reproducible consistently locally: tests/acceptance/features/webUICreateFilesFolders/createFolderEdgeCases.feature:41 the empty message does appear, but it appears too late when the test already stopped waiting :-S |
ah, there's a delay between the time where the progress bar disappears and the empty message appears, and the test relies on this. |
I'll need to fix $_loadingFolder. Apparently some code outside is also relying on the global "loadingFolder" so I can't put the new logic just in AllFilesList. Have to put it on global scope. |
4b5e9c2
to
dee6661
Compare
I've fixed the issue by moving the "is sidebar open" condition to the getter by checking if there's a selected file. Not too nice but does the job for now until we rework the progress bars. |
seems I broke other related stuff now :-( |
When open the share panel of other flat file lists like the favorites, the collaborators list and link list are now showing the same entries like in the "All files" list, which includes indirect shares (via) that were previously missing.
dee6661
to
9973db7
Compare
apparently an additional "s" has creeped in into the new |
Description
When open the share panel of other flat file lists like the favorites,
the collaborators list and link list are now showing the same entries like
in the "All files" list, which includes indirect shares (via) that were
previously missing.
Related Issue
Fixes #3040
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
Open tasks: