-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Create Folders when moving files #13177
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
Conversation
|
Great stuff @rummatee, cool that you work on these important design enhancements! Also cc @nextcloud/designers for review.
Can anyone from @nextcloud/javascript help here? |
|
Nice! This seems to work well, only some feedback:
What do you think @rummatee? :) |
|
thanks for your feedback.
I tried to change as little of the design of the file picker as possible. This also means that the button is slightly bigger than in the files app, as it uses the same height as the breadcrumbs. However I agree that a more uniform look would be better.
I totally missed this in my testing. Thank you for pointing it out.
Yes, good point.
The keyboard control keeps being the trickiest part of this feature. Maybe opening the folder name prompt on pressing enter will also be difficult. |
|
Also @MariusBluem @fermulator for review since you were active in related issues. :) |
|
Button looks a bit off to me (Chromium 70+). Maybe related to your last changes because @jancborchardt screenshots looks ok or a local issue on my side. |
kesselb
left a comment
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.
Good stuff 👍 Please align the button 😎
It seems to be related to Chrome. In Firefox it showed the position correctly. However my last commit should fix the position for both chrome and Firefox |
|
@nextcloud/designers can we have another review? :) |
|
@rummatee Could this be rebased on current master? My dev setup instance complains that downgrading to 15.0.5 is unsupported, so I don't know how I should test this actually. or how do you test this @jancborchardt @danielkesselberg ? |
|
I merged |
|
thank you @danielkesselberg! this finally worked... |
violoncelloCH
left a comment
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.
otherwise it looks and works great!
|
Also, if you create a folder in this "choose target folder" dialog, you normally want to place the file inside of this folder. So wouldn't it make sense to directly enter into the just created folder? What do you think @jancborchardt ? |
@violoncelloCH Yeah, that would be a nice addition! :) Good suggestion! @rummatee do you want to add that to this pull request, or want to do a separate one for that? |
|
Some tests are failing. Could you rebase this branch onto master? |
Did I do it correctly? I see that one test is still failing. |
Yes 👍 Litmus-Test is failing on |
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.
perfect from my view otherwise! 👍
|
Another rebase should fix the litmus test. Not sure about the other tests. Restarted the build just in case. |
|
A different test fails now. I don't see how these changes are related to the failing test. |
|
I rebased again and again a different test is failing. I also can't see any relation to my changes. |
1f15e4c to
fea3104
Compare
|
@MorrisJobke @rullzer could you check what it is about the failing tests? 👨🎤 |
Those are all hiccups of our test suite 🙈 We should maybe get rid of them, because they are a major annoyance. cc @juliushaertl @danxuliu @rullzer |
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
Signed-off-by: Florian Schunk <[email protected]>
|
@MorrisJobke ok, so in light of the reviews it would be fine to merge this? :) |
|
@rummatee please avoid force-pushing by the way as it makes it difficult to see which changes occured since the last time someone checked. :) |
|
Ah ok, now the test runs through, that’s why you force-pushed. Sorry and nevermind! :) |
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
I'm supposed to rebase the pull request, right? Is there a different way to do it? |
Typically if changes are added, then we do fixup commits and then a final rebase with |
That's why @jancborchardt also said that ^ 😉 |
|
And @rummatee @danielkesselberg do you know about our next Contributor Week in Stuttgart, March 11–15? Contributors like you can apply for travel/accomodation support, find more info in the blog post at https://nextcloud.com/blog/the-contributor-week-is-over-time-to-plan-for-the-next-one/ 🙂 Would be really cool to have you! 🚀 |




This Pull Request intends to solve Issue #7629 .
It adds a button to the file picker next to the breadscrumbs. When clicking on this button it opens a popup that asks for the folders name. After submitting the form, it closes the popup and reloads the file picker's content.
There is one small bug, that I couldn't fix: OC.hideMenus(); prevents the file picker from reacting to keyboard button presses until it is clicked again. So after creating a new folder the enter and escape key will only work again after the user clicked the file picker again.
Please review @MariusBluem @jancborchardt