this post was submitted on 18 Nov 2024
20 points (100.0% liked)

Open Source

31679 readers
805 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 

It's pretty new, so feel free to share any bugs, feedback or anything on GitHub!

top 10 comments
sorted by: hot top controversial new old
[–] underscores@lemmy.dbzer0.com 4 points 1 month ago* (last edited 1 month ago) (1 children)

Looks good. I've always found it annoying that lemmy doesn't do this by default.

I'm not sure about the license though. Creative Commons recommends against using their licenses for software, since it doesn't include terms regarding source code, doesn't handle patents, and it's usually incompatible with free software licenses.

[–] helloyanis@jlai.lu 5 points 1 month ago

Thank you for your feedback, I've switched to the GPL V3 license

[–] helloyanis@jlai.lu 3 points 1 month ago

Update! Now should work with any language select in Lemmy, not just post creation!

Add-on even lighter than before! Let's save those bytes~

Wait a few hours for Mozilla to approve it then update to v1.1, or get it now from GitHub releases!

[–] blackluster117@possumpat.io 2 points 1 month ago (1 children)

Honestly, with this add-on, the only feature that I'm really missing on Lemmy now is default comment sort in posts. I like sorting by Old, but don't like having to manually select it every time I start reading through a post thread.

[–] helloyanis@jlai.lu 3 points 1 month ago (1 children)

I could make another add-on for that, if you are interested

[–] blackluster117@possumpat.io 2 points 1 month ago (1 children)
[–] helloyanis@jlai.lu 3 points 1 month ago (1 children)

Well, it seems like it's going to be a little more tricky. There's no ID to detect the post sorting selection menu. For the language select, I could look for elements containing the ID language-select but it does not seem to be possible for post sorting.

The best thing I could think of is to add ?sort=Old, ?sort=New to the URL but it does not seem to affect the sorting unless the button is actually clicked or the page fully reloads.

If I could consistently select the elements that allow for filtering (and be careful that it doesn't conflict with other types of filtering on other pages), I could do it, but right now I don't see a solution.

[–] blackluster117@possumpat.io 2 points 1 month ago (1 children)

Appreciate your looking into it and following up! Definitely didn't expect to hear about it again. It's people like you that make dark corners of the internet bright.

[–] helloyanis@jlai.lu 3 points 1 month ago

The best thing I can think of is to contribute to the Lemmy front-end itself, but since I'm not familiar with the framework they use, and how the project is structured, I don't think I'll be able to do it for the forseeqble future. Feel free to open an issue about this on their GitHub however!

[–] Eyck_of_denesle@lemmy.zip 1 points 1 month ago

Automatically*