Commit d64cbbc5 authored by Frédéric Caplette's avatar Frédéric Caplette Committed by Miguel Rincon

Update message for empty pipeline visualization

Change the copy of the empty state of the pipeline
visualization builder.
parent 637fb5eb
...@@ -167,7 +167,11 @@ export default { ...@@ -167,7 +167,11 @@ export default {
{{ failure.text }} {{ failure.text }}
</gl-alert> </gl-alert>
<gl-alert v-if="isPipelineDataEmpty" variant="tip" :dismissible="false"> <gl-alert v-if="isPipelineDataEmpty" variant="tip" :dismissible="false">
{{ __('No content to show') }} {{
__(
'The visualization will appear in this tab when the CI/CD configuration file is populated with valid syntax.',
)
}}
</gl-alert> </gl-alert>
<div <div
v-else v-else
......
...@@ -18264,9 +18264,6 @@ msgstr "" ...@@ -18264,9 +18264,6 @@ msgstr ""
msgid "No containers available" msgid "No containers available"
msgstr "" msgstr ""
msgid "No content to show"
msgstr ""
msgid "No contributions" msgid "No contributions"
msgstr "" msgstr ""
...@@ -26934,6 +26931,9 @@ msgstr "" ...@@ -26934,6 +26931,9 @@ msgstr ""
msgid "The value of the provided variable exceeds the %{count} character limit" msgid "The value of the provided variable exceeds the %{count} character limit"
msgstr "" msgstr ""
msgid "The visualization will appear in this tab when the CI/CD configuration file is populated with valid syntax."
msgstr ""
msgid "The vulnerability is no longer detected. Verify the vulnerability has been fixed or removed before changing its status." msgid "The vulnerability is no longer detected. Verify the vulnerability has been fixed or removed before changing its status."
msgstr "" msgstr ""
......
...@@ -33,7 +33,9 @@ describe('pipeline graph component', () => { ...@@ -33,7 +33,9 @@ describe('pipeline graph component', () => {
}); });
it('renders an empty section', () => { it('renders an empty section', () => {
expect(wrapper.text()).toContain('No content to show'); expect(wrapper.text()).toContain(
'The visualization will appear in this tab when the CI/CD configuration file is populated with valid syntax.',
);
expect(findAllStagePills()).toHaveLength(0); expect(findAllStagePills()).toHaveLength(0);
expect(findAllJobPills()).toHaveLength(0); expect(findAllJobPills()).toHaveLength(0);
}); });
......
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