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

New posts are streamed to the top of the page against expected sorting behavior #1103

Closed
andscape-dev opened this issue Jun 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@andscape-dev
Copy link

Issue Summary

While sorting by Hot or Active, new posts with no activity or upvotes are pushed to the top of the page (see attached image), even if they don't fit the sorting algorithm. They also end up above pinned posts, which I assume is not desired behavior. Refreshing the page makes these new posts disappear, restoring the expected ordering.

Seems related to #681. Posts are indeed streaming in without needing a refresh, but they are doing so even when they shouldn't.

Steps to Reproduce

  1. Log into my instance on Firefox desktop
  2. Select a feed (I've noticed this problem on both Local and All, could be also affecting Subscribed but I don't have frequent enough activity in that feed to test)
  3. Sort by Hot or Active
  4. Wait some time for new posts to be posted or pushed to the instance

Technical details

  • Environment: Mozilla Firefox 113.0.2 on Desktop
  • UI Version: 0.17.3
lemmy-ui-new-posts-bug
@andscape-dev andscape-dev added the bug Something isn't working label Jun 7, 2023
@Nutomic
Copy link
Member

Nutomic commented Jun 7, 2023

This will be fixed soon when websocket is removed.

@dessalines
Copy link
Member

This is done in main now that websockets are removed.

@dessalines dessalines closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants