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.
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.
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.
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!
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.
I could make another add-on for that, if you are interested
You would be my hero!
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.
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.
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!