this post was submitted on 23 Jul 2023
91 points (90.3% liked)
Asklemmy
43909 readers
1034 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If you want to talk about going from Reddit to Lemmy, probably lack of infinite scrolling, so I went ahead and made a Firefox addon called Lemmy Infinite Scroller. It's 11 lines of code. It's literally an addEventListener for the scroll event. Apparently it can take up to 3 weeks for it to be approved and end up in the Firefox Add-ons store, so I won't link it here, but it's coming.
edit: A few hours later, it's up to 40 lines of code because of handling race conditions. It should work well under normal use now but if people scroll too fast it could cause problems loading two pages ahead instead of one. It's obviously not ideal compared to an official implementation but it's something at least, unless it gets officially implemented in Lemmy before my add-on gets approved. lol
Why coding yourself a corporate practice that encouraged addition? Why you felt we were lacking that stuff?
It's a feature that makes the website more convenient for me to use. I like to work on software I know I will use myself, and then I share it with the rest of the world in case somebody else wants to use it too.
I'm sure Lemmy will get optional infinite scrolling implemented with a better implementation than mine, but it was a fun afternoon project (started out as a quick 30 minute project before the race conditions) the day before starting my new remote dev job.
I think more options and user choice is a good thing.
Ahem. BAH HAHA HAH HAHAH! deep breath BAH HAHAHAHAH!
I did an 10-minute PowerShell project at work the other day, 4 hours later...