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
2aa8935b
Commit
2aa8935b
authored
Apr 01, 2021
by
Yogi
Committed by
Kushal Pandya
Apr 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Submit issue to Create issue in boards and docs
parent
8aa6760b
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
29 additions
and
27 deletions
+29
-27
app/assets/javascripts/boards/components/board_new_issue.vue
app/assets/javascripts/boards/components/board_new_issue.vue
+1
-1
app/assets/javascripts/boards/components/board_new_issue_deprecated.vue
...ascripts/boards/components/board_new_issue_deprecated.vue
+1
-1
changelogs/unreleased/rename-create-issue.yml
changelogs/unreleased/rename-create-issue.yml
+5
-0
doc/development/documentation/structure.md
doc/development/documentation/structure.md
+1
-1
doc/operations/incident_management/incidents.md
doc/operations/incident_management/incidents.md
+1
-1
doc/user/discussions/index.md
doc/user/discussions/index.md
+1
-1
doc/user/project/issues/confidential_issues.md
doc/user/project/issues/confidential_issues.md
+1
-1
ee/spec/features/boards/new_issue_spec.rb
ee/spec/features/boards/new_issue_spec.rb
+1
-1
ee/spec/features/boards/swimlanes/epics_swimlanes_spec.rb
ee/spec/features/boards/swimlanes/epics_swimlanes_spec.rb
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+0
-3
spec/features/boards/new_issue_spec.rb
spec/features/boards/new_issue_spec.rb
+3
-3
spec/features/groups/board_spec.rb
spec/features/groups/board_spec.rb
+1
-1
spec/features/users/terms_spec.rb
spec/features/users/terms_spec.rb
+1
-1
spec/frontend/boards/board_new_issue_deprecated_spec.js
spec/frontend/boards/board_new_issue_deprecated_spec.js
+8
-8
spec/frontend/boards/components/board_new_issue_spec.js
spec/frontend/boards/components/board_new_issue_spec.js
+3
-3
No files found.
app/assets/javascripts/boards/components/board_new_issue.vue
View file @
2aa8935b
...
...
@@ -10,7 +10,7 @@ import ProjectSelect from './project_select.vue';
export
default
{
name
:
'
BoardNewIssue
'
,
i18n
:
{
submit
:
__
(
'
Submit
issue
'
),
submit
:
__
(
'
Create
issue
'
),
cancel
:
__
(
'
Cancel
'
),
},
components
:
{
...
...
app/assets/javascripts/boards/components/board_new_issue_deprecated.vue
View file @
2aa8935b
...
...
@@ -121,7 +121,7 @@ export default {
variant=
"success"
category=
"primary"
type=
"submit"
>
{{
__
(
'
Submit
issue
'
)
}}
</gl-button
>
{{
__
(
'
Create
issue
'
)
}}
</gl-button
>
<gl-button
ref=
"cancelButton"
...
...
changelogs/unreleased/rename-create-issue.yml
0 → 100644
View file @
2aa8935b
---
title
:
Rename Submit issue to Create issue in boards and docs
merge_request
:
58243
author
:
Yogi (@yo)
type
:
changed
doc/development/documentation/structure.md
View file @
2aa8935b
...
...
@@ -113,7 +113,7 @@ To create an issue:
1.
Go to
**Issues > List**
.
1.
In the top right, click
**New issue**
.
1.
Complete the fields. (If you have a reference topic that lists each field, link to it here.)
1.
Click
**
Submit
issue**
.
1.
Click
**
Create
issue**
.
The issue is created. You can view it by going to
**Issues > List**
.
```
...
...
doc/operations/incident_management/incidents.md
View file @
2aa8935b
...
...
@@ -39,7 +39,7 @@ Incident, you have two options to do this manually.
1.
Go to
**Issues > List**
, and select
**New issue**
.
1.
In the
**Type**
dropdown, select
**Incident**
. Only fields relevant to
incidents are displayed on the page.
1.
Create the incident as needed, and select
**
Submit
issue**
to save the
1.
Create the incident as needed, and select
**
Create
issue**
to save the
incident.
![
Incident List Create
](
img/new_incident_create_v13_4.png
)
...
...
doc/user/discussions/index.md
View file @
2aa8935b
...
...
@@ -119,7 +119,7 @@ the unresolved threads.
![
Issue mentioning threads in a merge request
](
img/preview_issue_for_threads.png
)
Hitting
**
Submit
issue**
causes all threads to be marked as resolved and
Hitting
**
Create
issue**
causes all threads to be marked as resolved and
add a note referring to the newly created issue.
![
Mark threads as resolved notice
](
img/resolve_thread_issue_notice.png
)
...
...
doc/user/project/issues/confidential_issues.md
View file @
2aa8935b
...
...
@@ -19,7 +19,7 @@ You can make an issue confidential during issue creation or by editing
an existing one.
When you create a new issue, a checkbox right below the text area is available
to mark the issue as confidential. Check that box and hit the
**
Submit
issue**
to mark the issue as confidential. Check that box and hit the
**
Create
issue**
button to create the issue. For existing issues, edit them, check the
confidential checkbox and hit
**Save changes**
.
...
...
ee/spec/features/boards/new_issue_spec.rb
View file @
2aa8935b
...
...
@@ -27,7 +27,7 @@ RSpec.describe 'Issue Boards new issue', :js do
page
.
within
(
first
(
'.board-new-issue-form'
))
do
find
(
'.form-control'
).
set
(
'new issue'
)
click_button
'
Submit
issue'
click_button
'
Create
issue'
end
wait_for_requests
...
...
ee/spec/features/boards/swimlanes/epics_swimlanes_spec.rb
View file @
2aa8935b
...
...
@@ -137,7 +137,7 @@ RSpec.describe 'epics swimlanes', :js do
page
.
within
(
first
(
'.board-new-issue-form'
))
do
find
(
'.form-control'
).
set
(
'bug'
)
click_button
'
Submit
issue'
click_button
'
Create
issue'
end
wait_for_all_requests
...
...
locale/gitlab.pot
View file @
2aa8935b
...
...
@@ -29319,9 +29319,6 @@ msgstr ""
msgid "Submit feedback"
msgstr ""
msgid "Submit issue"
msgstr ""
msgid "Submit review"
msgstr ""
...
...
spec/features/boards/new_issue_spec.rb
View file @
2aa8935b
...
...
@@ -60,7 +60,7 @@ RSpec.describe 'Issue Boards new issue', :js do
page
.
within
(
first
(
'.board-new-issue-form'
))
do
find
(
'.form-control'
).
set
(
'bug'
)
click_button
'
Submit
issue'
click_button
'
Create
issue'
end
wait_for_requests
...
...
@@ -85,7 +85,7 @@ RSpec.describe 'Issue Boards new issue', :js do
page
.
within
(
first
(
'.board-new-issue-form'
))
do
find
(
'.form-control'
).
set
(
'bug'
)
click_button
'
Submit
issue'
click_button
'
Create
issue'
end
wait_for_requests
...
...
@@ -100,7 +100,7 @@ RSpec.describe 'Issue Boards new issue', :js do
page
.
within
(
first
(
'.board-new-issue-form'
))
do
find
(
'.form-control'
).
set
(
'new issue'
)
click_button
'
Submit
issue'
click_button
'
Create
issue'
end
wait_for_requests
...
...
spec/features/groups/board_spec.rb
View file @
2aa8935b
...
...
@@ -33,7 +33,7 @@ RSpec.describe 'Group Boards' do
find
(
'.gl-new-dropdown-item button'
).
click
end
click_button
'
Submit
issue'
click_button
'
Create
issue'
expect
(
page
).
to
have_content
(
issue_title
)
end
...
...
spec/features/users/terms_spec.rb
View file @
2aa8935b
...
...
@@ -121,7 +121,7 @@ RSpec.describe 'Users > Terms' do
enforce_terms
click_button
'
Submit
issue'
click_button
'
Create
issue'
expect
(
current_path
).
to
eq
(
terms_path
)
...
...
spec/frontend/boards/board_new_issue_deprecated_spec.js
View file @
2aa8935b
...
...
@@ -111,7 +111,7 @@ describe('Issue boards new issue form', () => {
describe
(
'
submit success
'
,
()
=>
{
it
(
'
creates new issue
'
,
()
=>
{
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
return
Vue
.
nextTick
()
.
then
(
submitIssue
)
...
...
@@ -122,7 +122,7 @@ describe('Issue boards new issue form', () => {
it
(
'
enables button after submit
'
,
()
=>
{
jest
.
spyOn
(
wrapper
.
vm
,
'
submit
'
).
mockImplementation
();
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
return
Vue
.
nextTick
()
.
then
(
submitIssue
)
...
...
@@ -132,7 +132,7 @@ describe('Issue boards new issue form', () => {
});
it
(
'
clears title after submit
'
,
()
=>
{
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
return
Vue
.
nextTick
()
.
then
(
submitIssue
)
...
...
@@ -143,17 +143,17 @@ describe('Issue boards new issue form', () => {
it
(
'
sets detail issue after submit
'
,
()
=>
{
expect
(
boardsStore
.
detail
.
issue
.
title
).
toBe
(
undefined
);
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
return
Vue
.
nextTick
()
.
then
(
submitIssue
)
.
then
(()
=>
{
expect
(
boardsStore
.
detail
.
issue
.
title
).
toBe
(
'
submit
issue
'
);
expect
(
boardsStore
.
detail
.
issue
.
title
).
toBe
(
'
create
issue
'
);
});
});
it
(
'
sets detail list after submit
'
,
()
=>
{
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
return
Vue
.
nextTick
()
.
then
(
submitIssue
)
...
...
@@ -164,7 +164,7 @@ describe('Issue boards new issue form', () => {
it
(
'
sets detail weight after submit
'
,
()
=>
{
boardsStore
.
weightFeatureAvailable
=
true
;
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
return
Vue
.
nextTick
()
.
then
(
submitIssue
)
...
...
@@ -175,7 +175,7 @@ describe('Issue boards new issue form', () => {
it
(
'
does not set detail weight after submit
'
,
()
=>
{
boardsStore
.
weightFeatureAvailable
=
false
;
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
return
Vue
.
nextTick
()
.
then
(
submitIssue
)
...
...
spec/frontend/boards/components/board_new_issue_spec.js
View file @
2aa8935b
...
...
@@ -86,7 +86,7 @@ describe('Issue boards new issue form', () => {
describe
(
'
submit success
'
,
()
=>
{
it
(
'
creates new issue
'
,
async
()
=>
{
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
await
vm
.
$nextTick
();
await
submitIssue
();
...
...
@@ -95,7 +95,7 @@ describe('Issue boards new issue form', () => {
it
(
'
enables button after submit
'
,
async
()
=>
{
jest
.
spyOn
(
wrapper
.
vm
,
'
submit
'
).
mockImplementation
();
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
await
vm
.
$nextTick
();
await
submitIssue
();
...
...
@@ -103,7 +103,7 @@ describe('Issue boards new issue form', () => {
});
it
(
'
clears title after submit
'
,
async
()
=>
{
wrapper
.
setData
({
title
:
'
submit
issue
'
});
wrapper
.
setData
({
title
:
'
create
issue
'
});
await
vm
.
$nextTick
();
await
submitIssue
();
...
...
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