1
submitted 2 months ago by [email protected] to c/[email protected]

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.

106
submitted 3 months ago by [email protected] to c/[email protected]

You have become the very thing you swore to destroy

1
submitted 3 months ago by [email protected] to c/[email protected]

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

1
submitted 3 months ago by [email protected] to c/[email protected]

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 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

image may take a bit to load

2
submitted 3 months ago* (last edited 3 months 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.
1
submitted 7 months ago* (last edited 4 months 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.)

1
submitted 7 months ago by [email protected] to c/[email protected]

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

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

3 years old!

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

hes my silly mainecoon

158
[OC] cozy cat (lemdro.id)
submitted 7 months ago by [email protected] to c/[email protected]

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

This is my 4 year old Mainecoon cat :>

Taken on Pixel 8

92
submitted 7 months ago by [email protected] to c/[email protected]

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

[-] [email protected] 28 points 8 months ago

Padding is a very versatile thing in UI design, and none of it will make anything look terrible.

Even in your first example, the toolbar has slight padding on the edges and so do the buttons.

The reason there's more padding now is because it makes it easier for new users to process everything.

[-] [email protected] 93 points 11 months ago* (last edited 11 months ago)
  • Python is NameError: name 'term_to_describe_python' is not defined

  • JavaScript is [object Object]

  • Ruby is TypeError: Int can't be coerced into String

  • C is segmentation fault

  • C++

  • Java is

Exception in thread "main" java.lang.NullPointerException: Cannot read the term_to_describe_java because is null at ThrowNullExcep.main(ThrowNullExcep.java:7)
Exec.main(ThrowNullExcep.java:7) 
  • CSS j ust # sucks
  • Kotlin is type inference failed. The value of the type parameter K should be mentioned in input types
  • Go is unused variable
  • Rust is Compiling term v0.1.0 (/home/james/projects/Term)
[-] [email protected] 35 points 1 year ago

I've tried using GIMP and it absolutely sucks and I wish there was a good paint.net replacement.

Something I found about a lot of open source projects is that the UI is always terrible

[-] [email protected] 34 points 1 year ago* (last edited 1 year ago)

Those are not material icons, please don't google

hopefully these are just a test or something

[-] [email protected] 57 points 1 year ago

I asked it for the deaths in Israel and it refused to answer that too. It could be any of these:

  • refuses to answer on controversial topics
  • maybe it is a "fast changing topic" and it doesn't want to answer out of date information
  • could be censorship, but it's censoring both sides
[-] [email protected] 62 points 1 year ago

I love YouTube bots

(the only video of that channel is "Woman cries over dog being put down (HILARIOUS)")

[-] [email protected] 28 points 2 years ago

It's weird how lots of devs treat chrome as a standard, even though when developing I have a lot more issues with Chrome browsers than Firefox browsers

[-] [email protected] 34 points 2 years ago* (last edited 2 years ago)

Please stop reposting to multiple communities, the majority of people will see from all of those communities

[-] [email protected] 28 points 2 years ago

Once scaled sort arrives on Lemmy, smaller communities will be ranked higher and not knocked out by the meme communities and stuff like that.

[-] [email protected] 62 points 2 years ago
  1. Use the flatpak. Or 2. Use the web app (discord.com/app) Or 3. Don't use discord
[-] [email protected] 69 points 2 years ago

I wish I could donate to ublock origin so badly. I never even saw the popup.

view more: next ›

Xylight

0 post score
0 comment score
joined 2 years ago
MODERATOR OF