Skip to content

[Enhancement] Fix #5042 Add copy link button #5080

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

Merged
merged 6 commits into from
Dec 14, 2024

Conversation

Justweng
Copy link
Contributor

@Justweng Justweng commented Oct 21, 2022

Description

Fixes #5042
Add a copy link button next to the share link button.

Tests performed

Tested MediaDetailPagerFragment on Pixel 4 with API level 28.

Screenshots

image

Need help? See https://support.google.com/android/answer/9075928


Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

@Justweng Justweng changed the title Add copy link button Fix #5042 Add copy link button Oct 30, 2022
@nicolas-raoul nicolas-raoul changed the title Fix #5042 Add copy link button [Enhancement] Fix #5042 Add copy link button Oct 30, 2022
@whym
Copy link
Collaborator

whym commented Dec 31, 2022

Thanks for working on this! I tested it with Contributions and Explore and the new function worked well.

One thing I noticed is that the one additional button might not be ideal with a narrow screen. "Contributions" was not fully displayed when I tested with a 1080x1920 420 dpi emulator.
image

Could the new button be hidden in the dot menu in a narrow screen, perhaps? (There might be other solutions, but it was the first one I thought about.)

@shankarpriyank
Copy link
Contributor

@nicolas-raoul This pr should be good to go after the changes in the strings?

@nicolas-raoul
Copy link
Member

@Justweng Are you still working on this?
If not, someone may pull your pull request in their own branch to finish the work. 🙂

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

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

Works great in both Contributions and Explore, thanks!

@nicolas-raoul
Copy link
Member

the one additional button might not be ideal with a narrow screen

This can be the topic of another issue. :-)

@nicolas-raoul nicolas-raoul merged commit f2d1f7d into commons-app:main Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a direct "Copy Link" button next to Share button
5 participants