mirror of https://github.com/pixelfed/pixelfed.git
Merge pull request #879 from pixelfed/frontend-ui-refactor
Frontend ui refactor
This commit is contained in:
commit
c77a22b224
|
@ -217,7 +217,7 @@ class PublicApiController extends Controller
|
||||||
$page = $request->input('page');
|
$page = $request->input('page');
|
||||||
$min = $request->input('min_id');
|
$min = $request->input('min_id');
|
||||||
$max = $request->input('max_id');
|
$max = $request->input('max_id');
|
||||||
$limit = $request->input('limit') ?? 5;
|
$limit = $request->input('limit') ?? 10;
|
||||||
|
|
||||||
// TODO: Use redis for timelines
|
// TODO: Use redis for timelines
|
||||||
// $timeline = Timeline::build()->local();
|
// $timeline = Timeline::build()->local();
|
||||||
|
@ -314,7 +314,7 @@ class PublicApiController extends Controller
|
||||||
$page = $request->input('page');
|
$page = $request->input('page');
|
||||||
$min = $request->input('min_id');
|
$min = $request->input('min_id');
|
||||||
$max = $request->input('max_id');
|
$max = $request->input('max_id');
|
||||||
$limit = $request->input('limit') ?? 5;
|
$limit = $request->input('limit') ?? 10;
|
||||||
|
|
||||||
// TODO: Use redis for timelines
|
// TODO: Use redis for timelines
|
||||||
// $timeline = Timeline::build()->local();
|
// $timeline = Timeline::build()->local();
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -8,5 +8,5 @@
|
||||||
"/js/micro.js": "/js/micro.js?id=178479fb6990f8806257",
|
"/js/micro.js": "/js/micro.js?id=178479fb6990f8806257",
|
||||||
"/js/profile.js": "/js/profile.js?id=488dcd99d616ca9ef8de",
|
"/js/profile.js": "/js/profile.js?id=488dcd99d616ca9ef8de",
|
||||||
"/js/status.js": "/js/status.js?id=096927f9312b1d7bb1b0",
|
"/js/status.js": "/js/status.js?id=096927f9312b1d7bb1b0",
|
||||||
"/js/timeline.js": "/js/timeline.js?id=4101fb6ac1673f3e0abd"
|
"/js/timeline.js": "/js/timeline.js?id=846dbce71bbcd67609ab"
|
||||||
}
|
}
|
||||||
|
|
|
@ -341,7 +341,6 @@
|
||||||
mounted() {
|
mounted() {
|
||||||
this.$nextTick(function () {
|
this.$nextTick(function () {
|
||||||
$('[data-toggle="tooltip"]').tooltip()
|
$('[data-toggle="tooltip"]').tooltip()
|
||||||
this.fetchNotifications();
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -379,6 +378,7 @@
|
||||||
}
|
}
|
||||||
$('.timeline .pagination').removeClass('d-none');
|
$('.timeline .pagination').removeClass('d-none');
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
this.fetchNotifications();
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue