Move or Copy files: Start in the parent folder instead of root#15925
Conversation
7ad5d3b to
283dd44
Compare
|
Let me know if a ticket shall be created to track the behavior change |
283dd44 to
35e3634
Compare
|
Hello there, 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.) |
35e3634 to
483d4e7
Compare
f341de9 to
04f9fef
Compare
04f9fef to
bd9e6b2
Compare
e31de0b to
302e268
Compare
Previous behavior always moved up to the root folder, which meant the user lost the context of their current files. Especially in complicated nested folder structures, this made standard operations overly complicated, like duplicating in the same folder or duplicating/moving to a sibling folder. This is now also in sync with the behavior of the iOS app and the web UI Signed-off-by: Philipp Hasper <[email protected]>
31f4f30 to
385a89e
Compare
Last usage of the argument inside of the method was removed in 905222c, so removing it doesn't have any impact on the behavior. The only instance where the parameter was set to `true` was in the ExtendedListFragment Signed-off-by: Philipp Hasper <[email protected]>
Changing to OCFile? is required, as the parameter is indeed nullable. This didn't turn up prior to the rebase nor was it flagged in the pre-existing code, even though it is already an issue there. What probably happened is a combination of updated detection tools and the tools purposefully only flagging changed lines. Additionally, the nullness annotation was added to the underlying Java calls, to make sure the Kotlin type definition holds true. Signed-off-by: Philipp Hasper <[email protected]>
Minimal possible change to streamline the handling of this intent key. Alternatively, the class.java.simpleName or the !! operator could've been used at time of field definition. And the same would apply to several other places as well. Signed-off-by: Philipp Hasper <[email protected]>
This tests the changes of nextcloud#15925, where the old behavior of moving up to the root folder was changed to stay in the parent folder of the file(s) to move/copy. The new behavior is in sync with iOS and the Web UI, hence this test ensures it doesn't break Signed-off-by: Philipp Hasper <[email protected]>
This tests the changes of nextcloud#15925, where the old behavior of moving up to the root folder was changed to stay in the parent folder of the file(s) to move/copy. The new behavior is in sync with iOS and the Web UI, hence this test ensures it doesn't break Signed-off-by: Philipp Hasper <[email protected]>
This tests the changes of #15925, where the old behavior of moving up to the root folder was changed to stay in the parent folder of the file(s) to move/copy. The new behavior is in sync with iOS and the Web UI, hence this test ensures it doesn't break Signed-off-by: Philipp Hasper <[email protected]>
This tests the changes of nextcloud#15925, where the old behavior of moving up to the root folder was changed to stay in the parent folder of the file(s) to move/copy. The new behavior is in sync with iOS and the Web UI, hence this test ensures it doesn't break Signed-off-by: Philipp Hasper <[email protected]> Signed-off-by: Raphael Vieira <[email protected]>

Previous behavior always moved up to the root folder, which meant the user
lost the context of their current files. Especially in complicated nested
folder structures, this made standard operations overly complicated, like
duplicating in the same folder or duplicating/moving to a sibling folder.
This is now also in sync with the behavior of the iOS app and the web UI