Photon

911 readers
30 users here now

Photon for Lemmy

A client for the fediverse designed to be intuitive, fast, and sleek.

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
1
10
Matrix room (self.photon)
submitted 3 days ago by Xylight to c/photon
 
 

I realize that I never posted this link publicly anywhere other than my donation page, though it's existed for quite a while.

You can join the matrix room for the photon community here, where you can report small issues, ask for help, or discuss the app.

I've also added relevant links like this to the header of this community.

2
5
v2.0.1 (github.com)
submitted 1 week ago by Xylight to c/photon
 
 

What's Changed

  • feat: add a static site option by @Xyphyn in https://github.com/Xyphyn/photon/pull/622
  • design: improve comment experience by @Xyphyn in https://github.com/Xyphyn/photon/pull/623
    • better spacing, and separation, as well as easier and more readable font size
  • perf: optimize bundle size by @Xyphyn in https://github.com/Xyphyn/photon/pull/627
    • stuff is now more dynamically loaded which should improve load speed
    • other misc performance improvements
  • security: add a content security policy
  • misc: add a User-Agent for API requests
  • design: use a unified common list component
  • misc: use gradients for placeholder avatars
    • I use placeholder avatars a lot since it's easier to distinguish users based on color/shape rather than username, and this makes it even easier to distinguish
  • feat: add a vote ratio bar option
    • when enabled, if a post is more controversial, a bar will be overlayed behind it to visualize it
  • feat: browse communities of specific instances
    • the available instances are only that you have accounts/guests on as i consider them "trusted"
  • feat: add an SSG adapter
    • admins can build the app with ADAPTER=static and then a build folder will be generated with just the shell. There will be no server side rendering available with this.
  • i18n: sync translations with weblate
    • Bulgarian: salif
    • Polish: gapetto

Full Changelog: https://github.com/Xyphyn/photon/compare/v2.0.0...v2.0.1

3
25
Translators wanted! (self.photon)
submitted 1 year ago* (last edited 1 month ago) by Xylight to c/photon
 
 

Photon has been fully localized and you can translate it to your native language now! (will not be released until v1.30)

You can help translate at the Weblate

Note, use GitHub to log in, as email login is currently broken.

If you need help, you can join Photon Translators Matrix room.

Ask for as many clarifications as you need.

Requirements

  • Be capable of accurate translation in the language you're translating to.
  • Avoid Google translate or other translation tools, as they are often inaccurate without context.
4
 
 

GitHub has always been generally a platform that doesn't align well with my and many peoples' values regarding open source software development, I only used it because it's the most popular.

Recent events regarding GitHub and its management have raised a greater consciousness about the nature of the service,so I was wondering if it would cause any problems for me to move to either:

  • codeberg.org
  • a selfhosted forgejo instance (git.phtn.app)

Or if everything is fine as is.

5
 
 

PieFed is growing fast, and some mobile apps like Voyager etc. now support it.

It would be great to have more desktop UI options like Photon.

Here are some relevant links for more info. The PieFed API sub: !piefed_api@piefed.social Introduction of App devs integrating PieFed into their apps

Will Photon support PieFed in the future?

6
19
submitted 1 week ago* (last edited 1 week ago) by Xylight to c/photon
 
 
7
 
 
8
38
Photon v2.0.0 (use.phtn.app)
submitted 4 weeks ago* (last edited 4 weeks ago) by Xylight to c/photon
 
 

This is a very big release since v1.31.4. If you've used phtn.app, you won't notice a difference, since that runs on the latest commit.

TL;DR

  • Photon has been completely rewritten to use Svelte 5
  • This brings significant performance improvements
  • The UX has been changed to fit Photon's philosophy more closely
  • Many issues have been resolved and bugs fixed
  • 60% of changes are under the hood, but there's many visible ones too

What you'll notice

Snappier performance

  • Svelte 5 optimizes a lot of the reactive parts of the app
  • I've also spent a lot of time on a new virtualizer, which runs a lot faster

Design changes

  • While the overall layout is relatively the same, I've reworked a lot of pages to fall more in line with my design philosophy.
  • The design across (most) pages is much more consistent
  • There's a new default theme
  • Compact mode is now the default (if you've used photon before, this will not affect your setting)
  • Comment layout is slightly different and more intuitive
  • Modals now create a backstack so you can press the back button on your browser

New features and options

  • More moderation features
    • Quickly view users'/submissions' moderation logs
    • View the users' votes n a post
    • Grouped reports for many reports on the same post
      • you can resolve many at once
  • Options for more granular control over how links work in posts
  • Option to reverse the action row
  • Option to use absolute timestamps
  • lemmy language tagging support
  • Command palette now has contextual navigation options
  • Contextual warnings for certain actions (like missing languages in posts)
  • Messages page has been overhauled with markdown, contextual actions, etc
  • Better view and options for modlog page
  • Donation dialog as Lemmy requested

Optimizations

  • Uses CSS animations more often which are faster
  • Uses svelte context API to reduce prop drilling
  • Navbar uses CSS rather than JS for positioning
  • Uses optimized svelte $state rather than stores

Languages

Thanks to the community making translations on the Weblate, Photon has support for 18 languages!

  • English (100%)
  • Hebrew (58%)
  • Arabic (33%) (fxomt)
  • Bulgarian (72%) (salif)
  • Chinese (Simplified) (91%) (qiancsf, CDN, binary3141)
  • Chinese (Traditional) (21%) (binary3141)
  • Dutch (81%) (qaz)
  • Estonian (24%) (pewgar)
  • Finnish (94%) (sevon)
  • French (87%) (Blisterexe)
  • German (64%) (poVoq, Tywele)
  • Hungarian (55%) (myedition8)
  • Japanese (84%) (Rentlar)
  • Polish (83%) (gapetto)
  • Portuguese (78%) (tmpod)
  • Russian (83%) (WerySkok, mudkip)
  • Spanish (81%) (acidrums4)
  • Turkish (91%) (ikanat)

In the future

  • Piefed support is targeting v2.2.0
    • With the way it is being written, Mastodon support may as well come sometime around v3.0.0

There's a lot more in this release, as well as more to come. I'm trying to make Photon closer to its design philosophy, which can be summarized as:

It should not take more than 3 seconds to identify an action you wish to perform within a given container or page.

This covers a lot of reasons why I design stuff the way I do, for example, you'll never find more than 5 buttons (minus links) in a single container. Additionally, specific types of actions will usually look different, like primary actions on a page versus sub actions.

I hope you enjoy this release!

Full Changelog: https://github.com/Xyphyn/photon/compare/v1.31.4...v2.0.0

9
 
 

Photon is two years old now! (I missed the birthday which was 2 weeks ago. :< )

I've done these posts a few times during Photon's early days, and they've been helpful.

2.0 is almost out, I'm done with pretty much everything and it's stable enough. There's bug fixes in here that make it arguably more stable than the current "stable" release.

I ended up with a bit of a "RobTop and 2.2" situation working on this update.

if you're on phtn.app you're always on the latest commit, and if you're using lemdro.id, p.lemmy.world, or photon.slrpnk.net, you're on the latest 2.0 beta.

Ill make a big release note once it's out, but for now:

Are there any new features that you'd like?

Currently planned is:

  • Piefed support (targeting v2.2.0)

Side noteThank you to everyone who supports and uses Photon, this has been my most motivated project and I'm glad it's useful to some. I've started to recognize the usernames of all the translators and those who are active in this community. I'm not planning on dropping this project anytime soon!

10
10
submitted 1 month ago by Ulrich@feddit.org to c/photon
 
 

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

11
 
 

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.

12
 
 

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.

13
 
 

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:

14
39
Beta PieFed support (self.photon)
submitted 1 month ago* (last edited 1 month 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.

15
19
Piefed support? (lemmy.dbzer0.com)
submitted 2 months ago by fxomt@lemmy.dbzer0.com to c/photon
 
 

Hello! As the piefed API has been released a week or so ago, i'm wondering of photon will ever support it? The APIs are very similar, so it would not need much modification to get it working.

For reference:

Tesseract, mlem, voyager and thunder are all interested in getting piefed support soon. Interstellar already supports it.

Tons of huge instances have decided to run a piefed instance, too:

  • piefed.blahaj.zone
  • piefed.world
  • piefed.ca
  • quokk.au
  • slrpnk.net (potentially, in the future)
  • dbzer0.com (potentially, in the future)

Thanks in advance!

16
5
submitted 3 months ago* (last edited 3 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

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

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

Anyone else running into this issue?

18
 
 

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.

19
 
 

20
23
"-1" (feddit.org)
submitted 4 months ago by arakhis_@feddit.org to c/photon
 
 
21
7
Feed bug (slrpnk.net)
submitted 4 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.

22
 
 

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.

23
 
 

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

24
 
 

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

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

25
 
 

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.

view more: next ›