Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix not being able to load more notifications after trimming #31652

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

ClearlyClaire
Copy link
Contributor

Before this change, scrolling down then up in the grouped notifications column prevents you from loading older notifications.

Indeed, the “load more”/“load older” functionality was implemented by having a trailing “gap” in the grouped notifications list, but trimNotifications removed the gap.

This PR ensures that when the notifications list is trimmed, an adequate trailing gap is added.

@ClearlyClaire ClearlyClaire added bug Something isn't working area/web interface Related to the Mastodon web interface labels Aug 29, 2024
@ClearlyClaire ClearlyClaire requested a review from a team August 29, 2024 15:02
@Gargron Gargron added this pull request to the merge queue Sep 2, 2024
Merged via the queue into main with commit c1795ee Sep 2, 2024
34 checks passed
@Gargron Gargron deleted the fixes/grouped-notifications-scroll-load-more branch September 2, 2024 20:24
justinwritescode pushed a commit to justinwritescode/mastodon that referenced this pull request Sep 15, 2024
nileane pushed a commit to nileane/mastodon that referenced this pull request Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/web interface Related to the Mastodon web interface bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants