Commit ddd91853 authored by Mark Florian's avatar Mark Florian

Merge branch '322449-write-description' into 'master'

Update New Issue form copy from comment to description

See merge request gitlab-org/gitlab!58068
parents 7423627f a1b1b743
- project = local_assigns.fetch(:project) - project = local_assigns.fetch(:project)
- model = local_assigns.fetch(:model) - model = local_assigns.fetch(:model)
- form = local_assigns.fetch(:form) - form = local_assigns.fetch(:form)
- placeholder = model.is_a?(MergeRequest) ? _('Describe the goal of the changes and what reviewers should be aware of.') : _('Write a comment or drag your files here…') - placeholder = model.is_a?(MergeRequest) ? _('Describe the goal of the changes and what reviewers should be aware of.') : _('Write a description or drag your files here…')
- supports_quick_actions = true - supports_quick_actions = true
- preview_url = preview_markdown_path(project, target_type: model.class.name) - preview_url = preview_markdown_path(project, target_type: model.class.name)
......
---
title: Update New Issue form description copy from 'wite a comment' to 'wite a description'
merge_request: 58068
author:
type: changed
...@@ -34656,6 +34656,9 @@ msgstr "" ...@@ -34656,6 +34656,9 @@ msgstr ""
msgid "Write a comment…" msgid "Write a comment…"
msgstr "" msgstr ""
msgid "Write a description or drag your files here…"
msgstr ""
msgid "Write milestone description..." msgid "Write milestone description..."
msgstr "" msgstr ""
......
...@@ -45,7 +45,7 @@ RSpec.describe "User creates issue" do ...@@ -45,7 +45,7 @@ RSpec.describe "User creates issue" do
.and have_no_content("Milestone") .and have_no_content("Milestone")
expect(page.find('#issue_title')['placeholder']).to eq 'Title' expect(page.find('#issue_title')['placeholder']).to eq 'Title'
expect(page.find('#issue_description')['placeholder']).to eq 'Write a comment or drag your files here…' expect(page.find('#issue_description')['placeholder']).to eq 'Write a description or drag your files here…'
end end
issue_title = "500 error on profile" issue_title = "500 error on profile"
......
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