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
75bc547f
Commit
75bc547f
authored
Mar 01, 2018
by
Clement Ho
Committed by
Jacob Schatz
Mar 01, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove epic show and new epic webpack bundle tag
parent
50c66197
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
27 additions
and
22 deletions
+27
-22
config/webpack.config.js
config/webpack.config.js
+0
-2
ee/app/assets/javascripts/epics/epic_show/epic_show_bundle.js
...pp/assets/javascripts/epics/epic_show/epic_show_bundle.js
+2
-2
ee/app/assets/javascripts/epics/new_epic/new_epic_bundle.js
ee/app/assets/javascripts/epics/new_epic/new_epic_bundle.js
+15
-12
ee/app/assets/javascripts/pages/groups/epics/index/index.js
ee/app/assets/javascripts/pages/groups/epics/index/index.js
+2
-0
ee/app/assets/javascripts/pages/groups/epics/show/index.js
ee/app/assets/javascripts/pages/groups/epics/show/index.js
+5
-1
ee/app/assets/javascripts/pages/groups/roadmap/show/index.js
ee/app/assets/javascripts/pages/groups/roadmap/show/index.js
+3
-0
ee/app/views/groups/epics/index.html.haml
ee/app/views/groups/epics/index.html.haml
+0
-2
ee/app/views/groups/epics/show.html.haml
ee/app/views/groups/epics/show.html.haml
+0
-1
ee/app/views/shared/empty_states/_epics.html.haml
ee/app/views/shared/empty_states/_epics.html.haml
+0
-1
ee/app/views/shared/empty_states/_roadmap.html.haml
ee/app/views/shared/empty_states/_roadmap.html.haml
+0
-1
No files found.
config/webpack.config.js
View file @
75bc547f
...
...
@@ -68,8 +68,6 @@ function generateEntries() {
// EE-only
add_gitlab_slack_application
:
'
ee/add_gitlab_slack_application/index.js
'
,
burndown_chart
:
'
ee/burndown_chart/index.js
'
,
epic_show
:
'
ee/epics/epic_show/epic_show_bundle.js
'
,
new_epic
:
'
ee/epics/new_epic/new_epic_bundle.js
'
,
geo_nodes
:
'
ee/geo_nodes
'
,
issuable
:
'
ee/issuable/issuable_bundle.js
'
,
issues
:
'
ee/issues/issues_bundle.js
'
,
...
...
ee/app/assets/javascripts/epics/epic_show/epic_show_bundle.js
View file @
75bc547f
import
Vue
from
'
vue
'
;
import
EpicShowApp
from
'
./components/epic_show_app.vue
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
export
default
()
=>
{
const
el
=
document
.
querySelector
(
'
#epic-show-app
'
);
const
metaData
=
JSON
.
parse
(
el
.
dataset
.
meta
);
const
initialData
=
JSON
.
parse
(
el
.
dataset
.
initial
);
...
...
@@ -21,4 +21,4 @@ document.addEventListener('DOMContentLoaded', () => {
props
,
}),
});
}
)
;
};
ee/app/assets/javascripts/epics/new_epic/new_epic_bundle.js
View file @
75bc547f
import
Vue
from
'
vue
'
;
import
NewEpicApp
from
'
./components/new_epic.vue
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
export
default
()
=>
{
const
el
=
document
.
querySelector
(
'
#new-epic-app
'
);
const
props
=
el
.
dataset
;
return
new
Vue
({
el
,
components
:
{
'
new-epic-app
'
:
NewEpicApp
,
},
render
:
createElement
=>
createElement
(
'
new-epic-app
'
,
{
props
,
}),
});
});
if
(
el
)
{
const
props
=
el
.
dataset
;
new
Vue
({
// eslint-disable-line no-new
el
,
components
:
{
'
new-epic-app
'
:
NewEpicApp
,
},
render
:
createElement
=>
createElement
(
'
new-epic-app
'
,
{
props
,
}),
});
}
};
ee/app/assets/javascripts/pages/groups/epics/index/index.js
View file @
75bc547f
import
initFilteredSearch
from
'
~/pages/search/init_filtered_search
'
;
import
FilteredSearchTokenKeysEpics
from
'
ee/filtered_search/filtered_search_token_keys_epics
'
;
import
initNewEpic
from
'
ee/epics/new_epic/new_epic_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
initFilteredSearch
({
...
...
@@ -7,4 +8,5 @@ document.addEventListener('DOMContentLoaded', () => {
filteredSearchTokenKeys
:
FilteredSearchTokenKeysEpics
,
stateFiltersSelector
:
'
.epics-state-filters
'
,
});
initNewEpic
();
});
ee/app/assets/javascripts/pages/groups/epics/show/index.js
View file @
75bc547f
import
ZenMode
from
'
~/zen_mode
'
;
import
initEpicShow
from
'
ee/epics/epic_show/epic_show_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
new
ZenMode
());
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
ZenMode
();
// eslint-disable-line no-new
initEpicShow
();
});
ee/app/assets/javascripts/pages/groups/roadmap/show/index.js
0 → 100644
View file @
75bc547f
import
initNewEpic
from
'
ee/epics/new_epic/new_epic_bundle
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
initNewEpic
);
ee/app/views/groups/epics/index.html.haml
View file @
75bc547f
...
...
@@ -4,8 +4,6 @@
=
render
'shared/issuable/epic_nav'
,
type: :epics
.nav-controls
-
if
can?
(
current_user
,
:create_epic
,
@group
)
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'new_epic'
#new-epic-app
{
data:
{
endpoint:
request
.
url
,
'align-right'
=>
true
}
}
=
render
'shared/epic/search_bar'
,
type: :epics
...
...
ee/app/views/groups/epics/show.html.haml
View file @
75bc547f
...
...
@@ -14,6 +14,5 @@
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'epic_show'
#epic-show-app
{
data:
{
initial:
issuable_initial_data
(
@epic
).
to_json
,
meta:
epic_meta_data
}
}
ee/app/views/shared/empty_states/_epics.html.haml
View file @
75bc547f
...
...
@@ -11,5 +11,4 @@
-
if
can?
(
current_user
,
:create_epic
,
@group
)
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'new_epic'
#new-epic-app
{
data:
{
endpoint:
request
.
url
}
}
ee/app/views/shared/empty_states/_roadmap.html.haml
View file @
75bc547f
...
...
@@ -11,7 +11,6 @@
-
if
can?
(
current_user
,
:create_epic
,
@group
)
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'new_epic'
#new-epic-app
{
data:
{
endpoint:
request
.
url
}
}
=
link_to
group_epics_path
(
@group
),
title:
'List'
,
class:
'btn'
do
%span
=
_
(
'View epics list'
)
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