Photon

1092 readers
1 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.

You can support development at Buy me a coffee

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
26
11
submitted 5 months ago by Ulrich@feddit.org to c/photon
 
 

Can't see my comment history... Using phtn.app

27
 
 

There has been a change to how the submission page works under profile. I used to see posts and comments one the same page, now it's separate and it needs an extra click to see my comments. I would love to have a setting where I can choose how to display that content: posts, comments, or both - and Photon would remember the setting. It's not a big thing, just a convenience and for my use case a regression to how it worked before.

That said, I love Photon. Thank you for your great work.

28
 
 

Sometime recently, the page that shows while the content is loading got changed to have a dark color theme, even on light mode. This is slightly surprising for my eyes every time I click on a button to get a flash of dark and then light.

29
 
 

In the window that pops up when replying to someone, the viewport that shows the original comment is obscured if it exceeds the size of the container that it's in. There is a sort of fade away effect towards the bottom, which is fine, but the problem is that there doesn't appear to be any way to scroll or expand the comment to view the full size.

Picture attached for reference:

30
39
Beta PieFed support (self.photon)
submitted 5 months ago* (last edited 5 months ago) by Xylight to c/photon
 
 

I am currently working on alpha PieFed support for Photon.

The PieFed API is missing a lot of features from native PieFed, so not all functionality you'd expect will work (notably, the inbox.) I can't do anything about this until those features are added to the API.

The way I'm writing this will also allow Mastodon support in the future.

Status

I've already implemented basically the entire AVAILABLE PieFed API. You can try a beta here.

You can view my progress at via the pull request on GitHub.

31
5
submitted 7 months ago* (last edited 7 months ago) by arakhis_@feddit.org to c/photon
 
 

see spoiler-formatted section in the post for a more detailed image altough its the same source.

looks like some images are lower resolution over photon than over other frontends for no reason. It bothered me so much, looks like its only this frontend, isnt it?

is there a way to use photon differently to get full res because clicking the download icon (open in new tab) doesnt do it neither.

Will this be fixed?

cross-posted from: https://feddit.org/post/12010107

full res, somehow image posts are always for ants

32
6
submitted 7 months ago* (last edited 7 months ago) by technomad@slrpnk.net to c/photon
 
 

cross-posted from: https://slrpnk.net/post/20608572

Anyone else running into this issue?

33
 
 

I was seeing downvotes of hundreds of thousands and in some case even millions. But that's not the case when I log in from the standard Lemmy UI. (See left of picture) Also, tens of thousands of dollars are being solicited from the app (see right) Finally, some odd spam posts appear only via this app (middle right).

I don't know if this app is abandoned, but to the users: be warned. I've switched to alexandrite.app out of safety concerns.

34
23
"-1" (feddit.org)
submitted 8 months ago by arakhis_@feddit.org to c/photon
 
 
35
7
Feed bug (slrpnk.net)
submitted 8 months ago by technomad@slrpnk.net to c/photon
 
 

Upon going back to the feed page from a post page, the feed tends to load in at a different point (higher up) than where it was before. This results in a lot of repetitive scrolling.

Also, I noticed that (when new content is being loaded in?) the scrolling gets stuck in the same spot. Scrolling kind of just glitches on the same spot until it gets past it and then resumes as normal.

36
 
 

Hey, I noticed that the expand/collapse button tends to block text sometimes. Is there any way that it could be made transparent when hovering the mouse over it? Also, the hover text should say 'collapse' when the text has already been expanded.

37
 
 

cross-posted from: https://feddit.org/post/9414466

See big red box on image attached (collapse as in the feature on reddit)

There is also a container feature already. I marked it at the bottom of attached image with a smaller red box

38
 
 

cross-posted from: https://feddit.org/post/9377399

I dont see any posts in this forum, is this a me issue? (sorry am new)

39
 
 

It's been on a separate URL for a while now but it is now on phtn.app.

It hasn't been merged to main yet and has not been put as stable release, but i believe it is stable enough to bring to my URL.

Once the stable release is out, I will write release notes. This is the svelte 5 version.

40
 
 

that's it

41
 
 

The post: https://sh.itjust.works/post/33016821

The spoiler is working on the post page but not the preview from the community feed.

I'm using Firefox desktop with phtn.app

42
 
 

So the overall layout won't change, and if you're using default navigation settings, you'll barely notice any difference.

Instances using Photon with SSR have rightfully complained that there's a layout shift between server load and hydration. This happens because the current navbar's position isn't determined by CSS, but by calculations in JavaScript. This is pretty messy and bad.

I rewrote it to be CSS based so that this shift won't happen, and it also simplifies the code quite a lot. However, there's one downside, you won't be able to manually customize the position: the navbar will be a top panel on desktop, and a bottom dock on mobile.

One new feature in this is that on mobile, the bottom dock will hide when you scroll down and re-appear when you scroll up at all. You can disable that in settings.

I consider Photon an opinionated client (of my opinion), but I also want to make sure this isn't a dealbreaker for anyone.

Github Link

Preview URL

43
 
 

I use Lemmy for bigger news and all that, but sometimes I like to showcase little things I've done in Photon or tweaked. Maybe even hold polls there.

Should I post mini updates there? Lemmy will still be reserved for the big ones.

@photonlemmy@mas.to

44
36
submitted 9 months ago* (last edited 9 months ago) by Xylight to c/photon
 
 

The Svelte 5 migration has progressed enough that I think it's safe to release betas now.

Docker tags are released for 2.0.0-beta.2, and you can access the latest beta yourself at https://svelte-5.photon-8na.pages.dev/.

I've made a few UX changes to match the new codebase, I hope that this release is good for you.

Please let me know of any major issues.

Issues I've noticed (I will fix as soon as I am available:

  • Post mutations don't save when you navigate, when you go back, they are reverted.
45
 
 

Photon I feel is a representation of my general ability to do software development, as it's my biggest project. I'm disappointed in myself for how it's been going so far suddenly.

I go through these switches in terms of my philosophy with software, and I guess right now I'm in the "it should do what it should well and expectedly, stop trying to do more and sacrifice the main functionality" phase.

I don't like where Photon ended up, I added too many """features""" that were half baked and just complicated the codebase and added more issue vectors. What people use the most: posts and commenting, have been suffering in their usability with random bugs and a non-seamless experience.

I've also been going much too slow on my promises for Svelte 5, and I can't change much until I've finished that or I'll get conflicts. I've been too lazy because of school and my life.

As soon as I finish the svelte 5 migration, I'm gonna change these things:

  • No more features that are out of scope. The "translation", link shortcuts, etc, are going to be removed or gutted.
  • I'm going to switch a lot more systems to be component based, no more one-off buttons and inconsistent interfaces.
  • This app will focus on Lemmy and follow it more closely if it's not bad UX.
  • I will switch to a lot more native systems instead of using cursed JavaScript powered ones. For example, I have to make the dock change via CSS instead of checking and changing dynamically in code.
  • Most pages must work server side, and the entire app must be usable somewhat.
  • I'm still conflicted on whether I should make photon run its authentication logic, etc server side or if that can stay client side.

I still am obligated to continue work on Photon, and I need to fulfill the promises I make. I hope Photon will be better in 2025.

46
 
 

Basically, title. It started happening a few weeks ago. Sometimes it happens right away and freezes the whole DE, more often it happens after scrolling for a while. I know nothing about .js so let me know how I could help diagnose it.

I'm using phtn.app, Firefox 133, Wayland, Fedora 41.

Thanks!

47
10
submitted 1 year ago* (last edited 1 year ago) by Kory@lemmy.ml to c/photon
 
 

Thank you for this beautiful app!

I have a minor issue I cannot seem to resolve - the upvote/downvote count vanishes immediately after reloading the page. I am using Librewolf (that is based on Firefox) and I have tried to disable uBlock Origin entirely but I can't get it to display correctly. Anyone else ran into this and found a solution? Thanks!

Image attached how it looks for me.

EDIT: Thank you for the responses, I'm not entirely sure what I did, but now it's working as intended. I'm very happy about that because Photon rocks!

48
 
 

Hey, I noticed a small visual bug where sort comments button doesn't update after choosing a different selection. The comments still sort just fine, it's just the button that doesn't update.

49
5
submitted 1 year ago* (last edited 1 year ago) by poVoq@slrpnk.net to c/photon
 
 

It seems like contrary to Lemmy-UI, Photon does not display the user supplied post language anywhere and also has no way to set the post language in the UI. Nor does it have the profile setting to set language visibility.

I generally think that this feature in Lemmy-ui causes more harm than good due to the various ways in which people accidentally deselect "undetermined" as a language option, or how community mods accidentally prevent people from posting due to strict language restrictions... and a bunch of other related bugs that caused me to abandon this feature.

But having no representation at all seems like a bad idea given so much of Lemmy uses that feature and it also seems like Photon does hide wrongly language tagged posts if people misconfigure their profile settings in Lemmy-ui?

I can't confirm the latter, but this report https://slrpnk.net/post/14769073 sounds a lot like that is what is happening.

50
22
Svelte 5 migration (self.photon)
submitted 1 year ago* (last edited 10 months ago) by Xylight to c/photon
 
 

Approximately 70% complete

Photon uses Svelte.js as the main JS framework for the UI. Photon uses Svelte 4 currently, but Svelte 5 was released and has a lot of benefits for the codebase. It's also a lot faster.

However, the paradigm for Svelte 5 is a lot different and almost the entirety of Photon might have to be rewritten.

Luckily, there's a migration tool that can do a lot of the work for me. However, I've still got to fix about 3,000 lines of code and 70 different files to work properly with Svelte 5. There's also gonna be a lot of hidden bugs I'll need to fix.

Because of this, I won't work on any new features for the next month or so, so that I can get this as done as fast as possible.

Generally you won't notice much other than slight behavior changes due to minor code structure changes, or maybe a bug or two.

Once I'm finished, I'll make another announcement and you might notice photon feeling a bit faster!

Once it's been confirmed stable I'll release docker images.

You can see my progress here

Other notes

Browser support drops

Very old browsers probably might break. I'm talking Internet Explorer (although I'm pretty sure that was already broken. I don't care if Photon doesn't work on IE.)

view more: ‹ prev next ›