-
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
Multi select #1176
Multi select #1176
Conversation
Ready to a very first test! |
You’re awesome @tobiasKaminsky @AndyScherzinger! :) Please test this @stoyicker @Kernald @davivel @masensio! :) |
Just tested the new Beta version: First time I tried multiselect (long tab) I got a NullPointerException. Unfortunately I did not save it because I thought I will get it every time again (could I read the logs anywhere?). Now I get no exception but I have following comments: Checkboxes on the right side are very uncommon and look ugly in combination with share-icon. Nearly every other app displays the checkbox on the left. Futhermore in the normal list view there is no need of checkboxes at all when you mark the whole item in an other color - have a look at the new google fotos app. There is also a very nice solution for multi-select and it includes the new way of multi-select by dragging first to last item. Next: when I select a folder I searched for the "download" action. I know it is called synchronize but the synchronize icon looks much like a refresh. I always thought "why should I refresh, i want to download". |
BTW the material buttons branch has been merged into master and thus when this branch is updated to the latest master it will also be able make use of the new checkbox icons :) - I didn't pull due to not being able to resolve the conflicts. |
I will do this once it is ready for QA |
8b22a06
to
3eb0e55
Compare
Hi @tobiasKaminsky! Thanks for this contribution. This pull request is near of the top of priorities list, merging time is near. 😄 I'm reviewing the code, but the code hasn't the lastest changes of master branch. A first Note about the code: Thanks in advance. |
<?xml version="1.0" encoding="utf-8"?><!-- | ||
ownCloud Android client application | ||
|
||
Copyright (C) 2012 Bartek Przybylski |
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.
Please, remove this Copyright line.
Add your @author line if you want.
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.
Done
First quick code review done. |
@masensio any comment on my comments? 😃 |
@tobiasKaminsky whenever you update to latest master, can you then please pull in my PR #1424 because this one fixes the check marks for multi select of images in grid view 😃 Else it'll hurt usability.... |
@masensio regarding transifex I know, but I did refactor and not just added a new string like I should have do. I hope it is ok anyway? |
I have updated the PR and will check your comments on monday. |
@malkomich , could you review this PR after @tobiasKaminsky update? |
Update to latest master branch is done. |
android:id="@+id/action_remove_file" | ||
android:title="@string/common_remove" | ||
android:icon="@drawable/ic_action_delete_white" | ||
android:id="@+id/action_rename_file" |
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.
remove gets substituted by rename? :S
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.
I changed the order of the elements in the menu, moving first those I think could be used more often. But remove is still up there :)
@davivel I get the point with the icons being misleading, at the time I just used the standard material one which especially for move are a bit confusing. As for the sizings, nice catch, yes they have be to large especially for hdpi. The "ifRoom" might have to be changes to "never" since more icons might pop up on a table since the action bar has more room and thus might then show more icons. |
…showAsAction=never' when action is the only one in the overflow menu
Unfortunately, the "never" option is not really mandatory. I'm finding configurations where the system ignores the "never" value if the overflow menu is left with a single element in, and moves the lonely option to the app bar instead of the three dots. I just pushed updated icons for download and set/unset available offline; not a great difference, but at least they are different, and 'set available offline' matches the shape of the overlay status icon. One single action... seems too few, specially for tablets. Thanks for your feedback, pals :) |
I can confirm, even with only one element in the menu marked to be shown in the bar and the rest set to "never", Nexus 9 + Android 6 insists in drawing 5 icons in the bar. |
Going for this |
@mcastroSG , after some debugging: this bug #1176 (comment) is not related with the changes here. I've compared with master and 2.0.1, and the MENU button is broken for our app in this tablet. Could you please open a separate bug? I'd say this should have low priority; the configuration of this tablet (hardware MENU button + Android 4.4.2) breaks Google guidelines. Maybe there's something broken in Samsung's customizations. |
OK, that should do all the sub-issues ready to test. Finally . Hope. |
Both seem fine for me, I am not a UI guru... I went for the grey at the time of implementation b Tobias simply due to the fact that GMail uses it :) |
@davivel I´ve open a new issue for #1176 (comment) and about colors i choose blue , a little more happy 😛 |
@mcastroSG , could you link the new issue in the description here? Thx |
@davivel all test are passed, I´ve checked the icon issues and all remaining problems and it seems to be working fine, great job dude!! 👏 |
@davivel should the blue bar coloring for multi select then be done in an another issue/PR? Or have you done it already somewhere? 😃 |
@AndyScherzinger , I just read you. Done now :) And ready to go! |
🎉 AWESOME! 🎉 |
Thanks everybody. This was possible only thanks to you all, @tobiasKaminsky, @AndyScherzinger, @malkomich, @DavidWiesner, @jabarros, @jancborchardt, @cornzy, @masensio, @MTRichards, @cmonteroluque, @rperezb, @jesmrec and @mcastroSG. Getting to the end some times is hard, but sure the result worth it. :) |
@awesome work guys! |
Yeah, good stuff! Now let’s work on getting in the other pull requests from 2014 and 2015 ;) |
Woot!! Matt Richards
|
As discussed in #899
TASKS:
QA:
Open bugs/improvements:
Multi select fix rotate #1411 #1714Multi select fix rotate 899 (rebased) #1715