this post was submitted on 16 Oct 2025
20 points (100.0% liked)

Photon

1058 readers
3 users here now

Photon for Lemmy

A client for the fediverse that is fast, modern, and intuitive.

This community is a place to ask questions, report bugs, check on the latest updates, or share your experiences with Photon!

You can contact me at @Xylight@lemdro.id.

Links

Rules

  1. Posts must be related to Photon (in any way)
  2. Don't be mean
  3. If your post is a bug report, please preface the title with [solved] if it's been fixed.

founded 2 years ago
MODERATORS
20
submitted 2 weeks ago* (last edited 1 week ago) by Xylight to c/photon
 

What's Changed

  • feat: add piefed support
    • you can log into your Piefed account and browse all available features in the API
    • some piefed exclusive features are available too, like user/post flairs, feeds, and topics.
  • perf: optimize code bundle size -- initial bundle from 780 KB -> 620 KB
    • cool, tf does that mean
      • ok bub this basically means that theres less code loaded initially so stuff loads faster.
    • I rewrote some bad libraries that were bloating up the javascript
    • yes im embarassed the bundle is this high. im getting it lower every update i swear
    • at least its still smaller than lemmy-ui
    • in addition i restructured the entire file tree of the app, and wrote nearly 3000 import statements manually because i have a human soul and i lowk felt filled with determination
  • impr: rewrite feed handling, cache more things
    • post feeds, post pages, communities, feed feeds, topic fe
    • wait a second, feed feeds?? this naming is getting out of hand.
    • ok, in piefed there's "feeds". that's pretty cool. but now the "main feed" can either be the main feed or the main feed.
      • what?
  • impr: use native css for more things
    • this is partially because i am embarassed that i use tailwind
    • i am migrating common components to use vanilla css but with some advantages of tailwind
    • like i can use a compile-time design system and it has nice @variant things
    • this also makes the DOM tree smaller so theres probably some benefit elsewhere...maybe
  • impr: automatically mark inbox items as read when you click jump
  • design: make the modlog not look like absolute buns
    • it actually fits on one screen now and looks nicer. you can now observe the insanity of Lemmy's moderation with more comfort.
  • design: make the mobile navbar not look like absolute buns
    • i made the tap targets bigger too. next update i will make them cover the whole screen
  • design: make the accounts page not look like absolute buns
  • impr: i made the things that should be radio groups actually be radio groups. no problem
  • impr: expandables and comments now use <label> so that it uses browser native html
  • fix: admin detection is better. lemmy removed a property i used constantly for some reason. i fixed that though
  • impr: this one makes me mad. for some reason, native CSS transitions absolutely ruin font rendering (on firefox at least). so i removed some animations or replaced them with svelte ones (js ew)
  • impr: i preload a lot more things on hover/tap now. things will be like 100ms faster.
    • call me john locke in the way i be optimizing ts
  • misc: the term "instance" has been replaced with "server". let's be real, talking about instances makes no sense

Full Changelog: https://github.com/Xyphyn/photon/compare/v2.0.2...v2.1.0

Try now on Photon™©️ (phtn.app) today! 🚀

top 7 comments
sorted by: hot top controversial new old
[–] Ek-Hou-Van-Braai@piefed.social 6 points 2 weeks ago
[–] Blaze@lemmy.zip 4 points 2 weeks ago
[–] Tywele@lemmy.dbzer0.com 4 points 2 weeks ago
[–] asudox@lemmy.asudox.dev 2 points 2 weeks ago (1 children)

Did you not update the docker image? I can't upgrade.

[–] Xylight 6 points 2 weeks ago (1 children)

I forgot to actually publish the release on GitHub. Oops

I just pushed it, a docker image should be available in a few minutes

[–] asudox@lemmy.asudox.dev 2 points 2 weeks ago* (last edited 2 weeks ago)

It failed to build btw.

edit: OK it works now, thanks.

[–] Blisterexe@lemmy.zip 2 points 2 weeks ago

Great patch notes and great features!