Merge pull request #884 from pixelfed/frontend-ui-refactor

Frontend ui refactor
This commit is contained in:
daniel 2019-02-25 00:13:11 -07:00 committed by GitHub
commit cbb39ebbb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 3 deletions

View file

@ -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') ?? 10; $limit = $request->input('limit') ?? 3;
// TODO: Use redis for timelines // TODO: Use redis for timelines
// $timeline = Timeline::build()->local(); // $timeline = Timeline::build()->local();
@ -311,7 +311,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') ?? 10; $limit = $request->input('limit') ?? 3;
// TODO: Use redis for timelines // TODO: Use redis for timelines
// $timeline = Timeline::build()->local(); // $timeline = Timeline::build()->local();

BIN
public/js/timeline.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -328,7 +328,7 @@
'mod': false, 'mod': false,
'dark': false, 'dark': false,
'notify': true, 'notify': true,
'infinite': false 'infinite': true
} }
} }
}, },