Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5ca9d2bc
Commit
5ca9d2bc
authored
Mar 30, 2020
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the link to chart copy text
parent
74096b27
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
5 deletions
+10
-5
app/assets/javascripts/monitoring/components/panel_type.vue
app/assets/javascripts/monitoring/components/panel_type.vue
+1
-1
changelogs/unreleased/jivanvl-change-copy-text-link-to-chart.yml
...ogs/unreleased/jivanvl-change-copy-text-link-to-chart.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+3
-3
spec/frontend/monitoring/components/panel_type_spec.js
spec/frontend/monitoring/components/panel_type_spec.js
+1
-1
No files found.
app/assets/javascripts/monitoring/components/panel_type.vue
View file @
5ca9d2bc
...
@@ -239,7 +239,7 @@ export default {
...
@@ -239,7 +239,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"
...
...
changelogs/unreleased/jivanvl-change-copy-text-link-to-chart.yml
0 → 100644
View file @
5ca9d2bc
---
title
:
Change the link to chart copy text
merge_request
:
28371
author
:
type
:
other
locale/gitlab.pot
View file @
5ca9d2bc
...
@@ -5659,6 +5659,9 @@ msgstr ""
...
@@ -5659,6 +5659,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 ""
...
@@ -9135,9 +9138,6 @@ msgstr ""
...
@@ -9135,9 +9138,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 ""
...
...
spec/frontend/monitoring/components/panel_type_spec.js
View file @
5ca9d2bc
...
@@ -338,7 +338,7 @@ describe('Panel Type component', () => {
...
@@ -338,7 +338,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
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment