-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Display copy icon and adding send action to the link menu #2730
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
|
Thanks @mario ❤️ Just pushed the fix for codacy :) |
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(); |
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 fix the typo, though it is not by you ;-)
Will fix typo and whitespace later today :) Thank you all for the feedback and review 👍 |
7236fc6
to
3c76ad9
Compare
Looks good! I would also only have the feedback of the copy icon needing more whitespace around :) |
@jancborchardt @tobiasKaminsky like this? |
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. |
Yesss, perfect! :) |
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 🎉