Hey guys, as I’m sure many of you are already aware there’s a couple of bugs that are plaguing the home page. I’ve made a hotfix for these bugs:

  1. New posts popping up and pushing all the other posts downwards - this is more prevalent on the larger lemmy instances, you’ll just be scrolling and suddenly everything’s pushed down because new posts are being added to the top of the page as they’re being created
  2. Default “All” not working - this is more something admins would be aware of but in the site settings you can set the default “Listing Type” to “All” instead of “Local”, but if you do this the home page doesn’t properly load “All”, it’ll show you the “Local” feed with “All” selected in the tabs. Seems this feature wasn’t implemented correctly in time for 0.17.4

Since 0.18 is still a little while out, and I’m sure the devs are both really busy on it (they also said they won’t be making another 0.17 release), I went ahead and made a hotfix for these. I have it up on jcgurango/lemmy-ui:0.17.4-hotfix so if you’re using docker you can just upgrade to that image. I’m not really sure how ansible works, so I can’t help with that.

Here’s the repo I have these changes on for those who want to check or build it themselves: https://github.com/jcgurango/lemmy-ui - I’ve based it on the v0.17.4 tag on the upstream repo.

    • jcg@halubilo.socialOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 years ago

      It means websockets, they way it’s implemented throughout the website has been a cause of a lot of headaches and they were using it for things where it really wasn’t needed. My hunch is it was to lessen the bandwidth usage but I wonder if that’s actually worked out.

      • MyNameIsRichard
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 years ago

        Things that are obvious in retrospect! I saw WS and my brain went straight to web site 😆 and I couldn’t think of anything else.

    • cetra3
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      There’s a technology in browsers called WebSockets. It’s good for live updates etc… new posts etc… But has been removed in the latest version. I’m assuming it’s because it’s hard to scale