Skip to content

Conversation

@memurats
Copy link

In the context of the "Move or copy file" dialog it doesn't make sense to show all other files in the list or encrypted folders.
In order to improve clarity and usability, these should be filtered out.

@memurats memurats requested a review from skjnldsv as a code owner March 14, 2025 09:50
Comment on lines 244 to 248
.setFilter((n: Node) => {
// We only want to show folders in the file picker
// We don't want to show encrypted folders in the file picker
return !(n.attributes?.['type'] !== "directory" || n.attributes?.['is-encrypted'] === 1)
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@artonge @susnux do we have create permissions on encrypted folders? If yes, shall we?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its possible to have them with the new e2ee within the webui. So also moving into e2ee folders should work

@susnux
Copy link
Contributor

susnux commented Mar 14, 2025

@memurats any reason you are based you PR against 29? Is this not the same in current master?
All PRs should go against master first.

Co-authored-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Mauro Mura <[email protected]>
@memurats
Copy link
Author

Created new pull request for the master branch: #51532

@st3iny
Copy link
Member

st3iny commented Mar 17, 2025

Continued in #51532. We will create applicable backports via the bot later.

@st3iny st3iny closed this Mar 17, 2025
@github-actions
Copy link
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@memurats memurats deleted the nmc/3534-movecopy-remove-files-and-enrypted-folders branch December 11, 2025 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants