Father of @flairchange_bot and @AutoMod.

Developer of Based Count.

I’ve sorta built this place.

  • 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: July 12th, 2023

help-circle







  • I am working on it! My team and I are working on this issue as we speak (I literally tabbed out of VS Code to answer this) and we plan to roll them out to our modded instance in a matter of days, it’s our top priority.

    Extending support for this feature to the wider lemmy codebase is not paramount to our roadmap, but we will certainly make a pull request once we are done. If the lemmy devs will like our implementation and decide to adopt it we will definitely be very glad to help them doing so.

    EDIT, 10 days after: only now I see that the links was about post flairs, not user flairs. To clarify, I am working on user flair, no idea if and who is working on post flairs.








  • Couldn’t the protocol be updated to be more compliant with the right to be forgotten? Something like, when a user deletes a comment it gets deleted from the DB of every federated instance. Sure enough, admins might have made backups and that would theoretically go against the GDPR but still… you can only apply these laws to a certain extent. It’s the same as you posting a picture on Facebook, me downloading it and you deleting it afterwards. Even if you were to make a GDPR request to Meta you still couldn’t get the picture on my PC. But that’s not Meta’s fault, they can’t do much about that.




  • Hey. Let me start off by saying that this script is great and I’m really thankful for it. There’s still some room for improvement but it makes the experience much much more enjoyable.

    So, I’m working on modding the lemmy-ui source code to work on a modded Lemmy instance I’m building with some friends. I’ve only been working on it for a couple days so I’m quite ignorant myself, but I have a few ideas about your project.

    So, I don’t think this could be a theme because it does something fundamentally different. A theme is simply a set of colours, fonts and other customization options that describe how Bootstrap should make the content that’s already defined look like. Example, this is what a theme’s code looks like.

    What you are doing instead, is replacing the Bootstrap code itself, which is beyond a theme’s scope. You are touching the page’s code.
    As far as I know, Lemmy has no way of toggling a feature like this on a user level so user scripts might be your best bet for the time being. However, I like the design so much (and on my instance we are all Reddit refugees anyway) that I’m considering making it the official layout of my instance. I’d still need to figure out how that would work in the details, but I think it could be done without excessive trouble.

    As a sidenote, reading your code I saw you used the browser’s user agent to check for mobile users. I’d avoid doing that because users can actually modify their user agent if they want to, and some people who really care about their privacy have extensions that do so automatically. Instead you could try using media queries and the window.matchMedia() function (not sure if it’s suported in user scripts as I’m quite the noob in that field, but that’s how I’d do it in a web page).