backport of commit ddd74c051a4f02a2ace43abd6e0617b8ea3c1192 (#18012)
This pull request was automerged via backport-assistant
This commit is contained in:
parent
36163c36f8
commit
180ea2df9c
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:improvement
|
||||||
|
ui: added a button to copy variable path to clipboard
|
||||||
|
```
|
|
@ -24,6 +24,10 @@
|
||||||
margin-right: 0.25rem;
|
margin-right: 0.25rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.copy-button {
|
||||||
|
position: relative;
|
||||||
|
top: 3px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.new-variables {
|
.new-variables {
|
||||||
|
|
|
@ -7,6 +7,12 @@
|
||||||
<div>
|
<div>
|
||||||
<FlightIcon @name="file-text" />
|
<FlightIcon @name="file-text" />
|
||||||
{{this.model.path}}
|
{{this.model.path}}
|
||||||
|
<CopyButton
|
||||||
|
@inset={{true}}
|
||||||
|
@compact={{true}}
|
||||||
|
@clipboardText={{this.model.path}}
|
||||||
|
/>
|
||||||
|
|
||||||
<Toggle
|
<Toggle
|
||||||
{{keyboard-shortcut
|
{{keyboard-shortcut
|
||||||
label="Toggle View (JSON/List)"
|
label="Toggle View (JSON/List)"
|
||||||
|
|
Loading…
Reference in New Issue