Quoting the author

I’ve starting working on a lemmy front end called lemmy-ui-leptos using leptos, a Rust UI framework with isomorphic support, and tailwind + daisyUI for the component styling. This could eventually replace the frankenstein’s monster that lemmy-ui has become.

  • argv_minus_one@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Isomorphic rendering seems horribly inelegant.

    My first instinct is to just use server-side rendering for this, although that may not be possible since posting a comment involves rendering part of the page on the client side.

    In light of that, my second instinct is to render entirely on the client side, but then Lemmy won’t work without JS, which may or may not be a problem. Mastodon seems to get away with it, but I dunno if Lemmy can. Also, client-side rendering makes it difficult to avoid breaking the back button, which the UI currently does.

    Sheesh. Web development is such a mess.

      • NotAPenguin@kbin.social
        link
        fedilink
        arrow-up
        0
        arrow-down
        12
        ·
        1 year ago

        I mean they kinda are, they run one of the biggest instances which of course will get a lot of attention because it’s run by the developers.

        On that instance they censor criticism of china and other such topics.

        There was also the weird case of the hardcoded slur filter

    • ribboo@lemm.ee
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      Imagine if we did this for large companies owned by billionaires. Why is nobody talking about a board of director (Thiel) from Meta literally being one of the top donors for the republicans, supporting many of those congressional candidates that claimed there was voter fraud going on in 2020.

      Perhaps we should flock back to Reddit instead, partly owned by a Chinese company. Who also support Russia and deny human rights violations.

      Or why not head over to Twitter owned by the worlds richest man using it as is very own playground, supporting Trump and DeSantis, censoring Turkish dissidents and journalists writing about him in negative light.

      • NotAPenguin@kbin.social
        link
        fedilink
        arrow-up
        0
        arrow-down
        10
        ·
        1 year ago

        We all think Meta is shit.

        People complain about tencent all the time.

        We also all think twitter is shit.

    • IWriteDaCode@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 year ago

      This user is already getting ratiod, but for anyone who thinks this is a reasonable comment…

      So… Twitter is now owned by a dictator that now claims that ‘cis gender’ is a slur. Seems like he is barreling towards fascism to me. Facebook is owned by, maybe not a fascist, but someone that allows fascist content on their platform in order to increase revenue. They even admit that it is good for business. The AI researchers at Facebook trying to reduce fascist content were fired because they were actually effective, but would loose the company money. They also own threads, the twitter alternative. The Reddit CEO has used authoritarian methods to undo protesting on the platform. Sounds like it’s going in the wrong direction…

      Even so, the united states performs human rights violations all the time, inside the US, and outside using the military. You don’t see CEOs and politicians denouncing the USA after committing human rights violations, do you? Do you know all of the Chinese politician opinions on the matter?

      If you want to avoid all forms of authoritarianism, you could live under a rock. The fact of the matter is that open source and decentralization is the absolute best way to avoid authoritarianism, no matter who writes the code. Fork it if you don’t like it.

    • Ategon@programming.devM
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Ive removed this comment due to being unrelated to the actual topic of the post which is the new lemmy frontend. Reminder to keep talks here about rust rather than politics. Theres a ton of other communities for that and the lemmy dev politics have already been discussed heavily

      • NotAPenguin@kbin.social
        link
        fedilink
        arrow-up
        0
        arrow-down
        13
        ·
        1 year ago

        It’s always relevant when the dev of what is being discussed denies human rights violations by authoritarian governments, why is that something you want to hide?

    • rglullis@communick.news
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      1 year ago

      The Lemmy developers can do good things and increase net wellbeing while being complete morons. There is nothing in Lemmy’s license that says that by using their software you need to support their ideologies.

      The Christian teaching of “hate the sin, love the sinner” is the best approach here. Showing support for what the lemmy devs are doing while showing how despicable are their beliefs and stating where are your differences will always work better than trying to boycott their (non-stupid-belief-related) work.

      • nrabulinski@beehaw.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        The problem is giving their project support also gives them a bigger platform and more influence which could lead to more people being exposed to their beliefs or them having a bigger impact

        • rglullis@communick.news
          link
          fedilink
          English
          arrow-up
          0
          arrow-down
          1
          ·
          1 year ago

          No, one does not follow from the other, especially for open source projects. Quite the opposite: for the project to grow, it will need to attract more people. To attract more people, they will need to dial down their extremist positions. If they don’t they will end up having their project forked.

          Also,

          being exposed to their beliefs

          Great. Let more people be exposed to their beliefs so that they can learn how stupid they are.

  • tormeh@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    1 year ago

    Ugh… Strong NIH vibes. There’s already the Liftoff! client for mobile, desktop and web. They should contribute to that instead and ditch jerboa and the web client. Anyway, a web browser is a terrible way to interact with the fediverse since the browser doesn’t know about your accounts, so I’d advocate for getting rid of web apps altogether

    • russjr08@outpost.zeuslink.net
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Anyway, a web browser is a terrible way to interact with the fediverse since the browser doesn’t know about your accounts, so I’d advocate for getting rid of web apps altogether

      I’m confused about this - so you’re saying that people on their desktop/laptop shouldn’t be able to browse Lemmy from their web browser? Having to install an app really only works for the likes of say, Snapchat and Instagram where they’re mobile-first platforms which clearly Lemmy is not. Even Discord, who really wants you to use their desktop app allows you to use it via a browser and most of the features are still available (and the ones that aren’t are due to browser sandbox limitations, such as PTT and “Krisp” support).

      I’m even more confused about “since the browser doesn’t know about your accounts”, are you saying that its bad that you have to sign into your instance’s account when you first start using the site? Because I don’t see how that is different from mobile (or even a desktop app) either, I use Liftoff on my phone and its not like it magically signed me into my account even though I had other Lemmy apps already signed in on my phone. I feel like I must be really misinterpreting what you’re saying here.

      I know that Android does technically have an Accounts Framework that multiple apps can tie into (so that if you have multiple apps from Microsoft for example, signing into one app signs into the others) but I’m pretty sure that only works if all the apps are signed by the same digital key - which makes sense for your general corporation like Microsoft, Google, Apple, etc but not for apps made my multiple independent developers since that would be a massive security issue.

      And even if that none of that were an issue, Liftoff is made with Dart/Flutter, which dessalines (the main dev of lemmy-ui and Jerboa) may not have any experience with which could be another potential issue. I’ve contributed a couple of small fixes for Jerboa, but while I have Kotlin + Android experience, I don’t have that much experience with Jetpack Compose (the UI framework Jerboa uses) which means in order for me to make any major contributions to Jerboa I’d need to get caught up on the whole Compose stack first (which when I originally did try to learn it, was an incredibly rapidly moving target like Swift/SwiftUI was in its early days) and I wouldn’t be surprised if Flutter was somewhat similar to this.

      • tormeh@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        The issue is really with links specifically , and the concept of web addresses for federated content in general. The web model does not map very well onto federated networks. Concrete example: If I search for something on google and then get a lemmy/kbin result, my browser doesn’t know that I want to view this content through my home instance. The question “I have a Mastodon/Lemmy account, so why can’t I fave/reply/whatever this content?” comes up a lot. The issue here is that people view the content through a web browser, and web browsers don’t understand the fediverse.

        • anton@lemmy.blahaj.zone
          link
          fedilink
          arrow-up
          2
          ·
          11 months ago

          The best solution there would probably be some brower plugin/extension/whatever that replaces fedivers URLs with the “redirecting” URL of your instance of choice.

          Given that it’s a simple text replacement, the most complicated part is probably recognizing fediverse sites (a list of sites with a fallback button would also work).