-
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
[full-ci] Reload file list after accepting a remote share #6942
Conversation
Results for oC10iPhoneNotifications https://drone.owncloud.com/owncloud/web/25654/48/1 |
I'm not sure about the best solution here. I've now implemented it to always reload the file list when accepting a federated share. If we only want to reload when necessary, it gets a bit more complicated:
Especially the latter would require some more logic. Logic, that shouldn't exist in the web runtime. Hence we would need to write something in the files app. @kulmann Any opinions here? |
f20a30c
to
2e169f5
Compare
2e169f5
to
3c9eafe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
39d6887
to
ac84f88
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement to use the event bus for this. 👍 Small nitpick regarding a state value comparison.
That should happen in the backend anyway. We don't create the default |
The backend creates it, yes, but the frontend would need to know that to accordingly reload the page. Anyway, I think we're fine by always reloading when accepting a share, no matter in which directory you're currently in. |
Yes, same opinion 😇 Fine this way for the time being. |
ac84f88
to
2243183
Compare
Kudos, SonarCloud Quality Gate passed! |
Description
We've fixed a bug where the file list would not reload after accepting a remote share.
Related Issue
share_folder
and accepting remote share via notification #4247Types of changes