diff --git a/app/Models/UserConfiguration.php b/app/Models/UserConfiguration.php index 26346bc62..cf6f7f342 100644 --- a/app/Models/UserConfiguration.php +++ b/app/Models/UserConfiguration.php @@ -40,6 +40,7 @@ * @property bool $show_fav_unread * @property bool $show_favicons * @property bool $icons_as_emojis + * @property int $simplify_over_n_feeds * @property bool $show_nav_buttons * @property string $sort_order * @property array> $sharing diff --git a/app/layout/aside_feed.phtml b/app/layout/aside_feed.phtml index 39804b8f4..62cb85df9 100644 --- a/app/layout/aside_feed.phtml +++ b/app/layout/aside_feed.phtml @@ -71,6 +71,11 @@ categories as $cat) { + $nbFeedsTotal += $cat->nbFeeds(); + } + foreach ($this->categories as $cat): $feeds = $cat->feeds(); $position = $cat->attributes('position'); @@ -95,12 +100,14 @@ ?>
  • -
  • true, 'icons_as_emojis' => false, + # Hide the dropdown configuration menu and favicon in the aside list in case of many feeds, for UI performance + 'simplify_over_n_feeds' => 1000, 'topline_read' => true, 'topline_favorite' => true,