Skip to content

Conversation

@AndrewKeepCoding
Copy link
Contributor

Description

Copy "git clone https://github.com/microsoft/WinUI-Gallery" to clipboard when clicked.

Motivation and Context

This way is easier and less error prone.

How Has This Been Tested?

Run the app and confirmed that the text is copied to the clipboard.

Screenshots (if appropriate):

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@AndrewKeepCoding
Copy link
Contributor Author

To keep consistent alignment with the bug request icon in the SettingsCard below, I didn't use the CopyButton control here and used a FontIcon as SettingsCard.ActionIcon thus there's no fancy copy animation the CopyButton control has.

@marcelwgn
Copy link
Contributor

/azp run

1 similar comment
@karkarl
Copy link
Collaborator

karkarl commented Nov 13, 2024

/azp run

@karkarl karkarl merged commit 8a1514d into microsoft:main Nov 13, 2024
@AndrewKeepCoding AndrewKeepCoding deleted the settings-page-git-clone-copy branch November 14, 2024 00:21
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.

3 participants