-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
fix(personal-files): correctly filters groupfolders now #44455
fix(personal-files): correctly filters groupfolders now #44455
Conversation
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.
makes sense!
ef613ad
to
2df1d12
Compare
return isNotShared | ||
export const isPersonalFile = function(node: File): Boolean { | ||
// the type of mounts that determine whether the file is shared | ||
const sharedMountTypes = ["group", "shared"] |
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.
Shouldn't it be any kind of mount point? Are external storage excluded?
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.
Perhaps. Is it not possible that these external storage's containing files still belong solely to the user? These mount types are more defined to be shared, so I think its best to leave it to these. It can change easily in the future though.
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.
True, but they are still not personal files as "files in your personal folder".
Maybe @nextcloud/designers can give us their opinion
2df1d12
to
65f533d
Compare
Signed-off-by: Eduardo Morales <[email protected]>
Signed-off-by: Eduardo Morales <[email protected]>
65f533d
to
aab79a6
Compare
files
Personal View contains groupfolders #44359Summary
Previously, group folders where not being filtered out through the personal files view.
With this change, this cleaned up the code a bit and now correctly filters what it did previously, and now group folders :)
Check the screen recording below to see it in effect!
firefox_RSOGgiqWVd.mp4
Checklist