Commit a36cb945 authored by Miguel Rincon's avatar Miguel Rincon

Merge branch '267543-create-an-empty-state-for-the-pipeline-visual-builder' into 'master'

Update empty state for the Pipeline visual builder

See merge request gitlab-org/gitlab!46781
parents 55b04976 d64cbbc5
...@@ -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
......
...@@ -18312,9 +18312,6 @@ msgstr "" ...@@ -18312,9 +18312,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 ""
...@@ -26991,6 +26988,9 @@ msgstr "" ...@@ -26991,6 +26988,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