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
- cool, tf does that mean
- 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! 🚀
You must log in or # to comment.
Amazing!!
Great !
Good job!
Great patch notes and great features!
Did you not update the docker image? I can’t upgrade.
I forgot to actually publish the release on GitHub. Oops
I just pushed it, a docker image should be available in a few minutes
It failed to build btw.
edit: OK it works now, thanks.






