Skip to content

Conversation

@memurats
Copy link

@memurats memurats commented Mar 17, 2025

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 review from a team and skjnldsv as code owners March 17, 2025 15:07
@memurats memurats requested review from artonge and susnux and removed request for a team March 17, 2025 15:07
@memurats
Copy link
Author

Copy of #51484 applied to the master branch.

@susnux susnux added this to the Nextcloud 32 milestone Mar 17, 2025
Check nodes for CREATE permission
@artonge
Copy link
Contributor

artonge commented Mar 18, 2025

@memurats Can you compile and signoff you commit?

@artonge
Copy link
Contributor

artonge commented Mar 18, 2025

/backport to stable31

@artonge
Copy link
Contributor

artonge commented Mar 18, 2025

/backport to stable30

@artonge
Copy link
Contributor

artonge commented Mar 18, 2025

/backport to stable29

@memurats
Copy link
Author

/compile

@memurats
Copy link
Author

Unfortunately compile doesn't work on forks. Should i push the branch upstream?

susnux
susnux previously approved these changes Mar 18, 2025
@susnux susnux dismissed their stale review March 18, 2025 15:04

too quick

@susnux susnux self-requested a review March 18, 2025 15:04
// We don't want to show the current nodes in the file picker
return !fileIDs.includes(n.fileid)
})
.setFilter((n: Node) => (n.permissions & Permission.CREATE) === Permission.CREATE)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this does not work. Because you can have readonly root directories with external mounts that allow writing / groupfolder ACL.

So we should not filter directories without create permission as this also blocks navigating to perfectly valid ones.

I think we should filter for folder here to implement #50199
And then we need to disable the select button if CREATE is missing, but not hide the folder completely.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 1, 2025

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.)

This was referenced Aug 25, 2025
This was referenced Sep 2, 2025
This was referenced Sep 25, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

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

Hi @memurats, thank you so much for the contribution! :) A small note – in the issue, the design suggestion was to grey the files out rather than hide them completely.

This is important to give some context, and also to not make people think their files are gone.

@artonge
Copy link
Contributor

artonge commented Oct 16, 2025

Proposal that grays files out: #55796

@susnux
Copy link
Contributor

susnux commented Nov 3, 2025

Resolved with #55796

@susnux susnux closed this Nov 3, 2025
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.

[Bug]: remove files from the list of recent items in the move/copy modal

5 participants