BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
1192526b
Commit
1192526b
authored
Feb 15, 2018
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'users-show-dispatcher-refactor' into 'master'
Remove Webpack bundle tag for users:show See merge request gitlab-org/gitlab-ce!17014
parents
975dc69e
a68a2306
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
17 deletions
+7
-17
dispatcher.js
app/assets/javascripts/dispatcher.js
+0
-5
activity_calendar.js
app/assets/javascripts/pages/users/activity_calendar.js
+0
-0
index.js
app/assets/javascripts/pages/users/index.js
+2
-0
index.js
app/assets/javascripts/pages/users/show/index.js
+0
-3
user_tabs.js
app/assets/javascripts/pages/users/user_tabs.js
+5
-5
show.html.haml
app/views/users/show.html.haml
+0
-3
webpack.config.js
config/webpack.config.js
+0
-1
No files found.
app/assets/javascripts/dispatcher.js
View file @
1192526b
...
...
@@ -467,11 +467,6 @@ var Dispatcher;
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'users:show'
:
import
(
'./pages/users/show'
)
.
then
(
callDefault
)
.
catch
(
fail
);
break
;
case
'admin:conversational_development_index:show'
:
import
(
'./pages/admin/conversational_development_index/show'
)
.
then
(
callDefault
)
...
...
app/assets/javascripts/users/activity_calendar.js
→
app/assets/javascripts/
pages/
users/activity_calendar.js
View file @
1192526b
File moved
app/assets/javascripts/users/index.js
→
app/assets/javascripts/
pages/
users/index.js
View file @
1192526b
import
UserCallout
from
'~/user_callout'
;
import
Cookies
from
'js-cookie'
;
import
UserTabs
from
'./user_tabs'
;
...
...
@@ -22,4 +23,5 @@ document.addEventListener('DOMContentLoaded', () => {
const
page
=
$
(
'body'
).
attr
(
'data-page'
);
const
action
=
page
.
split
(
':'
)[
1
];
initUserProfile
(
action
);
new
UserCallout
();
// eslint-disable-line no-new
});
app/assets/javascripts/pages/users/show/index.js
deleted
100644 → 0
View file @
975dc69e
import
UserCallout
from
'~/user_callout'
;
export
default
()
=>
new
UserCallout
();
app/assets/javascripts/users/user_tabs.js
→
app/assets/javascripts/
pages/
users/user_tabs.js
View file @
1192526b
import
axios
from
'../lib/utils/axios_utils'
;
import
Activities
from
'../activities'
;
import
axios
from
'~/lib/utils/axios_utils'
;
import
Activities
from
'~/activities'
;
import
{
localTimeAgo
}
from
'~/lib/utils/datetime_utility'
;
import
{
__
}
from
'~/locale'
;
import
flash
from
'~/flash'
;
import
ActivityCalendar
from
'./activity_calendar'
;
import
{
localTimeAgo
}
from
'../lib/utils/datetime_utility'
;
import
{
__
}
from
'../locale'
;
import
flash
from
'../flash'
;
/**
* UserTabs
...
...
app/views/users/show.html.haml
View file @
1192526b
...
...
@@ -4,9 +4,6 @@
-
page_description
@user
.
bio
-
header_title
@user
.
name
,
user_path
(
@user
)
-
@no_container
=
true
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_d3'
=
webpack_bundle_tag
'users'
=
content_for
:meta_tags
do
=
auto_discovery_link_tag
(
:atom
,
user_url
(
@user
,
format: :atom
),
title:
"
#{
@user
.
name
}
activity"
)
...
...
config/webpack.config.js
View file @
1192526b
...
...
@@ -99,7 +99,6 @@ var config = {
vue_merge_request_widget
:
'./vue_merge_request_widget/index.js'
,
test
:
'./test.js'
,
two_factor_auth
:
'./two_factor_auth.js'
,
users
:
'./users/index.js'
,
webpack_runtime
:
'./webpack.js'
,
},
...
...
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