Commit 0f84dc3e authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch 'jivanvl-change-copy-text-link-to-chart' into 'master'

Change the link to chart copy text

See merge request gitlab-org/gitlab!28371
parents 98dbc055 5ca9d2bc
...@@ -259,7 +259,7 @@ export default { ...@@ -259,7 +259,7 @@ export default {
:data-clipboard-text="clipboardText" :data-clipboard-text="clipboardText"
@click="showToast(clipboardText)" @click="showToast(clipboardText)"
> >
{{ __('Generate link to chart') }} {{ __('Copy link to chart') }}
</gl-dropdown-item> </gl-dropdown-item>
<gl-dropdown-item <gl-dropdown-item
v-if="alertWidgetAvailable" v-if="alertWidgetAvailable"
......
---
title: Change the link to chart copy text
merge_request: 28371
author:
type: other
...@@ -5656,6 +5656,9 @@ msgstr "" ...@@ -5656,6 +5656,9 @@ msgstr ""
msgid "Copy link" msgid "Copy link"
msgstr "" msgstr ""
msgid "Copy link to chart"
msgstr ""
msgid "Copy personal access token" msgid "Copy personal access token"
msgstr "" msgstr ""
...@@ -9141,9 +9144,6 @@ msgstr "" ...@@ -9141,9 +9144,6 @@ msgstr ""
msgid "Generate key" msgid "Generate key"
msgstr "" msgstr ""
msgid "Generate link to chart"
msgstr ""
msgid "Generate new export" msgid "Generate new export"
msgstr "" msgstr ""
......
...@@ -341,7 +341,7 @@ describe('Panel Type component', () => { ...@@ -341,7 +341,7 @@ describe('Panel Type component', () => {
}); });
it('adds a copy button to the dropdown', () => { it('adds a copy button to the dropdown', () => {
expect(findCopyLink().text()).toContain('Generate link to chart'); expect(findCopyLink().text()).toContain('Copy link to chart');
}); });
it('opens a toast on click', () => { it('opens a toast on click', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment