Display copy icon and adding send action to the link menu#2730
Merged
tobiasKaminsky merged 8 commits intomasterfrom Jun 20, 2018
Merged
Display copy icon and adding send action to the link menu#2730tobiasKaminsky merged 8 commits intomasterfrom
tobiasKaminsky merged 8 commits intomasterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2730 +/- ##
=========================================
+ Coverage 6.49% 6.49% +<.01%
=========================================
Files 287 288 +1
Lines 29058 29070 +12
Branches 4234 4235 +1
=========================================
+ Hits 1888 1889 +1
- Misses 26886 26897 +11
Partials 284 284
|
Contributor
Member
Author
|
Thanks @mario ❤️ Just pushed the fix for codacy :) |
Closed
11aa9f9 to
7236fc6
Compare
|
|
||
| Toast.makeText(activity, R.string.clipboard_text_copied, Toast.LENGTH_SHORT).show(); | ||
| } catch (Exception e) { | ||
| Toast.makeText(activity, R.string.clipboard_uxexpected_error, Toast.LENGTH_SHORT).show(); |
Member
There was a problem hiding this comment.
Please fix the typo, though it is not by you ;-)
Member
Member
Author
|
Will fix typo and whitespace later today :) Thank you all for the feedback and review 👍 |
7236fc6 to
3c76ad9
Compare
Member
|
Looks good! I would also only have the feedback of the copy icon needing more whitespace around :) |
Member
Author
|
@jancborchardt @tobiasKaminsky like this? |
Member
|
Looks quite similar to the first screenshot it seems. The icon needs to be moved a bit down (verticaly centered with the checkboxes and text) and a bit more to the right. |
Member
Author
Member
|
Yesss, perfect! :) |
10 tasks
This was referenced Jun 20, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Fix #2705
Beware that I changed the behavior a bit as-in copy to clipboard is now a Toast, not a Snackbar. I checked the behavior for the Android OS and typical (Google) apps and they all show a Toast for this.
@jancborchardt I did change the layout a bit (see screenshots) since aligning the copy icon next to the 3-dot menu seemed strange since shared folders also have the "edit option" for link-share so I thought it be better to add a small copy-icon-badge to the text to indicate it can be clicked and moved the "send link" functionality to the link's menu (see screenshot). Is this fine with you?
Also @tobiasKaminsky @mario please review ❤️
Furthermore I think this should be put into 3.2.1 so I vote to have a backport 🎉