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
738d03fd
Commit
738d03fd
authored
Mar 02, 2018
by
Constance Okoghenun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed burndown_chart webpack bundle
parent
68a13836
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
config/webpack.config.js
config/webpack.config.js
+0
-1
ee/app/assets/javascripts/burndown_chart/index.js
ee/app/assets/javascripts/burndown_chart/index.js
+2
-2
ee/app/assets/javascripts/pages/projects/milestones/show/index.js
...ssets/javascripts/pages/projects/milestones/show/index.js
+5
-1
ee/app/views/shared/milestones/_burndown.html.haml
ee/app/views/shared/milestones/_burndown.html.haml
+0
-3
No files found.
config/webpack.config.js
View file @
738d03fd
...
...
@@ -64,7 +64,6 @@ function generateEntries() {
// EE-only
add_gitlab_slack_application
:
'
ee/add_gitlab_slack_application/index.js
'
,
burndown_chart
:
'
ee/burndown_chart/index.js
'
,
geo_nodes
:
'
ee/geo_nodes
'
,
ldap_group_links
:
'
ee/groups/ldap_group_links.js
'
,
mirrors
:
'
ee/mirrors
'
,
...
...
ee/app/assets/javascripts/burndown_chart/index.js
View file @
738d03fd
import
Cookies
from
'
js-cookie
'
;
import
BurndownChart
from
'
./burndown_chart
'
;
$
(
()
=>
{
export
default
()
=>
{
// handle hint dismissal
const
hint
=
$
(
'
.burndown-hint
'
);
hint
.
on
(
'
click
'
,
'
.dismiss-icon
'
,
()
=>
{
...
...
@@ -47,4 +47,4 @@ $(() => {
window
.
addEventListener
(
'
resize
'
,
()
=>
chart
.
animateResize
(
1
));
$
(
document
).
on
(
'
click
'
,
'
.js-sidebar-toggle
'
,
()
=>
chart
.
animateResize
(
2
));
}
}
)
;
};
ee/app/assets/javascripts/pages/projects/milestones/show/index.js
View file @
738d03fd
import
'
~/pages/projects/milestones/show/index
'
;
import
UserCallout
from
'
~/user_callout
'
;
import
initBurndownChart
from
'
ee/burndown_chart
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
new
UserCallout
());
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
new
UserCallout
();
// eslint-disable-line no-new
initBurndownChart
();
});
ee/app/views/shared/milestones/_burndown.html.haml
View file @
738d03fd
...
...
@@ -3,9 +3,6 @@
-
burndown
=
local_assigns
[
:burndown
]
-
warning
=
data_warning_for
(
burndown
)
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'burndown_chart'
=
warning
-
if
can_generate_chart?
(
burndown
)
...
...
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