Commit 4f4f9f89 authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch '323061-aqualls-merging' into 'master'

Improve merge message UI text

See merge request gitlab-org/gitlab!59693
parents 87290f1f ad78fef7
...@@ -19,7 +19,10 @@ export default { ...@@ -19,7 +19,10 @@ export default {
<div class="mr-widget-body mr-state-locked media"> <div class="mr-widget-body mr-state-locked media">
<status-icon status="loading" /> <status-icon status="loading" />
<div class="media-body"> <div class="media-body">
<h4>{{ s__('mrWidget|This merge request is in the process of being merged') }}</h4> <h4>
{{ s__('mrWidget|Merging! Drum roll, please…') }}
<gl-emoji data-name="drum" />
</h4>
<section class="mr-info-list"> <section class="mr-info-list">
<p> <p>
{{ s__('mrWidget|The changes will be merged into') }} {{ s__('mrWidget|The changes will be merged into') }}
......
---
title: Improve merge message UI text
merge_request: 59693
author:
type: changed
...@@ -38135,6 +38135,9 @@ msgstr "" ...@@ -38135,6 +38135,9 @@ msgstr ""
msgid "mrWidget|Merged by" msgid "mrWidget|Merged by"
msgstr "" msgstr ""
msgid "mrWidget|Merging! Drum roll, please…"
msgstr ""
msgid "mrWidget|More information" msgid "mrWidget|More information"
msgstr "" msgstr ""
...@@ -38228,9 +38231,6 @@ msgstr "" ...@@ -38228,9 +38231,6 @@ msgstr ""
msgid "mrWidget|This merge request failed to be merged automatically" msgid "mrWidget|This merge request failed to be merged automatically"
msgstr "" msgstr ""
msgid "mrWidget|This merge request is in the process of being merged"
msgstr ""
msgid "mrWidget|This project is archived, write access has been disabled" msgid "mrWidget|This project is archived, write access has been disabled"
msgstr "" msgstr ""
......
...@@ -445,7 +445,7 @@ RSpec.describe 'Merge request > User sees merge widget', :js do ...@@ -445,7 +445,7 @@ RSpec.describe 'Merge request > User sees merge widget', :js do
wait_for_requests wait_for_requests
expect(page).not_to have_button('Merge') expect(page).not_to have_button('Merge')
expect(page).to have_content('This merge request is in the process of being merged') expect(page).to have_content('Merging! Drum roll, please…')
end end
end end
......
...@@ -4,6 +4,7 @@ import MrWidgetMerging from '~/vue_merge_request_widget/components/states/mr_wid ...@@ -4,6 +4,7 @@ import MrWidgetMerging from '~/vue_merge_request_widget/components/states/mr_wid
describe('MRWidgetMerging', () => { describe('MRWidgetMerging', () => {
let wrapper; let wrapper;
const GlEmoji = { template: '<img />' };
beforeEach(() => { beforeEach(() => {
wrapper = shallowMount(MrWidgetMerging, { wrapper = shallowMount(MrWidgetMerging, {
propsData: { propsData: {
...@@ -12,6 +13,9 @@ describe('MRWidgetMerging', () => { ...@@ -12,6 +13,9 @@ describe('MRWidgetMerging', () => {
targetBranch: 'branch', targetBranch: 'branch',
}, },
}, },
stubs: {
GlEmoji,
},
}); });
}); });
...@@ -27,7 +31,7 @@ describe('MRWidgetMerging', () => { ...@@ -27,7 +31,7 @@ describe('MRWidgetMerging', () => {
.trim() .trim()
.replace(/\s\s+/g, ' ') .replace(/\s\s+/g, ' ')
.replace(/[\r\n]+/g, ' '), .replace(/[\r\n]+/g, ' '),
).toContain('This merge request is in the process of being merged'); ).toContain('Merging! Drum roll, please…');
}); });
it('renders branch information', () => { it('renders branch information', () => {
......
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