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
7d291d54
Commit
7d291d54
authored
Dec 07, 2021
by
Coung Ngo
Committed by
Frédéric Caplette
Dec 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move ~/issuable_bulk_update_sidebar and other issuable code
parent
7acd6ef4
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
31 additions
and
31 deletions
+31
-31
app/assets/javascripts/issuable/bulk_update_sidebar/components/status_select.vue
...issuable/bulk_update_sidebar/components/status_select.vue
+0
-0
app/assets/javascripts/issuable/bulk_update_sidebar/constants.js
...ets/javascripts/issuable/bulk_update_sidebar/constants.js
+0
-0
app/assets/javascripts/issuable/bulk_update_sidebar/init_issue_status_select.js
.../issuable/bulk_update_sidebar/init_issue_status_select.js
+0
-0
app/assets/javascripts/issuable/bulk_update_sidebar/issuable_bulk_update_actions.js
...uable/bulk_update_sidebar/issuable_bulk_update_actions.js
+0
-0
app/assets/javascripts/issuable/bulk_update_sidebar/issuable_bulk_update_sidebar.js
...uable/bulk_update_sidebar/issuable_bulk_update_sidebar.js
+0
-0
app/assets/javascripts/issuable/bulk_update_sidebar/issuable_init_bulk_update_sidebar.js
.../bulk_update_sidebar/issuable_init_bulk_update_sidebar.js
+0
-0
app/assets/javascripts/issuable/bulk_update_sidebar/subscription_select.js
...ripts/issuable/bulk_update_sidebar/subscription_select.js
+0
-0
app/assets/javascripts/issuable/init_issuable_sidebar.js
app/assets/javascripts/issuable/init_issuable_sidebar.js
+2
-2
app/assets/javascripts/issuable/issuable_context.js
app/assets/javascripts/issuable/issuable_context.js
+2
-2
app/assets/javascripts/issuable/issuable_form.js
app/assets/javascripts/issuable/issuable_form.js
+8
-8
app/assets/javascripts/issuable/issuable_index.js
app/assets/javascripts/issuable/issuable_index.js
+1
-1
app/assets/javascripts/issues_list/components/issues_list_app.vue
...ts/javascripts/issues_list/components/issues_list_app.vue
+1
-1
app/assets/javascripts/labels_select.js
app/assets/javascripts/labels_select.js
+1
-1
app/assets/javascripts/merge_conflicts/merge_conflicts_bundle.js
...ets/javascripts/merge_conflicts/merge_conflicts_bundle.js
+1
-1
app/assets/javascripts/pages/groups/issues/index.js
app/assets/javascripts/pages/groups/issues/index.js
+1
-1
app/assets/javascripts/pages/groups/merge_requests/index.js
app/assets/javascripts/pages/groups/merge_requests/index.js
+1
-1
app/assets/javascripts/pages/projects/issues/form.js
app/assets/javascripts/pages/projects/issues/form.js
+1
-1
app/assets/javascripts/pages/projects/issues/index/index.js
app/assets/javascripts/pages/projects/issues/index/index.js
+1
-1
app/assets/javascripts/pages/projects/issues/show.js
app/assets/javascripts/pages/projects/issues/show.js
+1
-1
app/assets/javascripts/pages/projects/merge_requests/index/index.js
.../javascripts/pages/projects/merge_requests/index/index.js
+1
-1
app/assets/javascripts/pages/projects/merge_requests/init_merge_request.js
...ripts/pages/projects/merge_requests/init_merge_request.js
+1
-1
app/assets/javascripts/pages/projects/merge_requests/init_merge_request_show.js
.../pages/projects/merge_requests/init_merge_request_show.js
+1
-1
ee/app/assets/javascripts/issuable/issuable_form.js
ee/app/assets/javascripts/issuable/issuable_form.js
+1
-1
ee/app/assets/javascripts/pages/groups/epics/index/index.js
ee/app/assets/javascripts/pages/groups/epics/index/index.js
+1
-1
spec/frontend/issuable/bulk_update_sidebar/components/status_select_spec.js
...able/bulk_update_sidebar/components/status_select_spec.js
+2
-2
spec/frontend/issuable/issuable_form_spec.js
spec/frontend/issuable/issuable_form_spec.js
+1
-1
spec/frontend/issuable/issuable_spec.js
spec/frontend/issuable/issuable_spec.js
+2
-2
No files found.
app/assets/javascripts/issuable
_
bulk_update_sidebar/components/status_select.vue
→
app/assets/javascripts/issuable
/
bulk_update_sidebar/components/status_select.vue
View file @
7d291d54
File moved
app/assets/javascripts/issuable
_
bulk_update_sidebar/constants.js
→
app/assets/javascripts/issuable
/
bulk_update_sidebar/constants.js
View file @
7d291d54
File moved
app/assets/javascripts/issuable
_
bulk_update_sidebar/init_issue_status_select.js
→
app/assets/javascripts/issuable
/
bulk_update_sidebar/init_issue_status_select.js
View file @
7d291d54
File moved
app/assets/javascripts/issuable
_
bulk_update_sidebar/issuable_bulk_update_actions.js
→
app/assets/javascripts/issuable
/
bulk_update_sidebar/issuable_bulk_update_actions.js
View file @
7d291d54
File moved
app/assets/javascripts/issuable
_
bulk_update_sidebar/issuable_bulk_update_sidebar.js
→
app/assets/javascripts/issuable
/
bulk_update_sidebar/issuable_bulk_update_sidebar.js
View file @
7d291d54
File moved
app/assets/javascripts/issuable
_
bulk_update_sidebar/issuable_init_bulk_update_sidebar.js
→
app/assets/javascripts/issuable
/
bulk_update_sidebar/issuable_init_bulk_update_sidebar.js
View file @
7d291d54
File moved
app/assets/javascripts/issuable
_
bulk_update_sidebar/subscription_select.js
→
app/assets/javascripts/issuable
/
bulk_update_sidebar/subscription_select.js
View file @
7d291d54
File moved
app/assets/javascripts/init_issuable_sidebar.js
→
app/assets/javascripts/i
ssuable/i
nit_issuable_sidebar.js
View file @
7d291d54
/* eslint-disable no-new */
/* eslint-disable no-new */
import
{
getSidebarOptions
}
from
'
~/sidebar/mount_sidebar
'
;
import
{
getSidebarOptions
}
from
'
~/sidebar/mount_sidebar
'
;
import
IssuableContext
from
'
.
/issuable_context
'
;
import
IssuableContext
from
'
~/issuable
/issuable_context
'
;
import
Sidebar
from
'
.
/right_sidebar
'
;
import
Sidebar
from
'
~
/right_sidebar
'
;
export
default
()
=>
{
export
default
()
=>
{
const
sidebarOptEl
=
document
.
querySelector
(
'
.js-sidebar-options
'
);
const
sidebarOptEl
=
document
.
querySelector
(
'
.js-sidebar-options
'
);
...
...
app/assets/javascripts/issuable_context.js
→
app/assets/javascripts/issuable
/issuable
_context.js
View file @
7d291d54
import
{
GlBreakpointInstance
as
bp
}
from
'
@gitlab/ui/dist/utils
'
;
import
{
GlBreakpointInstance
as
bp
}
from
'
@gitlab/ui/dist/utils
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
Cookies
from
'
js-cookie
'
;
import
Cookies
from
'
js-cookie
'
;
import
{
loadCSSFile
}
from
'
.
/lib/utils/css_utils
'
;
import
{
loadCSSFile
}
from
'
~
/lib/utils/css_utils
'
;
import
UsersSelect
from
'
.
/users_select
'
;
import
UsersSelect
from
'
~
/users_select
'
;
export
default
class
IssuableContext
{
export
default
class
IssuableContext
{
constructor
(
currentUser
)
{
constructor
(
currentUser
)
{
...
...
app/assets/javascripts/issuable_form.js
→
app/assets/javascripts/issuable
/issuable
_form.js
View file @
7d291d54
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
Pikaday
from
'
pikaday
'
;
import
Pikaday
from
'
pikaday
'
;
import
GfmAutoComplete
from
'
ee_else_ce/gfm_auto_complete
'
;
import
GfmAutoComplete
from
'
ee_else_ce/gfm_auto_complete
'
;
import
Autosave
from
'
.
/autosave
'
;
import
Autosave
from
'
~
/autosave
'
;
import
AutoWidthDropdownSelect
from
'
.
/issuable/auto_width_dropdown_select
'
;
import
AutoWidthDropdownSelect
from
'
~
/issuable/auto_width_dropdown_select
'
;
import
{
loadCSSFile
}
from
'
.
/lib/utils/css_utils
'
;
import
{
loadCSSFile
}
from
'
~
/lib/utils/css_utils
'
;
import
{
parsePikadayDate
,
pikadayToString
}
from
'
.
/lib/utils/datetime_utility
'
;
import
{
parsePikadayDate
,
pikadayToString
}
from
'
~
/lib/utils/datetime_utility
'
;
import
{
select2AxiosTransport
}
from
'
.
/lib/utils/select2_utils
'
;
import
{
select2AxiosTransport
}
from
'
~
/lib/utils/select2_utils
'
;
import
{
queryToObject
,
objectToQuery
}
from
'
.
/lib/utils/url_utility
'
;
import
{
queryToObject
,
objectToQuery
}
from
'
~
/lib/utils/url_utility
'
;
import
UsersSelect
from
'
.
/users_select
'
;
import
UsersSelect
from
'
~
/users_select
'
;
import
ZenMode
from
'
.
/zen_mode
'
;
import
ZenMode
from
'
~
/zen_mode
'
;
const
MR_SOURCE_BRANCH
=
'
merge_request[source_branch]
'
;
const
MR_SOURCE_BRANCH
=
'
merge_request[source_branch]
'
;
const
MR_TARGET_BRANCH
=
'
merge_request[target_branch]
'
;
const
MR_TARGET_BRANCH
=
'
merge_request[target_branch]
'
;
...
...
app/assets/javascripts/issuable_index.js
→
app/assets/javascripts/issuable
/issuable
_index.js
View file @
7d291d54
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
_
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
/
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
export
default
class
IssuableIndex
{
export
default
class
IssuableIndex
{
constructor
(
pagePrefix
=
'
issuable_
'
)
{
constructor
(
pagePrefix
=
'
issuable_
'
)
{
...
...
app/assets/javascripts/issues_list/components/issues_list_app.vue
View file @
7d291d54
...
@@ -499,7 +499,7 @@ export default {
...
@@ -499,7 +499,7 @@ export default {
async
handleBulkUpdateClick
()
{
async
handleBulkUpdateClick
()
{
if
(
!
this
.
hasInitBulkEdit
)
{
if
(
!
this
.
hasInitBulkEdit
)
{
const
initBulkUpdateSidebar
=
await
import
(
const
initBulkUpdateSidebar
=
await
import
(
'
~/issuable
_
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
'
~/issuable
/
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
);
);
initBulkUpdateSidebar
.
default
.
init
(
'
issuable_
'
);
initBulkUpdateSidebar
.
default
.
init
(
'
issuable_
'
);
...
...
app/assets/javascripts/labels_select.js
View file @
7d291d54
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
{
difference
,
isEqual
,
escape
,
sortBy
,
template
,
union
}
from
'
lodash
'
;
import
{
difference
,
isEqual
,
escape
,
sortBy
,
template
,
union
}
from
'
lodash
'
;
import
initDeprecatedJQueryDropdown
from
'
~/deprecated_jquery_dropdown
'
;
import
initDeprecatedJQueryDropdown
from
'
~/deprecated_jquery_dropdown
'
;
import
IssuableBulkUpdateActions
from
'
~/issuable
_
bulk_update_sidebar/issuable_bulk_update_actions
'
;
import
IssuableBulkUpdateActions
from
'
~/issuable
/
bulk_update_sidebar/issuable_bulk_update_actions
'
;
import
{
isScopedLabel
}
from
'
~/lib/utils/common_utils
'
;
import
{
isScopedLabel
}
from
'
~/lib/utils/common_utils
'
;
import
CreateLabelDropdown
from
'
./create_label
'
;
import
CreateLabelDropdown
from
'
./create_label
'
;
import
createFlash
from
'
./flash
'
;
import
createFlash
from
'
./flash
'
;
...
...
app/assets/javascripts/merge_conflicts/merge_conflicts_bundle.js
View file @
7d291d54
import
Vue
from
'
vue
'
;
import
Vue
from
'
vue
'
;
import
initIssuableSidebar
from
'
..
/init_issuable_sidebar
'
;
import
initIssuableSidebar
from
'
~/issuable
/init_issuable_sidebar
'
;
import
MergeConflictsResolverApp
from
'
./merge_conflict_resolver_app.vue
'
;
import
MergeConflictsResolverApp
from
'
./merge_conflict_resolver_app.vue
'
;
import
{
createStore
}
from
'
./store
'
;
import
{
createStore
}
from
'
./store
'
;
...
...
app/assets/javascripts/pages/groups/issues/index.js
View file @
7d291d54
import
IssuableFilteredSearchTokenKeys
from
'
ee_else_ce/filtered_search/issuable_filtered_search_token_keys
'
;
import
IssuableFilteredSearchTokenKeys
from
'
ee_else_ce/filtered_search/issuable_filtered_search_token_keys
'
;
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
_
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
/
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
{
mountIssuablesListApp
,
mountIssuesListApp
}
from
'
~/issues_list
'
;
import
{
mountIssuablesListApp
,
mountIssuesListApp
}
from
'
~/issues_list
'
;
import
initManualOrdering
from
'
~/manual_ordering
'
;
import
initManualOrdering
from
'
~/manual_ordering
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
...
...
app/assets/javascripts/pages/groups/merge_requests/index.js
View file @
7d291d54
import
addExtraTokensForMergeRequests
from
'
ee_else_ce/filtered_search/add_extra_tokens_for_merge_requests
'
;
import
addExtraTokensForMergeRequests
from
'
ee_else_ce/filtered_search/add_extra_tokens_for_merge_requests
'
;
import
IssuableFilteredSearchTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
import
IssuableFilteredSearchTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
_
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
/
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
import
projectSelect
from
'
~/project_select
'
;
import
projectSelect
from
'
~/project_select
'
;
...
...
app/assets/javascripts/pages/projects/issues/form.js
View file @
7d291d54
/* eslint-disable no-new */
/* eslint-disable no-new */
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
IssuableForm
from
'
ee_else_ce/issuable_form
'
;
import
IssuableForm
from
'
ee_else_ce/issuable
/issuable
_form
'
;
import
ShortcutsNavigation
from
'
~/behaviors/shortcuts/shortcuts_navigation
'
;
import
ShortcutsNavigation
from
'
~/behaviors/shortcuts/shortcuts_navigation
'
;
import
GLForm
from
'
~/gl_form
'
;
import
GLForm
from
'
~/gl_form
'
;
import
initSuggestions
from
'
~/issues/suggestions
'
;
import
initSuggestions
from
'
~/issues/suggestions
'
;
...
...
app/assets/javascripts/pages/projects/issues/index/index.js
View file @
7d291d54
...
@@ -2,7 +2,7 @@ import IssuableFilteredSearchTokenKeys from 'ee_else_ce/filtered_search/issuable
...
@@ -2,7 +2,7 @@ import IssuableFilteredSearchTokenKeys from 'ee_else_ce/filtered_search/issuable
import
ShortcutsNavigation
from
'
~/behaviors/shortcuts/shortcuts_navigation
'
;
import
ShortcutsNavigation
from
'
~/behaviors/shortcuts/shortcuts_navigation
'
;
import
initCsvImportExportButtons
from
'
~/issuable/init_csv_import_export_buttons
'
;
import
initCsvImportExportButtons
from
'
~/issuable/init_csv_import_export_buttons
'
;
import
initIssuableByEmail
from
'
~/issuable/init_issuable_by_email
'
;
import
initIssuableByEmail
from
'
~/issuable/init_issuable_by_email
'
;
import
IssuableIndex
from
'
~/issuable_index
'
;
import
IssuableIndex
from
'
~/issuable
/issuable
_index
'
;
import
{
mountIssuablesListApp
,
mountIssuesListApp
,
mountJiraIssuesListApp
}
from
'
~/issues_list
'
;
import
{
mountIssuablesListApp
,
mountIssuesListApp
,
mountJiraIssuesListApp
}
from
'
~/issues_list
'
;
import
initManualOrdering
from
'
~/manual_ordering
'
;
import
initManualOrdering
from
'
~/manual_ordering
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
...
...
app/assets/javascripts/pages/projects/issues/show.js
View file @
7d291d54
import
loadAwardsHandler
from
'
~/awards_handler
'
;
import
loadAwardsHandler
from
'
~/awards_handler
'
;
import
ShortcutsIssuable
from
'
~/behaviors/shortcuts/shortcuts_issuable
'
;
import
ShortcutsIssuable
from
'
~/behaviors/shortcuts/shortcuts_issuable
'
;
import
initIssuableSidebar
from
'
~/init_issuable_sidebar
'
;
import
initIssuableSidebar
from
'
~/i
ssuable/i
nit_issuable_sidebar
'
;
import
{
IssuableType
}
from
'
~/vue_shared/issuable/show/constants
'
;
import
{
IssuableType
}
from
'
~/vue_shared/issuable/show/constants
'
;
import
Issue
from
'
~/issue
'
;
import
Issue
from
'
~/issue
'
;
import
{
initIncidentApp
,
initIncidentHeaderActions
}
from
'
~/issues/show/incident
'
;
import
{
initIncidentApp
,
initIncidentHeaderActions
}
from
'
~/issues/show/incident
'
;
...
...
app/assets/javascripts/pages/projects/merge_requests/index/index.js
View file @
7d291d54
...
@@ -3,7 +3,7 @@ import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
...
@@ -3,7 +3,7 @@ import ShortcutsNavigation from '~/behaviors/shortcuts/shortcuts_navigation';
import
IssuableFilteredSearchTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
import
IssuableFilteredSearchTokenKeys
from
'
~/filtered_search/issuable_filtered_search_token_keys
'
;
import
initCsvImportExportButtons
from
'
~/issuable/init_csv_import_export_buttons
'
;
import
initCsvImportExportButtons
from
'
~/issuable/init_csv_import_export_buttons
'
;
import
initIssuableByEmail
from
'
~/issuable/init_issuable_by_email
'
;
import
initIssuableByEmail
from
'
~/issuable/init_issuable_by_email
'
;
import
IssuableIndex
from
'
~/issuable_index
'
;
import
IssuableIndex
from
'
~/issuable
/issuable
_index
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
FILTERED_SEARCH
}
from
'
~/pages/constants
'
;
import
{
ISSUABLE_INDEX
}
from
'
~/pages/projects/constants
'
;
import
{
ISSUABLE_INDEX
}
from
'
~/pages/projects/constants
'
;
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
...
...
app/assets/javascripts/pages/projects/merge_requests/init_merge_request.js
View file @
7d291d54
/* eslint-disable no-new */
/* eslint-disable no-new */
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
IssuableForm
from
'
ee_else_ce/issuable_form
'
;
import
IssuableForm
from
'
ee_else_ce/issuable
/issuable
_form
'
;
import
ShortcutsNavigation
from
'
~/behaviors/shortcuts/shortcuts_navigation
'
;
import
ShortcutsNavigation
from
'
~/behaviors/shortcuts/shortcuts_navigation
'
;
import
Diff
from
'
~/diff
'
;
import
Diff
from
'
~/diff
'
;
import
GLForm
from
'
~/gl_form
'
;
import
GLForm
from
'
~/gl_form
'
;
...
...
app/assets/javascripts/pages/projects/merge_requests/init_merge_request_show.js
View file @
7d291d54
...
@@ -3,7 +3,7 @@ import VueApollo from 'vue-apollo';
...
@@ -3,7 +3,7 @@ import VueApollo from 'vue-apollo';
import
loadAwardsHandler
from
'
~/awards_handler
'
;
import
loadAwardsHandler
from
'
~/awards_handler
'
;
import
ShortcutsIssuable
from
'
~/behaviors/shortcuts/shortcuts_issuable
'
;
import
ShortcutsIssuable
from
'
~/behaviors/shortcuts/shortcuts_issuable
'
;
import
{
initPipelineCountListener
}
from
'
~/commit/pipelines/utils
'
;
import
{
initPipelineCountListener
}
from
'
~/commit/pipelines/utils
'
;
import
initIssuableSidebar
from
'
~/init_issuable_sidebar
'
;
import
initIssuableSidebar
from
'
~/i
ssuable/i
nit_issuable_sidebar
'
;
import
StatusBox
from
'
~/issuable/components/status_box.vue
'
;
import
StatusBox
from
'
~/issuable/components/status_box.vue
'
;
import
createDefaultClient
from
'
~/lib/graphql
'
;
import
createDefaultClient
from
'
~/lib/graphql
'
;
import
initSourcegraph
from
'
~/sourcegraph
'
;
import
initSourcegraph
from
'
~/sourcegraph
'
;
...
...
ee/app/assets/javascripts/issuable_form.js
→
ee/app/assets/javascripts/issuable
/issuable
_form.js
View file @
7d291d54
import
groupsSelect
from
'
~/groups_select
'
;
import
groupsSelect
from
'
~/groups_select
'
;
import
IssuableForm
from
'
~/issuable_form
'
;
import
IssuableForm
from
'
~/issuable
/issuable
_form
'
;
export
default
class
IssuableFormEE
extends
IssuableForm
{
export
default
class
IssuableFormEE
extends
IssuableForm
{
constructor
(
form
)
{
constructor
(
form
)
{
...
...
ee/app/assets/javascripts/pages/groups/epics/index/index.js
View file @
7d291d54
import
initEpicCreateApp
from
'
ee/epic/epic_bundle
'
;
import
initEpicCreateApp
from
'
ee/epic/epic_bundle
'
;
import
initEpicsList
from
'
ee/epics_list/epics_list_bundle
'
;
import
initEpicsList
from
'
ee/epics_list/epics_list_bundle
'
;
import
FilteredSearchTokenKeysEpics
from
'
ee/filtered_search/filtered_search_token_keys_epics
'
;
import
FilteredSearchTokenKeysEpics
from
'
ee/filtered_search/filtered_search_token_keys_epics
'
;
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
_
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
/
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
const
EPIC_BULK_UPDATE_PREFIX
=
'
epic_
'
;
const
EPIC_BULK_UPDATE_PREFIX
=
'
epic_
'
;
...
...
spec/frontend/issuable
_
bulk_update_sidebar/components/status_select_spec.js
→
spec/frontend/issuable
/
bulk_update_sidebar/components/status_select_spec.js
View file @
7d291d54
import
{
GlDropdown
,
GlDropdownItem
}
from
'
@gitlab/ui
'
;
import
{
GlDropdown
,
GlDropdownItem
}
from
'
@gitlab/ui
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
{
shallowMount
}
from
'
@vue/test-utils
'
;
import
StatusSelect
from
'
~/issuable
_
bulk_update_sidebar/components/status_select.vue
'
;
import
StatusSelect
from
'
~/issuable
/
bulk_update_sidebar/components/status_select.vue
'
;
import
{
ISSUE_STATUS_SELECT_OPTIONS
}
from
'
~/issuable
_
bulk_update_sidebar/constants
'
;
import
{
ISSUE_STATUS_SELECT_OPTIONS
}
from
'
~/issuable
/
bulk_update_sidebar/constants
'
;
describe
(
'
StatusSelect
'
,
()
=>
{
describe
(
'
StatusSelect
'
,
()
=>
{
let
wrapper
;
let
wrapper
;
...
...
spec/frontend/issuable_form_spec.js
→
spec/frontend/issuable
/issuable
_form_spec.js
View file @
7d291d54
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
IssuableForm
from
'
~/issuable_form
'
;
import
IssuableForm
from
'
~/issuable
/issuable
_form
'
;
function
createIssuable
()
{
function
createIssuable
()
{
const
instance
=
new
IssuableForm
(
$
(
document
.
createElement
(
'
form
'
)));
const
instance
=
new
IssuableForm
(
$
(
document
.
createElement
(
'
form
'
)));
...
...
spec/frontend/issuable_spec.js
→
spec/frontend/issuable
/issuable
_spec.js
View file @
7d291d54
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
_
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
issuableInitBulkUpdateSidebar
from
'
~/issuable
/
bulk_update_sidebar/issuable_init_bulk_update_sidebar
'
;
import
IssuableIndex
from
'
~/issuable_index
'
;
import
IssuableIndex
from
'
~/issuable
/issuable
_index
'
;
describe
(
'
Issuable
'
,
()
=>
{
describe
(
'
Issuable
'
,
()
=>
{
describe
(
'
initBulkUpdate
'
,
()
=>
{
describe
(
'
initBulkUpdate
'
,
()
=>
{
...
...
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