-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
#1193 - optimizing the uploader layout & taking user configured sorting into account #1277
Conversation
Code looks fine 👍 |
The upload button lost its primary class (blue color) somehow? Otherwise it looks good. |
see initial comment :) The primary coloring cannot be applied since that is part of the material buttons PR dating back to August which hasn't been merged yet... :'( |
PR is ready to review, so pinging @tobiasKaminsky @LukeOwncloud @masensio @davivel |
Looks good to me. |
Uh. I had already merged this ;) |
@jancborchardt any help? You asked for this via #1193 :) (not wanting to push my PRs into the releases knowing that @tobiasKaminsky also has a lot of unmerged PRs and the core team is working on customer features). |
@rperezb @davivel @masensio pinging you since this PR isn't yet assigned to any milestone (not even backlog), is rather small and fixed the issue #1193 opened by @jancborchardt 😃 |
@AndyScherzinger I think design-wise it looks cool! 👍 :) What’s behind the 3-dot-menu? I assume »Create new folder« and »Sort order«? |
@jancborchardt exactly :) At least for this PR. If I am not mistaken the create folder menu item might have been removed in some other issue (not sure though...). At least it is missing in the beta build ( @tobiasKaminsky ) |
We should bring that back though (maybe not in this PR), cause you might wanna add a folder to put the new files in. |
(And I assume it was removed because it was moved to the FAB. In this view the FAB would be confusing though.) |
Yes. I think this is the cause. |
Exactly, I will update the fab branch accordingly. |
fb46b1a
to
a3b8ad0
Compare
@jancborchardt just fyi, I just updated to the latest master and realized that the answer above with the menu isn't correct. The menu in the upload folder chooser only contains the create folder, nothing else. |
Then we could use the FAB also there? |
I don't think so, but we can add it. At the time of implementing the we decided to explicitly not show it. ... Trying to not do the usual mega PR thing... ;) So I would leave the decision to Jan on adding a Fab, but rather wouldn't since it is a folder chooser, so the main action is the OK button. |
You are right. But it would "just" moving the same function from three dot menu to FAB. |
cb2922e
to
aa177f7
Compare
aa177f7
to
bde6575
Compare
In the #1193 you have discussed about "matching" both uploaders view (internal and external), because of that we have the current PR. Summarizing, we have the current behaviour in master and feature branches:
Checking the chart can be noticed that you are really showing more info (2nd row contains more info as 1st row in the second column), but this info diverges more from the internal to the external uploader:
So, we have more info, but more different. What do you think about? :) |
IMHO Folders and Files should show the same info. Since this PR is about sorting I think we should display the information which would then also match the main view as in
any comments @rperezb @davivel @jancborchardt |
@davivel please review again my latest code change now does the following: the main file list, the internal uploader, the external uploader all look the same layout wise and they all render the same data (folders: last modification, files size, last modification). Hope you like it this way 😃 |
Reviewed, 👍 Great work here, pals :) |
i love this way 👍 👍 Approved |
@AndyScherzinger , could you please rebase and merge? Just to prevent I appear as the comitter... Thanks a lot! |
…ser configured sorting into account
…ser configured sorting into account
… methods to private visibility
ba40d18
to
0db0ab1
Compare
You're very welcome! Rebased, just waiting for travis to be able to merge then 🎉 |
For the detailed discussion please see #1193, see attached the screenshots for both sortings from my local tests. Works fine switching the sorting in app and then launching the uploader screen via another app.
This branch is based on
master
Beware of certain "details":
material_buttons
branchmaterial_buttons
branchmaterial_fab
branch since with the introduction of the fab the general guideline has been to hide non-primary actions in the actionbar in the overflow menuPR is ready to review, so pinging @tobiasKaminsky @LukeOwncloud @masensio @davivel @jancborchardt for review and integration within the beta branch :)
@jancborchardt Little detail: The title is a re-use of the choose-text which I changed for english but will be "wrong"/old before the branch is merged into master and transifex translations for the other languages come in. Just letting you know :)
BUGS / IMPROVEMENTS: