diff --git a/.changelog/16548.txt b/.changelog/16548.txt new file mode 100644 index 000000000..ffdb8f5e0 --- /dev/null +++ b/.changelog/16548.txt @@ -0,0 +1,3 @@ +```release-note:improvement +ui: Added copy-to-clipboard buttons to server and client pages +``` diff --git a/ui/app/components/copy-button.js b/ui/app/components/copy-button.js index 979ecd701..cf12ae24e 100644 --- a/ui/app/components/copy-button.js +++ b/ui/app/components/copy-button.js @@ -1,10 +1,11 @@ import Component from '@ember/component'; import { task, timeout } from 'ember-concurrency'; -import { classNames } from '@ember-decorators/component'; +import { classNames, classNameBindings } from '@ember-decorators/component'; import classic from 'ember-classic-decorator'; @classic @classNames('copy-button') +@classNameBindings('inset') export default class CopyButton extends Component { clipboardText = null; state = null; diff --git a/ui/app/components/metadata-kv.hbs b/ui/app/components/metadata-kv.hbs index 79ddc0ce4..48fa99692 100644 --- a/ui/app/components/metadata-kv.hbs +++ b/ui/app/components/metadata-kv.hbs @@ -51,6 +51,11 @@ {{~@key}} + {{@value}} {{#if @editable}}