[-] Xylight@lemm.ee 2 points 17 hours ago

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.

[-] Xylight@lemm.ee 25 points 1 month ago

Hey how did you get my world 😡😡

[-] Xylight@lemm.ee 18 points 2 months ago* (last edited 2 months ago)

Snapchat AI only responds in this format:

Compliment! Description of what you just did. *relevant emoji

[-] Xylight@lemm.ee 22 points 2 months ago
28
submitted 2 months ago by Xylight@lemm.ee to c/lemmyapps@lemmy.world

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
211
submitted 2 months ago* (last edited 2 months ago) by Xylight@lemm.ee to c/lemmyapps@lemmy.world

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!

[-] Xylight@lemm.ee 25 points 2 months ago* (last edited 2 months ago)

MBFC of all things.

[-] Xylight@lemm.ee 15 points 2 months ago

man probably said a slur, got his comment removed, and now dedicates his time to complaining about it

[-] Xylight@lemm.ee 139 points 3 months ago* (last edited 3 months ago)

Hey, I'm the Photon dev. I'd like to know which parts Photon incorrectly displayed, so far I only see tables rendering incorrectly. I'll have this fixed soon.

Update: fixed table displays, pushed to main

Could this be updated now? 🥺 (you can test here)

[-] Xylight@lemm.ee 21 points 3 months ago

What's the origin of this photo? It looks really cool.

[-] Xylight@lemm.ee 20 points 3 months ago

Can't you just plug your phone straight in and transfer the file? I still prefer KDE connect though.

[-] Xylight@lemm.ee 49 points 3 months ago* (last edited 3 months ago)

They added that too!

[-] Xylight@lemm.ee 22 points 3 months ago

I regret checking this

39
submitted 3 months ago by Xylight@lemm.ee to c/lemmyapps@lemmy.world

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

[-] Xylight@lemm.ee 23 points 4 months ago* (last edited 4 months ago)

lethal amounts of cringeidk man frfr ong. thats not skibidi rizzler fanum tax of you to assume im a younger and have L rizz, im no cap a sigma fr. anyway im finna dip and be like an alpha. 💀

view more: next ›

Xylight

joined 1 year ago