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
79df7a56
Commit
79df7a56
authored
Dec 07, 2021
by
Coung Ngo
Committed by
Natalia Tepluhina
Dec 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ~/issuable_show to ~/vue_shared
parent
43e8687d
Changes
27
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
33 additions
and
33 deletions
+33
-33
app/assets/javascripts/issues/show/components/header_actions.vue
...ets/javascripts/issues/show/components/header_actions.vue
+1
-1
app/assets/javascripts/pages/projects/issues/show.js
app/assets/javascripts/pages/projects/issues/show.js
+1
-1
app/assets/javascripts/vue_shared/issuable/show/components/issuable_body.vue
...pts/vue_shared/issuable/show/components/issuable_body.vue
+0
-0
app/assets/javascripts/vue_shared/issuable/show/components/issuable_description.vue
..._shared/issuable/show/components/issuable_description.vue
+0
-0
app/assets/javascripts/vue_shared/issuable/show/components/issuable_discussion.vue
...e_shared/issuable/show/components/issuable_discussion.vue
+0
-0
app/assets/javascripts/vue_shared/issuable/show/components/issuable_edit_form.vue
...ue_shared/issuable/show/components/issuable_edit_form.vue
+0
-0
app/assets/javascripts/vue_shared/issuable/show/components/issuable_header.vue
...s/vue_shared/issuable/show/components/issuable_header.vue
+0
-0
app/assets/javascripts/vue_shared/issuable/show/components/issuable_show_root.vue
...ue_shared/issuable/show/components/issuable_show_root.vue
+0
-0
app/assets/javascripts/vue_shared/issuable/show/components/issuable_title.vue
...ts/vue_shared/issuable/show/components/issuable_title.vue
+0
-0
app/assets/javascripts/vue_shared/issuable/show/constants.js
app/assets/javascripts/vue_shared/issuable/show/constants.js
+0
-0
app/assets/javascripts/vue_shared/issuable/show/event_hub.js
app/assets/javascripts/vue_shared/issuable/show/event_hub.js
+0
-0
ee/app/assets/javascripts/integrations/jira/issues_show/components/jira_issues_show_root.vue
...ons/jira/issues_show/components/jira_issues_show_root.vue
+1
-1
ee/app/assets/javascripts/integrations/zentao/issues_show/components/zentao_issues_show_root.vue
...zentao/issues_show/components/zentao_issues_show_root.vue
+1
-1
ee/app/assets/javascripts/requirements/components/requirement_form.vue
.../javascripts/requirements/components/requirement_form.vue
+1
-1
ee/app/assets/javascripts/test_case_show/components/test_case_show_root.vue
...scripts/test_case_show/components/test_case_show_root.vue
+2
-2
ee/spec/frontend/integrations/jira/issues_show/components/jira_issues_show_root_spec.js
...jira/issues_show/components/jira_issues_show_root_spec.js
+2
-2
ee/spec/frontend/integrations/zentao/issues_show/components/zentao_issues_show_root_spec.js
...ao/issues_show/components/zentao_issues_show_root_spec.js
+3
-3
ee/spec/frontend/requirements/components/requirement_form_spec.js
...frontend/requirements/components/requirement_form_spec.js
+2
-2
ee/spec/frontend/test_case_show/components/test_case_show_root_spec.js
...end/test_case_show/components/test_case_show_root_spec.js
+6
-6
spec/frontend/issues/show/components/header_actions_spec.js
spec/frontend/issues/show/components/header_actions_spec.js
+1
-1
spec/frontend/vue_shared/issuable/show/components/issuable_body_spec.js
...vue_shared/issuable/show/components/issuable_body_spec.js
+4
-4
spec/frontend/vue_shared/issuable/show/components/issuable_description_spec.js
...red/issuable/show/components/issuable_description_spec.js
+1
-1
spec/frontend/vue_shared/issuable/show/components/issuable_edit_form_spec.js
...hared/issuable/show/components/issuable_edit_form_spec.js
+2
-2
spec/frontend/vue_shared/issuable/show/components/issuable_header_spec.js
...e_shared/issuable/show/components/issuable_header_spec.js
+1
-1
spec/frontend/vue_shared/issuable/show/components/issuable_show_root_spec.js
...hared/issuable/show/components/issuable_show_root_spec.js
+3
-3
spec/frontend/vue_shared/issuable/show/components/issuable_title_spec.js
...ue_shared/issuable/show/components/issuable_title_spec.js
+1
-1
spec/frontend/vue_shared/issuable/show/mock_data.js
spec/frontend/vue_shared/issuable/show/mock_data.js
+0
-0
No files found.
app/assets/javascripts/issues/show/components/header_actions.vue
View file @
79df7a56
...
...
@@ -3,7 +3,7 @@ import { GlButton, GlDropdown, GlDropdownItem, GlLink, GlModal } from '@gitlab/u
import
{
mapActions
,
mapGetters
,
mapState
}
from
'
vuex
'
;
import
createFlash
,
{
FLASH_TYPES
}
from
'
~/flash
'
;
import
{
EVENT_ISSUABLE_VUE_APP_CHANGE
}
from
'
~/issuable/constants
'
;
import
{
IssuableType
}
from
'
~/
issuable_
show/constants
'
;
import
{
IssuableType
}
from
'
~/
vue_shared/issuable/
show/constants
'
;
import
{
IssuableStatus
,
IssueStateEvent
}
from
'
~/issues/show/constants
'
;
import
{
capitalizeFirstCharacter
}
from
'
~/lib/utils/text_utility
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
...
...
app/assets/javascripts/pages/projects/issues/show.js
View file @
79df7a56
import
loadAwardsHandler
from
'
~/awards_handler
'
;
import
ShortcutsIssuable
from
'
~/behaviors/shortcuts/shortcuts_issuable
'
;
import
initIssuableSidebar
from
'
~/init_issuable_sidebar
'
;
import
{
IssuableType
}
from
'
~/
issuable_
show/constants
'
;
import
{
IssuableType
}
from
'
~/
vue_shared/issuable/
show/constants
'
;
import
Issue
from
'
~/issue
'
;
import
{
initIncidentApp
,
initIncidentHeaderActions
}
from
'
~/issues/show/incident
'
;
import
{
initIssuableApp
,
initIssueHeaderActions
}
from
'
~/issues/show/issue
'
;
...
...
app/assets/javascripts/
issuable_
show/components/issuable_body.vue
→
app/assets/javascripts/
vue_shared/issuable/
show/components/issuable_body.vue
View file @
79df7a56
File moved
app/assets/javascripts/
issuable_
show/components/issuable_description.vue
→
app/assets/javascripts/
vue_shared/issuable/
show/components/issuable_description.vue
View file @
79df7a56
File moved
app/assets/javascripts/
issuable_
show/components/issuable_discussion.vue
→
app/assets/javascripts/
vue_shared/issuable/
show/components/issuable_discussion.vue
View file @
79df7a56
File moved
app/assets/javascripts/
issuable_
show/components/issuable_edit_form.vue
→
app/assets/javascripts/
vue_shared/issuable/
show/components/issuable_edit_form.vue
View file @
79df7a56
File moved
app/assets/javascripts/
issuable_
show/components/issuable_header.vue
→
app/assets/javascripts/
vue_shared/issuable/
show/components/issuable_header.vue
View file @
79df7a56
File moved
app/assets/javascripts/
issuable_
show/components/issuable_show_root.vue
→
app/assets/javascripts/
vue_shared/issuable/
show/components/issuable_show_root.vue
View file @
79df7a56
File moved
app/assets/javascripts/
issuable_
show/components/issuable_title.vue
→
app/assets/javascripts/
vue_shared/issuable/
show/components/issuable_title.vue
View file @
79df7a56
File moved
app/assets/javascripts/
issuable_
show/constants.js
→
app/assets/javascripts/
vue_shared/issuable/
show/constants.js
View file @
79df7a56
File moved
app/assets/javascripts/
issuable_
show/event_hub.js
→
app/assets/javascripts/
vue_shared/issuable/
show/event_hub.js
View file @
79df7a56
File moved
ee/app/assets/javascripts/integrations/jira/issues_show/components/jira_issues_show_root.vue
View file @
79df7a56
...
...
@@ -7,7 +7,7 @@ import { fetchIssue } from 'ee/integrations/jira/issues_show/api';
import
JiraIssueSidebar
from
'
ee/integrations/jira/issues_show/components/sidebar/jira_issues_sidebar_root.vue
'
;
import
{
IssuableStatus
,
IssuableStatusText
}
from
'
~/issues/show/constants
'
;
import
IssuableShow
from
'
~/
issuable_
show/components/issuable_show_root.vue
'
;
import
IssuableShow
from
'
~/
vue_shared/issuable/
show/components/issuable_show_root.vue
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
{
s__
}
from
'
~/locale
'
;
...
...
ee/app/assets/javascripts/integrations/zentao/issues_show/components/zentao_issues_show_root.vue
View file @
79df7a56
...
...
@@ -7,7 +7,7 @@ import { fetchIssue } from 'ee/integrations/zentao/issues_show/api';
import
ZentaoIssueSidebar
from
'
ee/integrations/zentao/issues_show/components/sidebar/zentao_issues_sidebar_root.vue
'
;
import
{
IssuableStatus
,
IssuableStatusText
}
from
'
~/issues/show/constants
'
;
import
IssuableShow
from
'
~/
issuable_
show/components/issuable_show_root.vue
'
;
import
IssuableShow
from
'
~/
vue_shared/issuable/
show/components/issuable_show_root.vue
'
;
import
{
convertObjectPropsToCamelCase
}
from
'
~/lib/utils/common_utils
'
;
import
{
s__
}
from
'
~/locale
'
;
...
...
ee/app/assets/javascripts/requirements/components/requirement_form.vue
View file @
79df7a56
...
...
@@ -9,7 +9,7 @@ import {
}
from
'
@gitlab/ui
'
;
import
$
from
'
jquery
'
;
import
{
isEmpty
}
from
'
lodash
'
;
import
IssuableBody
from
'
~/
issuable_
show/components/issuable_body.vue
'
;
import
IssuableBody
from
'
~/
vue_shared/issuable/
show/components/issuable_body.vue
'
;
import
{
TAB_KEY_CODE
}
from
'
~/lib/utils/keycodes
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
ZenMode
from
'
~/zen_mode
'
;
...
...
ee/app/assets/javascripts/test_case_show/components/test_case_show_root.vue
View file @
79df7a56
...
...
@@ -11,8 +11,8 @@ import {
}
from
'
@gitlab/ui
'
;
import
{
getIdFromGraphQLId
}
from
'
~/graphql_shared/utils
'
;
import
IssuableShow
from
'
~/
issuable_
show/components/issuable_show_root.vue
'
;
import
IssuableEventHub
from
'
~/
issuable_
show/event_hub
'
;
import
IssuableShow
from
'
~/
vue_shared/issuable/
show/components/issuable_show_root.vue
'
;
import
IssuableEventHub
from
'
~/
vue_shared/issuable/
show/event_hub
'
;
import
{
s__
,
__
}
from
'
~/locale
'
;
import
TestCaseGraphQL
from
'
../mixins/test_case_graphql
'
;
...
...
ee/spec/frontend/integrations/jira/issues_show/components/jira_issues_show_root_spec.js
View file @
79df7a56
...
...
@@ -6,8 +6,8 @@ import JiraIssuesShow from 'ee/integrations/jira/issues_show/components/jira_iss
import
JiraIssueSidebar
from
'
ee/integrations/jira/issues_show/components/sidebar/jira_issues_sidebar_root.vue
'
;
import
{
IssuableStatus
}
from
'
~/issues/show/constants
'
;
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
IssuableHeader
from
'
~/
issuable_
show/components/issuable_header.vue
'
;
import
IssuableShow
from
'
~/
issuable_
show/components/issuable_show_root.vue
'
;
import
IssuableHeader
from
'
~/
vue_shared/issuable/
show/components/issuable_header.vue
'
;
import
IssuableShow
from
'
~/
vue_shared/issuable/
show/components/issuable_show_root.vue
'
;
import
IssuableSidebar
from
'
~/vue_shared/issuable/sidebar/components/issuable_sidebar_root.vue
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
{
mockJiraIssue
}
from
'
../mock_data
'
;
...
...
ee/spec/frontend/integrations/zentao/issues_show/components/zentao_issues_show_root_spec.js
View file @
79df7a56
...
...
@@ -6,9 +6,9 @@ import ZentaoIssuesShow from 'ee/integrations/zentao/issues_show/components/zent
import
waitForPromises
from
'
helpers/wait_for_promises
'
;
import
{
createMockDirective
,
getBinding
}
from
'
helpers/vue_mock_directive
'
;
import
{
shallowMountExtended
}
from
'
helpers/vue_test_utils_helper
'
;
import
IssuableHeader
from
'
~/
issuable_
show/components/issuable_header.vue
'
;
import
IssuableShow
from
'
~/
issuable_
show/components/issuable_show_root.vue
'
;
import
IssuableDiscussion
from
'
~/
issuable_
show/components/issuable_discussion.vue
'
;
import
IssuableHeader
from
'
~/
vue_shared/issuable/
show/components/issuable_header.vue
'
;
import
IssuableShow
from
'
~/
vue_shared/issuable/
show/components/issuable_show_root.vue
'
;
import
IssuableDiscussion
from
'
~/
vue_shared/issuable/
show/components/issuable_discussion.vue
'
;
import
Note
from
'
ee/external_issues_show/components/note.vue
'
;
import
IssuableSidebar
from
'
~/vue_shared/issuable/sidebar/components/issuable_sidebar_root.vue
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
...
...
ee/spec/frontend/requirements/components/requirement_form_spec.js
View file @
79df7a56
...
...
@@ -9,8 +9,8 @@ import RequirementStatusBadge from 'ee/requirements/components/requirement_statu
import
{
TestReportStatus
}
from
'
ee/requirements/constants
'
;
import
IssuableBody
from
'
~/
issuable_
show/components/issuable_body.vue
'
;
import
IssuableEditForm
from
'
~/
issuable_
show/components/issuable_edit_form.vue
'
;
import
IssuableBody
from
'
~/
vue_shared/issuable/
show/components/issuable_body.vue
'
;
import
IssuableEditForm
from
'
~/
vue_shared/issuable/
show/components/issuable_edit_form.vue
'
;
import
MarkdownField
from
'
~/vue_shared/components/markdown/field.vue
'
;
import
ZenMode
from
'
~/zen_mode
'
;
...
...
ee/spec/frontend/test_case_show/components/test_case_show_root_spec.js
View file @
79df7a56
...
...
@@ -5,16 +5,16 @@ import TestCaseShowRoot from 'ee/test_case_show/components/test_case_show_root.v
import
TestCaseSidebar
from
'
ee/test_case_show/components/test_case_sidebar.vue
'
;
import
{
mockCurrentUserTodo
}
from
'
jest/vue_shared/issuable/list/mock_data
'
;
import
IssuableBody
from
'
~/
issuable_
show/components/issuable_body.vue
'
;
import
IssuableEditForm
from
'
~/
issuable_
show/components/issuable_edit_form.vue
'
;
import
IssuableHeader
from
'
~/
issuable_
show/components/issuable_header.vue
'
;
import
IssuableShow
from
'
~/
issuable_
show/components/issuable_show_root.vue
'
;
import
IssuableEventHub
from
'
~/
issuable_
show/event_hub
'
;
import
IssuableBody
from
'
~/
vue_shared/issuable/
show/components/issuable_body.vue
'
;
import
IssuableEditForm
from
'
~/
vue_shared/issuable/
show/components/issuable_edit_form.vue
'
;
import
IssuableHeader
from
'
~/
vue_shared/issuable/
show/components/issuable_header.vue
'
;
import
IssuableShow
from
'
~/
vue_shared/issuable/
show/components/issuable_show_root.vue
'
;
import
IssuableEventHub
from
'
~/
vue_shared/issuable/
show/event_hub
'
;
import
IssuableSidebar
from
'
~/vue_shared/issuable/sidebar/components/issuable_sidebar_root.vue
'
;
import
{
mockProvide
,
mockTestCase
}
from
'
../mock_data
'
;
jest
.
mock
(
'
~/
issuable_
show/event_hub
'
);
jest
.
mock
(
'
~/
vue_shared/issuable/
show/event_hub
'
);
const
createComponent
=
({
testCase
,
testCaseQueryLoading
=
false
}
=
{})
=>
shallowMount
(
TestCaseShowRoot
,
{
...
...
spec/frontend/issues/show/components/header_actions_spec.js
View file @
79df7a56
...
...
@@ -2,7 +2,7 @@ import { GlButton, GlDropdown, GlDropdownItem, GlLink, GlModal } from '@gitlab/u
import
{
createLocalVue
,
shallowMount
}
from
'
@vue/test-utils
'
;
import
Vuex
from
'
vuex
'
;
import
createFlash
,
{
FLASH_TYPES
}
from
'
~/flash
'
;
import
{
IssuableType
}
from
'
~/
issuable_
show/constants
'
;
import
{
IssuableType
}
from
'
~/
vue_shared/issuable/
show/constants
'
;
import
HeaderActions
from
'
~/issues/show/components/header_actions.vue
'
;
import
{
IssuableStatus
,
IssueStateEvent
}
from
'
~/issues/show/constants
'
;
import
promoteToEpicMutation
from
'
~/issues/show/queries/promote_to_epic.mutation.graphql
'
;
...
...
spec/frontend/
issuable_
show/components/issuable_body_spec.js
→
spec/frontend/
vue_shared/issuable/
show/components/issuable_body_spec.js
View file @
79df7a56
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
useFakeDate
}
from
'
helpers/fake_date
'
;
import
IssuableBody
from
'
~/
issuable_
show/components/issuable_body.vue
'
;
import
IssuableBody
from
'
~/
vue_shared/issuable/
show/components/issuable_body.vue
'
;
import
IssuableDescription
from
'
~/
issuable_
show/components/issuable_description.vue
'
;
import
IssuableEditForm
from
'
~/
issuable_
show/components/issuable_edit_form.vue
'
;
import
IssuableTitle
from
'
~/
issuable_
show/components/issuable_title.vue
'
;
import
IssuableDescription
from
'
~/
vue_shared/issuable/
show/components/issuable_description.vue
'
;
import
IssuableEditForm
from
'
~/
vue_shared/issuable/
show/components/issuable_edit_form.vue
'
;
import
IssuableTitle
from
'
~/
vue_shared/issuable/
show/components/issuable_title.vue
'
;
import
TaskList
from
'
~/task_list
'
;
import
TimeAgoTooltip
from
'
~/vue_shared/components/time_ago_tooltip.vue
'
;
...
...
spec/frontend/
issuable_
show/components/issuable_description_spec.js
→
spec/frontend/
vue_shared/issuable/
show/components/issuable_description_spec.js
View file @
79df7a56
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
$
from
'
jquery
'
;
import
IssuableDescription
from
'
~/
issuable_
show/components/issuable_description.vue
'
;
import
IssuableDescription
from
'
~/
vue_shared/issuable/
show/components/issuable_description.vue
'
;
import
{
mockIssuable
}
from
'
../mock_data
'
;
...
...
spec/frontend/
issuable_
show/components/issuable_edit_form_spec.js
→
spec/frontend/
vue_shared/issuable/
show/components/issuable_edit_form_spec.js
View file @
79df7a56
import
{
GlFormInput
}
from
'
@gitlab/ui
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
IssuableEditForm
from
'
~/
issuable_
show/components/issuable_edit_form.vue
'
;
import
IssuableEventHub
from
'
~/
issuable_
show/event_hub
'
;
import
IssuableEditForm
from
'
~/
vue_shared/issuable/
show/components/issuable_edit_form.vue
'
;
import
IssuableEventHub
from
'
~/
vue_shared/issuable/
show/event_hub
'
;
import
MarkdownField
from
'
~/vue_shared/components/markdown/field.vue
'
;
import
{
mockIssuableShowProps
,
mockIssuable
}
from
'
../mock_data
'
;
...
...
spec/frontend/
issuable_
show/components/issuable_header_spec.js
→
spec/frontend/
vue_shared/issuable/
show/components/issuable_header_spec.js
View file @
79df7a56
...
...
@@ -2,7 +2,7 @@ import { GlIcon, GlAvatarLabeled } from '@gitlab/ui';
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
extendedWrapper
}
from
'
helpers/vue_test_utils_helper
'
;
import
IssuableHeader
from
'
~/
issuable_
show/components/issuable_header.vue
'
;
import
IssuableHeader
from
'
~/
vue_shared/issuable/
show/components/issuable_header.vue
'
;
import
{
mockIssuableShowProps
,
mockIssuable
}
from
'
../mock_data
'
;
...
...
spec/frontend/
issuable_
show/components/issuable_show_root_spec.js
→
spec/frontend/
vue_shared/issuable/
show/components/issuable_show_root_spec.js
View file @
79df7a56
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
IssuableBody
from
'
~/
issuable_
show/components/issuable_body.vue
'
;
import
IssuableHeader
from
'
~/
issuable_
show/components/issuable_header.vue
'
;
import
IssuableShowRoot
from
'
~/
issuable_
show/components/issuable_show_root.vue
'
;
import
IssuableBody
from
'
~/
vue_shared/issuable/
show/components/issuable_body.vue
'
;
import
IssuableHeader
from
'
~/
vue_shared/issuable/
show/components/issuable_header.vue
'
;
import
IssuableShowRoot
from
'
~/
vue_shared/issuable/
show/components/issuable_show_root.vue
'
;
import
IssuableSidebar
from
'
~/vue_shared/issuable/sidebar/components/issuable_sidebar_root.vue
'
;
...
...
spec/frontend/
issuable_
show/components/issuable_title_spec.js
→
spec/frontend/
vue_shared/issuable/
show/components/issuable_title_spec.js
View file @
79df7a56
...
...
@@ -2,7 +2,7 @@ import { GlIcon, GlButton, GlIntersectionObserver } from '@gitlab/ui';
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
createMockDirective
,
getBinding
}
from
'
helpers/vue_mock_directive
'
;
import
IssuableTitle
from
'
~/
issuable_
show/components/issuable_title.vue
'
;
import
IssuableTitle
from
'
~/
vue_shared/issuable/
show/components/issuable_title.vue
'
;
import
{
mockIssuableShowProps
,
mockIssuable
}
from
'
../mock_data
'
;
...
...
spec/frontend/
issuable_
show/mock_data.js
→
spec/frontend/
vue_shared/issuable/
show/mock_data.js
View file @
79df7a56
File moved
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