Skip to content
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

Merged
merged 52 commits into from
Jul 13, 2016
Merged

Multi select #1176

merged 52 commits into from
Jul 13, 2016

Conversation

tobiasKaminsky
Copy link
Contributor

@tobiasKaminsky tobiasKaminsky commented Sep 25, 2015

As discussed in #899

TASKS:

QA:

Open bugs/improvements:

@tobiasKaminsky
Copy link
Contributor Author

Ready to a very first test!
Everything should work, but the "waiting dialog" is disabled for move and delete.
I do not know if this is really necessary any longer? As a user I would assume that every option is working or if not I want to have a notification and a refreshed file list...

@jancborchardt
Copy link
Member

You’re awesome @tobiasKaminsky @AndyScherzinger! :)

Please test this @stoyicker @Kernald @davivel @masensio! :)

@cornzy
Copy link

cornzy commented Dec 29, 2015

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

@AndyScherzinger
Copy link
Contributor

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.

@tobiasKaminsky
Copy link
Contributor Author

I will do this once it is ready for QA

@masensio
Copy link

masensio commented Feb 4, 2016

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.
Could you rebase on master for updating the code?

A first Note about the code:
At a quick view I saw that several strings.xml files have been modified, I guess that it is caused by a refactor action to change a name. As you know, when you want to add/change a string in the project we only create/change this value in values/strings.xml and the rest of languages are updated using Transifex.

Thanks in advance.

<?xml version="1.0" encoding="utf-8"?><!--
ownCloud Android client application

Copyright (C) 2012 Bartek Przybylski
Copy link

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@masensio
Copy link

masensio commented Feb 4, 2016

First quick code review done.
I'll review it more deeply the next week

@AndyScherzinger
Copy link
Contributor

@masensio any comment on my comments? 😃
I committed fixed.

@AndyScherzinger
Copy link
Contributor

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

@AndyScherzinger
Copy link
Contributor

@masensio when this one gets merged please make sure that #1389 gets done right after that (housekeeping) to show the right checkboxes 😃

@tobiasKaminsky
Copy link
Contributor Author

@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?

@tobiasKaminsky
Copy link
Contributor Author

I have updated the PR and will check your comments on monday.

@tobiasKaminsky
Copy link
Contributor Author

I have done all changes according to CR and merged #1424 into it.
(I guess then #1424 can now be closed?)

@davivel
Copy link
Contributor

davivel commented Mar 10, 2016

@malkomich , could you review this PR after @tobiasKaminsky update?

@tobiasKaminsky
Copy link
Contributor Author

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"
Copy link
Contributor

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

Copy link
Contributor

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

@AndyScherzinger
Copy link
Contributor

@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
@davivel
Copy link
Contributor

davivel commented Jul 12, 2016

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

@davivel
Copy link
Contributor

davivel commented Jul 12, 2016

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.

@davivel
Copy link
Contributor

davivel commented Jul 12, 2016

Unset available offline, in the right side:

icons1

Download (left) Vs set available offline (rigth):

icon2

@davivel
Copy link
Contributor

davivel commented Jul 12, 2016

Three dots button is missing on details view for tablets, in case of mobile the button appears

Going for this

@davivel
Copy link
Contributor

davivel commented Jul 12, 2016

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

@davivel
Copy link
Contributor

davivel commented Jul 12, 2016

OK, that should do all the sub-issues ready to test. Finally . Hope.

@davivel
Copy link
Contributor

davivel commented Jul 12, 2016

And a totally subjective matter: isn't prettier with the ownCloud-blue-accent in the app bar instead of the current grey?

What do you think, world?

@AndyScherzinger
Copy link
Contributor

AndyScherzinger commented Jul 12, 2016

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

@mcastroSG
Copy link

@davivel I´ve open a new issue for #1176 (comment) and about colors i choose blue , a little more happy 😛

@davivel
Copy link
Contributor

davivel commented Jul 13, 2016

@mcastroSG , could you link the new issue in the description here? Thx

@mcastroSG
Copy link

mcastroSG commented Jul 13, 2016

@davivel #1738 -- Unable to get three dots button on Samsung Galaxy Tab 3 and Android 4.4.2 on details view

@mcastroSG
Copy link

@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!! 👏

@AndyScherzinger
Copy link
Contributor

@davivel should the blue bar coloring for multi select then be done in an another issue/PR? Or have you done it already somewhere? 😃

@davivel
Copy link
Contributor

davivel commented Jul 13, 2016

@AndyScherzinger , I just read you. Done now :)

And ready to go!

@davivel davivel merged commit 74a5942 into master Jul 13, 2016
@davivel davivel deleted the multiSelect branch July 13, 2016 11:17
@AndyScherzinger
Copy link
Contributor

🎉 AWESOME! 🎉

@davivel
Copy link
Contributor

davivel commented Jul 13, 2016

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

@rperezb
Copy link

rperezb commented Jul 22, 2016

certainly the result is worthy @davivel !
it's amazing to realize how many people has been involved in this one!
@kawohl 👀

@JKawohl
Copy link
Contributor

JKawohl commented Jul 22, 2016

@awesome work guys!

@jancborchardt
Copy link
Member

Yeah, good stuff! Now let’s work on getting in the other pull requests from 2014 and 2015 ;)

@MTRichards
Copy link

Woot!!

Matt Richards
VP Products & Markets
ownCloud, inc.

On Jul 22, 2016, at 11:56 AM, Raquel Pérez Bartolomé notifications@github.com wrote:

certainly the result is worthy @davivel !
it's amazing to realize how many people has been involved in this one!
@kawohl 👀


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

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.