Looks like we forgot to do this for the last weeks.

Dessalines
admin
133M

For the past two weeks, I’ve been mostly prepping an isomorphic UI that fixes this issue. It was further complicated by the fact that while inferno (our lightweight front end) does have full isomorphic app support, its build system was using a broken fuse-box build, and I had to make a webpack working one from scratch. I’m really terrible at build systems so this took a few days.

This was also a ton of work for not too much benefit; the site will mostly appear the same as it has before. But enough people wanted it that I added it, and we’ll deploy it soon. It will:

  • Vastly speed up initial page load times. Navigating to new routes will seem as they did before.
  • Make it readable by non-javascript enabled clients (actions wouldn’t work tho, as they still require websocket)
  • Make lemmy archivable.
  • I’ve added opengraph and twitter html tags.
  • I’ve split out lemmy-ui from the main codebase, as well as the translations into their own repo.

You can test it out at https://test.lemmy.ml

One thing I don’t like about this, is that with this separation of back-end and front-end, I’ll need to transfer every front-end related issue and feature request to the new repo, but its probably for the best.

LΛMBDANAUT
32M

Awesome! I wandered into an old mention of this last night and was pleasantly surprised to see it just completed. Great job!

___
12M

deleted by creator

also is splitting the front end and back end related to how chapo.chat is using a different front end than normal lemmy?

Dessalines
admin
22M

We haven’t even done a release yet for this new split, so they’re probably working off the version with everything in one codebase.

ooh ok

ayy archival, is it done on a community by community basis or an instance by instance basis?

Dessalines
admin
32M

I’m not sure what this means but its been deployed to lemmy.ml , all pages should be archivable now.

@PureTryOut
12M

Oh, so this would even allow using a completely different front-end, or even running an instance without one just to be used with native applications?

Dessalines
admin
12M

Its really just splitting it out into a different repo. If you wanted your instance to run a different front end, you’d have to make one.

___
52M

deleted by creator

@nutomic
admin
creator
133M

I continued to do some refactoring with the goal of speeding up builds. A new actix version allowed us to get rid of a dependency which took up to 30 seconds to build (PR 1, PR 2). I also removed rustls from our dependencies because it was entirely unused.

In the last days I added more tests for federation, so that we should be finished with another NLnet milestone now (PR 1, PR 2).

Everything about Lemmy; bugs, gripes, praises, and advocacy.