Show announcements in reverse chronological order #15065
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.