Merge branch 'users-show-dispatcher-refactor' into 'master'
Remove Webpack bundle tag for users:show See merge request gitlab-org/gitlab-ce!17014
This commit is contained in:
commit
1192526b89
7 changed files with 7 additions and 17 deletions
|
@ -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)
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
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
|
||||
});
|
|
@ -1,3 +0,0 @@
|
|||
import UserCallout from '~/user_callout';
|
||||
|
||||
export default () => new UserCallout();
|
|
@ -1,9 +1,9 @@
|
|||
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
|
|
@ -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")
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue