mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-24 15:31:26 +00:00
Update Network Timeline, use existing Timeline component
This commit is contained in:
parent
e5f683fda4
commit
0deaafc0dc
4 changed files with 2 additions and 2256 deletions
File diff suppressed because it is too large
Load diff
49
resources/assets/js/network-timeline.js
vendored
49
resources/assets/js/network-timeline.js
vendored
|
@ -1,49 +0,0 @@
|
|||
Vue.component(
|
||||
'notification-card',
|
||||
require('./components/NotificationCard.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'photo-presenter',
|
||||
require('./components/presenter/PhotoPresenter.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'video-presenter',
|
||||
require('./components/presenter/VideoPresenter.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'photo-album-presenter',
|
||||
require('./components/presenter/PhotoAlbumPresenter.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'video-album-presenter',
|
||||
require('./components/presenter/VideoAlbumPresenter.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'mixed-album-presenter',
|
||||
require('./components/presenter/MixedAlbumPresenter.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'post-menu',
|
||||
require('./components/PostMenu.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'network-timeline',
|
||||
require('./components/NetworkTimeline.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'announcements-card',
|
||||
require('./components/AnnouncementsCard.vue').default
|
||||
);
|
||||
|
||||
Vue.component(
|
||||
'story-component',
|
||||
require('./components/StoryTimelineComponent.vue').default
|
||||
);
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
@section('content')
|
||||
|
||||
<network-timeline></network-timeline>
|
||||
<timeline scope="network"></timeline>
|
||||
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<script type="text/javascript" src="{{ mix('js/network-timeline.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ mix('js/timeline.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
|
||||
<script type="text/javascript">window.App.boot();</script>
|
||||
@endpush
|
||||
|
|
8
webpack.mix.js
vendored
8
webpack.mix.js
vendored
|
@ -27,18 +27,10 @@ mix.js('resources/assets/js/app.js', 'public/js')
|
|||
.js('resources/assets/js/collections.js', 'public/js')
|
||||
.js('resources/assets/js/profile-directory.js', 'public/js')
|
||||
.js('resources/assets/js/story-compose.js', 'public/js')
|
||||
// .js('resources/assets/js/embed.js', 'public')
|
||||
.js('resources/assets/js/direct.js', 'public/js')
|
||||
.js('resources/assets/js/admin.js', 'public/js')
|
||||
// .js('resources/assets/js/micro.js', 'public/js')
|
||||
.js('resources/assets/js/rempro.js', 'public/js')
|
||||
.js('resources/assets/js/rempos.js', 'public/js')
|
||||
//.js('resources/assets/js/timeline_next.js', 'public/js')
|
||||
// .js('resources/assets/js/memoryprofile.js', 'public/js')
|
||||
// .js('resources/assets/js/my2020.js', 'public/js')
|
||||
.js('resources/assets/js/network-timeline.js', 'public/js')
|
||||
// .js('resources/assets/js/drive.js', 'public/js')
|
||||
// .js('resources/assets/js/register.js', 'public/js')
|
||||
|
||||
.extract([
|
||||
'lodash',
|
||||
|
|
Loading…
Reference in a new issue