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

feat: put account name copy button #2347

Merged
merged 3 commits into from
Nov 14, 2023
Merged

Conversation

shuuji3
Copy link
Member

@shuuji3 shuuji3 commented Aug 16, 2023

This is one option to solve #2199. Please see the issue for details and other options.

@stackblitz
Copy link

stackblitz bot commented Aug 16, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@netlify
Copy link

netlify bot commented Aug 16, 2023

Deploy Preview for elk-docs ready!

Name Link
🔨 Latest commit f120cc2
🔍 Latest deploy log https://app.netlify.com/sites/elk-docs/deploys/6553792ab1f1aa000835dfa6
😎 Deploy Preview https://deploy-preview-2347--elk-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Aug 16, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit bd37a94
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/64dc67040ca52e00097fb312
😎 Deploy Preview https://deploy-preview-2347--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Aug 16, 2023

Deploy Preview for elk-zone ready!

Name Link
🔨 Latest commit f120cc2
🔍 Latest deploy log https://app.netlify.com/sites/elk-zone/deploys/6553792a7480c800085b8bb7
😎 Deploy Preview https://deploy-preview-2347--elk-zone.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

<div flex items-center gap-1>
<AccountHandle :account="account" overflow-unset line-clamp-unset />
<CommonTooltip placement="bottom" :content="$t('account.copy_account_name')" no-auto-focus flex>
<button text-secondary-light text-sm i-ri:file-copy-line @click="copyAccountName">
Copy link
Member

Choose a reason for hiding this comment

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

Would be great if the button had some sort of response, like changing the icon to a checkmark and changing back after a few seconds.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for the review.🙂 That's a good suggestion. I modified it to show a check mark for 2 seconds.

@shuuji3
Copy link
Member Author

shuuji3 commented Nov 14, 2023

New check mark after clicking:

copy-check.mp4

@patak-dev patak-dev added this pull request to the merge queue Nov 14, 2023
Merged via the queue into elk-zone:main with commit e00e407 Nov 14, 2023
13 checks passed
@shuuji3 shuuji3 deleted the feat/copy-username branch November 14, 2023 14:59
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