Xylight

joined 2 years ago
MODERATOR OF
[–] [email protected] 3 points 1 day ago

You may have selected English as a language and not undetermined. You can change it in the Main menu > profile > settings, then under languages, remove everything, or include Undetermined.

If that option is missing, you're using an outdated instance of Photon (likely one hosted on a lemmy instance). (This is why I was hesitant to let instances host photon themselves, causes so many UX catastrophes that are blamed on photon)

You can try again at https://phtn.app/

[–] [email protected] 3 points 2 days ago (1 children)

Photon will definitely keep being maintained by me for the foreseeable future, I don't necessarily like the Lemmy API but I still enjoy working on Photon

[–] [email protected] 1 points 2 days ago

That's because they linked photon.lemmy.world... this is why I was hesitant to allow instances to link photon to them.

Anyway, you can use https://phtn.app/ (the official URL, like vger.app) to use any instance.

[–] [email protected] 3 points 2 days ago* (last edited 2 days ago) (3 children)

I am the developer of Photon. Tesseract was forked a long time ago and the features and code are much different now. I would not consider Tesseract a fork anymore, but a different project entirely.

[–] [email protected] 1 points 3 days ago (7 children)

Pourquoi l'instance 'Photon' exécute-t-elle Tesseract ? Ce sont des applications complètement distinctes avec des conceptions et des philosophies très différentes.

[Ceci est un message traduit]

[–] [email protected] 4 points 1 week ago

My profile picture is some random sunset. No idea where it's from or where I got it.

[–] [email protected] 3 points 1 week ago (2 children)

Strange. I find that sh.reddit was significantly faster than the original new reddit. It also uses a framework that is more close to native html than whatever they were using before.

[–] [email protected] 3 points 1 week ago (1 children)

Navbar customizability was reduced because it caused the navbar to require tons of javascript calculations, rather than being a nice efficient css.

  1. Id like to redesign the layout of the navbar, but last time I did this people didn't like it. I'll try and experiment more with that.
  2. I have removal reply templates, so sure, I'll try and add them to application deny templates.
  3. That'll probably be in the final 2.0 release, again this is not the true release yet
[–] [email protected] 5 points 1 week ago

I think that's an issue in old versions too, mostly due to the virtualizer (for performance). I'll look into it

[–] [email protected] 16 points 1 week ago (4 children)

We can teleport 7 inches, but there is no cool down specified.

  1. Go outside.
  2. Teleport 7 inches at a time into the sky, at such a high rate it's nearly instant.
  3. Teleport 7 inches at a time to whatever location you want, at such a high rate it's nearly instant.
 

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.

[–] [email protected] 5 points 1 week ago

Inconsistent rounding and font size is my bet

[–] [email protected] 3 points 1 week ago

I've been following Google's material 3 since its release. There's pretty good examples of it, like the calculator app, but half of google's own apps don't follow their own guidelines, and they keep making changes to stray away and make their designs even uglier. Gboard was one of the final hopes for google's design. this better be a bug or something

 

You have become the very thing you swore to destroy

 

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

 

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.

@[email protected]

197
my dog (part 2) (lemdro.id)
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

image may take a bit to load

30
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

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.
21
submitted 4 months ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

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.)

 

I usually don't like orange/brown themes but I think this one's cozy. I decided to make it for the autumn season.

{"slate":{"25":"255 248 240","50":"253 244 232","100":"251 236 221","200":"246 220 198","300":"240 195 165","400":"219 162 122","500":"196 133 89","600":"133 108 89","700":"89 72 59","800":"66 54 44","900":"44 36 29","950":"33 27 22"},"zinc":{"50":"255 243 230","100":"250 228 207","300":"227 186 156","400":"204 144 105","500":"181 102 54","600":"120 96 79","700":"82 66 54","800":"61 49 40","900":"41 33 27","925":"33 26 22","950":"25 20 16"},"primary":{"100":"255 245 235","900":"122 48 0"},"other":{"black":"25 20 16","white":"255 252 248"}}

To import, go to Main menu > Themes > Click the + to make a new theme > Import > Paste and import

207
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

3 years old!

190
cozy cat (lemdro.id)
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

hes my silly mainecoon

 

Been posting a lot here, hope the mods don't mind

This is my 4 year old Mainecoon cat :>

Taken on Pixel 8

 

I took this in September 2022 on a Pixel 6 at 7:00pm, in Newport, Oregon.

view more: next ›