Xylight

joined 2 years ago
MODERATOR OF
[–] Xylight@lemdro.id 10 points 1 month ago* (last edited 1 month ago) (1 children)

You can access Photon at https://phtn.app/ to use any instance, or selfhost.

Additionally, some instances I'd recommend that use photon are

  • lemdro.id (which uses it as their primary!)
  • p.lemmy.world
  • photon.slrpnk.net

I'm curious why your instance, sh.itjust.works, hosts Tesseract but not Photon. They have diverged so much they cannot be considered similar.

[–] Xylight@lemdro.id 5 points 1 month ago* (last edited 1 month ago)

It was forked around a year or more back I believe. They are completely different projects now imo. Photon aims for the best UX and speed, while Tesseract aims to be super feature-rich.

[–] Xylight@lemdro.id 6 points 1 month ago* (last edited 1 month ago) (4 children)

I really want to rewrite my API code to make it server agnostic, so I can support many fediverse platforms at once. If I add Piefed support the quick way, there'll basically be a bunch of checks saying "if server = Piefed, hide this button".

I could do it the quick and dirty way right now if that's what people want.

edit: quick and dirty method will take less than a week, proper method will take months

[–] Xylight@lemdro.id 1 points 1 month ago
[–] Xylight@lemdro.id 2 points 1 month ago* (last edited 1 week ago) (1 children)
[–] Xylight@lemdro.id 2 points 3 months ago* (last edited 1 week ago) (1 children)
[–] Xylight@lemdro.id 4 points 3 months ago

I don't want phtn links to pollute things, because a lot of clients handle lemmy URLs in their own way, and phtn links would disrupt that. Instead, I could make the PWA open lemmy links in the app

[–] Xylight@lemdro.id 1 points 3 months ago

Not sure why some UIs don't show it because the data is given straight to you anyway, and it actually takes more code to hide it under certain conditions

10
submitted 1 year ago* (last edited 1 month ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

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.
1
submitted 1 year ago* (last edited 1 year ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

This is great on OLED screens, the background is true black and darker colors are used in many spots. Orange is the accent color to not burn your eyes with blue light, but you can change it.

{"other":{},"primary":{"900":"#000000"},"zinc":{"900":"#0a0a0a","925":"#000000","950":"#000000"},"slate":{}}
1
submitted 1 year ago* (last edited 1 year ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

New stuff

  • Revert the positions of most navigation buttons (Home on left, profile on right)
  • Add "adaptive" options to dock settings
    • This will make the dock's position (top, bottom, floating or not) change based on your screen size (it is now the default)
    • So on mobile, you'll have a bottom, floating dock but on desktop a top panel

Fixes

  • Add autofocus to search bar #319
  • Don't hide titles on iframes #317
  • Add refresh button to inbox page #313
  • Dock covers sidebars as a top panel
  • Add maxlength to password form #312
1
submitted 1 year ago* (last edited 1 year ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

Update: Photon v1.29.4 has addressed these concerns. Let me know what you think here

It seems the navigation is widely disliked by many people. I want Photon to be the most intuitive UI, so I'd like to fix this. Which of these should I do?

A - Revert the positions of the items on the navigation bar (Profile on right, home on left)

B - Have the default navigation be top on desktop

C - Move some things out of the profile menu into the navbar.

D - Revert the navbar entirely

Or give any other ideas you have. These changes were pushed early because I did not see any pushback early in the betas.

My only fear is that changing it back yet again will have ruined the muscle memory for both types of navigation.

I'll be releasing some betas soon to adjust navigation and take in more feedback before committing.

1
submitted 1 year ago* (last edited 11 months ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

What's Changed

  • Redesign navigation
    • If you dislike the change, go to settings and press "Legacy Navigation Style". This will make the navigation similar to before
    • You can see 5 of the most recent posts and communities for quick access.
  • Use your accent color in more places
    • You can change your accent colors in the theme menu.
  • Improve design consistency
  • New font option
  • Change animation curves to be more bouncy
  • Add option to make featured posts more compact
  • Remove hooks.server.ts to make requests faster

Full Changelog: https://github.com/Xyphyn/photon/compare/v1.28.4...v1.29.0

1
submitted 1 year ago* (last edited 1 year ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

Photon Announces Revamped Design

We're thrilled to unveil a significant redesign of Photon, the user interface for the fediverse! Since its inception, Photon has strived to make the fediverse more accessible with a user-friendly design.

Mono-Light addresses a key request from our community: increased information density. This redesign allows you to view more content at a glance, streamlining your fediverse experience.

Here's a glance at our new design:

As you can see, every UI element has been streamlined while still remaining beautiful. You can see so much more at once, with no sacrifice to usability. Got fat fingers? just cut a bit of it off.

You can expect this new design to roll out by the end of today, April 1st.

...No offense to the mlmym devs. Photon users want a clean UI, while mlmym users want an information dense, old reddit like UI.

 

I don't really like Nord themes so I won't personally use this but here you go:

{"other":{},"primary":{"100":"#8fbcbb","900":"#5e81ac"},"zinc":{"50":"#eceff4","100":"#e5e9f0","200":"#d8dee9","400":"#d8dee9","500":"#e5e9f0","700":"#4f586a","800":"#4c566a","900":"#434c5e","925":"#3b4252","950":"#2e3440"},"slate":{"25":"#eceff4","50":"#e5e9f0","100":"#d8dee9","200":"#d8dee9"}}
 

v1.28.0

  • Add custom theme support
    • Access from the settings page or clicking "Color scheme" in main menu
    • Instance themes are coming later
  • add pasting images directly into comments
  • fix sidebar collapsing stuff

Try a theme

To import/make a theme, go to settings > theming. You can also click "color scheme" in the main menu.

I made a catppuccin theme for photon. Import this:

{"zinc":{"50":"#cdd6f4","100":"#bac2de","200":"#a6adc8","300":"#9399b2","400":"#7f849c","500":"#6c7086","600":"#585b70","700":"#45475a","800":"#313244","900":"#1e1e2e","925":"#181825","950":"#11111b"},"primary":{"100":"#a6e3a1","900":"#7287fd"},"other":{"white":"#ffffff"},"slate":{}}

and voila! This theme only changes dark mode colors right now.

2
submitted 1 year ago* (last edited 1 year ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

This theme only works in dark theme for now

Theme (importable in Photon v1.28.0+)

{"zinc":{"50":"#cdd6f4","100":"#bac2de","200":"#a6adc8","300":"#9399b2","400":"#7f849c","500":"#6c7086","600":"#585b70","700":"#45475a","800":"#313244","900":"#1e1e2e","925":"#181825","950":"#11111b"},"primary":{"100":"#a6e3a1","900":"#7287fd"},"other":{"white":"#ffffff"},"slate":{}}
 

This was mostly a bug fix and polish update

  • Fix assymetrical buttons on mobile
  • Make posts that fit maximum height expanded by default
  • Fix and close #248 (Highlighting text and clicking link should wrap text in link)
  • Add community and user banners
  • Performance: make docker server use bun instead of node
  • Migrate to Sveltekit 2
  • Improve post vote hitboxes
  • Add a loading spinner for photon instances where SSR is off
  • and more!

Full Changelog: https://github.com/Xyphyn/photon/compare/v1.26.0...v1.27.0

1
submitted 2 years ago* (last edited 2 years ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

[options]

🍏 apple ::: This is an example of option 1

🍌 banana ::: This is an example of option 2

🍊 orange ::: This is an example of option 3

[/options]

1
Photon v1.25.0 (lemdro.id)
submitted 2 years ago* (last edited 2 years ago) by Xylight@lemdro.id to c/photon@lemdro.id
 

What's Changed

  • Add phtn.ngn.tf to the instance list by @ngn13 in https://github.com/Xyphyn/photon/pull/230
  • Upgrade mono-svelte to v0.4.3
  • Redesign main menu
  • Add icon and banners to admin config
  • Fix community settings button appearing when it shouldn't

New Contributors

Full Changelog: https://github.com/Xyphyn/photon/compare/v1.24.1...v1.25.0

view more: ‹ prev next ›