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

Show announcements in reverse chronological order #15065

Merged
merged 1 commit into from
Oct 30, 2020
Merged

Show announcements in reverse chronological order #15065

merged 1 commit into from
Oct 30, 2020

Conversation

dariusk
Copy link
Contributor

@dariusk dariusk commented Oct 30, 2020

On my server we often have many server-wide events that we announce using the (great) announcements tool. We often have four or five announcements for upcoming events at a time. As it currently stands, the announcements are rendered in the home timeline announcement widget with the oldest announcement being the first one shown, and then you page through until you get to the newest announcement at the end of the list. This means that when a new announcement is made, the user sees the dot on the megaphone icon, clicks on it, then has to page through a bunch of things to get to the new thing.

This PR simply reverses the rendering order so that the newest item is first, and as you page through they get older and older until you hit the oldest at the end of the list. My users requested this change and so far it's a hit with everyone.

@Gargron Gargron merged commit f1f0400 into mastodon:master Oct 30, 2020
dariusk added a commit to friendcamp/mastodon that referenced this pull request Oct 30, 2020
dariusk added a commit to friendcamp/mastodon that referenced this pull request Oct 30, 2020
This fixes a bug in mastodon#15065 where the "read" indicator was not getting correctly set. The ID of a dismissed announcement is now correct.
ponapalt added a commit to ponapalt/mastodon that referenced this pull request Nov 1, 2020
umonaca pushed a commit to umonaca/mastodon that referenced this pull request Nov 8, 2020
Gargron pushed a commit that referenced this pull request Nov 19, 2020
This fixes a bug in #15065 where the "read" indicator was not getting correctly set. The ID of a dismissed announcement is now correct.
ponapalt added a commit to ponapalt/mastodon that referenced this pull request Nov 19, 2020
ponapalt added a commit to ponapalt/mastodon that referenced this pull request Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants