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: Show small action posts when sorted by activity #161

Merged
merged 2 commits into from Sep 5, 2023

Conversation

nattsw
Copy link
Contributor

@nattsw nattsw commented Sep 4, 2023

Related meta topic: https://meta.discourse.org/t/whispers-and-small-action-posts-disappear-in-post-voting-topic/267567

The bug now is that in both Sort by "Votes" and Sort by "Activity", we are not showing small action posts when a topic is closed, archived, or an assignment.

This commit removes the filter when sorting by activity, since it is chronological and makes sense for small action posts to be in between votes.

Screenshot 2023-09-04 at 7 48 47 PM

Related:
There is still an outstanding bug where due to Sort by "Activity" being a ?filter=activity, when a topic is closed, the returning post stream is empty and doesn't update the topic. That will be fixed in a separate PR.

Since 'Sort by Activity' is using '?filter=activity',
it causes the .posts-filtered-notice to show up empty.
@nattsw nattsw requested a review from tgxworld September 4, 2023 12:13
@nattsw nattsw merged commit f4402c2 into main Sep 5, 2023
5 checks passed
@nattsw nattsw deleted the show-small-actions branch September 5, 2023 02:14
@nattsw
Copy link
Contributor Author

nattsw commented Sep 5, 2023

Thanks yall!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants