-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
Conversation
Run & review this pull request in StackBlitz Codeflow. |
✅ Deploy Preview for elk-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
bd37a94
to
6b57010
Compare
✅ Deploy Preview for elk-zone ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for elk-zone ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
6b57010
to
4f17c41
Compare
components/account/AccountHeader.vue
Outdated
<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"> |
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.
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.
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.
Thank you for the review.🙂 That's a good suggestion. I modified it to show a check mark for 2 seconds.
550ac95
to
d27603a
Compare
d27603a
to
f120cc2
Compare
New check mark after clicking: copy-check.mp4 |
This is one option to solve #2199. Please see the issue for details and other options.