* Increase efficiency and fix pagination offset issue Right now we filter recently aggregated notifications at runtime, which worked before when there was no pagination, but now filtering is not a good idea combined with offset pagination because it throws off the calculations. The filtering should be done in the SQL query before paginating, which is what we've switched to. I added a bunch of scopes to make the code clearer as well. To avoid nesting tags I've also updated the HTML and the JS logic to insert it in the right place. * Add explanation for hiding the load more button for new users |
||
|---|---|---|
| .. | ||
| shared | ||
| _aggregated_reactions.html.erb | ||
| _article.html.erb | ||
| _badgeachievement.html.erb | ||
| _broadcast.html.erb | ||
| _comment.html.erb | ||
| _follow.html.erb | ||
| _mention.html.erb | ||
| _milestone.html.erb | ||
| _notifications_list.html.erb | ||
| _reaction.html.erb | ||
| _tagadjustment.html.erb | ||
| index.html.erb | ||