Xylight

joined 2 years ago
MODERATOR OF
[–] [email protected] 37 points 1 month ago (1 children)

When developing photon I always end up with more issues on chrome browsers than firefox. and half of those are because of its god awful scrollbar. Please use an overlay scrollbar instead of shifting the stupid page around, chrome.

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

The way I choose my icons for Photon is I kinda just scroll the list of my library and pick one that fits.

[–] [email protected] 19 points 2 months ago

Use xdg-ninja to help clear out unwanted files not in your home folder, and give tips to move them into a normal folder like .config

[–] [email protected] 10 points 3 months ago (2 children)

That's an option. You can change the thumbnail alignment to the left, then use compact instead of list mode. OP is using bad settings.

[–] [email protected] 71 points 3 months ago* (last edited 3 months ago) (21 children)

Hi everyone, I'm the dev. Reading all these comments really hurts when it's something you've poured your heart and soul into for over a year.

There's reasons I do everything I do in this UI, and my primary goal is to make Lemmy accessible for everyone.

This is the "cozy" view as well, but there's a "compact" view for people like me who enjoy more information density. Again, my end goal is to make Lemmy accessible. I don't do this for the sidebars for convoluted reasons I won't get into.

I'm not the one trying to advertise it, and I've never really tried to because of the fear of disapproval. I think I should advertise it myself now because then I can showcase the best parts and not get misunderstood. This screenshot uses the "list" view, imo the worst one, with some cursed chrome scrollbars.

Now that I see that the majority of users believe this sucks, I'm not sure if my mission is worth it or if I'm even doing it right.

I'm probably being too sensitive to criticism which I should expect from any project. But this project is the only one I used to feel proud of, then people chiming in claiming it's the ugliest thing they've seen. I don't know im blind to design which is the only thing I considered myself "good" at in terms of web dev.

[–] [email protected] 6 points 3 months ago

If there's an epic games game you want but don't want to use the epic launcher or you're on Linux, Heroic Games launcher id a good choice

[–] [email protected] 4 points 3 months ago

That's a good point, i didn't consider the value of the content it creates

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

why the hell do websites even have those 6 separate input fields? you can just have one and style it differently

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

to play devil's advocate, from reddit's view those third party apps were just using server resources and making them no money.

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

i'm pretty confused why people here understandably hate DRM, monopolies, and billionares, but are fine with steam and Gaben

[–] [email protected] 2 points 4 months ago (1 children)

I need to add language settings to communities and profiles. I really dislike how lemmy handles this though.

If you change it in lemmy-ui, it will propagate to Photon because it's an account wide setting.

 

There was like 8 prereleases for this because i kept changing stuff. This is actually going to be from v1.31.1 and v1.31.2.

Biggest changes

Command palette

  • Press / or ctrl + p and start typing to instantly go to a page, switch themes, switch accounts, etc.

Theming changes

  • You can now have multiple presets for themes, and there are 5 default presets. (Default, Classic, AMOLED, Catppuccin, Lightly)
  • Admins can set their own default theme for photon with PUBLIC_THEME.

New markdown renderer

  • Photon now uses svelte-markdown for markdown rendering, which lets me use custom components for markdown.
  • Instead of only style changes, I can run actual code, meaning images can be made expandable and codeblocks can be copyable.

Lots of languages

  • There are a ton of languages thanks to the community.
  • English
  • Hebrew
  • Bulgarian
  • Chinese
  • Dutch
  • Estonian
  • Finnish
  • French
  • German
  • Japanese
  • Polish
  • Portuguese

Minor features

  • New "link actions" menu
    • This will have options for archive sites to bypass paywalls, etc.
    • Media bias action was moved next to here, or in here depending on your selected post style.
  • Allow uploading multiple images at a time
  • Select menus use my own components now, making them more powerful
  • Add infinite scroll to communities too
  • Add uploaded media/voted posts in your profile page
  • Using my own service worker now, so caches should work properly

Other stuff

  • Use sharper icons for readability
 

This is applicable to almost any piece of software with text in it. When starting your new app, you should make sure you are using a separate language file for the strings in your app. This makes text reusable, and you can change it all in one place.

Once your app gains a community, if you did this, you can also get translators!

With Photon i made the massive mistake of hardcoding everything up until the app became massive, and my PR for un-hardcoding all the strings looks like this:

The amount of lines modified in the GitHub PR. 2,067 lines added, 1,082 removed.

It was worth it though! Because the community has translated it into 11 languages!

 

This update is currently available on phtn.app, with a tagged release coming soon. Post navigation is down by 65% and returning from posts is instant.

What's Changed

  • feat: add infinite scroll

    • You can now scroll down infinitely without clicking next!
    • As a bonus, returning from a post page is now instant.
    • Of course, you can turn it off in settings.
    • A virtual list is also used so that infinite posts can be loaded with no performance impact.
  • feat: parse tags from title

    • Tesseract dev and I had the same idea, [tags in brackets] in posts will automatically be converted to a badge/flair. You can click it to search for all posts with that tag in a community.
    • I added options which let you choose flairs to blur posts of or hide.
  • tweak link design

  • improve smaller screen support

  • codebase: move $profile to a derived, immutable store to improve consistency

  • i18n: add new languages/update languages

    • Chinese
    • English
    • Estonian
    • French
    • Finnish
    • German
    • Hebrew
    • Portuguese
  • Update p.darrennathanael.com photon region by @DarrenOfficial in https://github.com/Xyphyn/photon/pull/350

  • Remove empty space left by hideTitle by @sevonj in https://github.com/Xyphyn/photon/pull/352

  • docs: Post component comments by @sevonj in https://github.com/Xyphyn/photon/pull/354

Full Changelog: https://github.com/Xyphyn/photon/compare/v1.30.4...v1.31.0-rc.1

view more: next β€Ί