[-] Xylight@lemm.ee 1 points 2 days ago

Photon technically has it but you need to use your own libretranslate instance since I'm not paying for that.

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

Hey how did you get my world 😡😡

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

Can confirm. AAAAAAAAAAAAA (peaked 39c today)

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

Snapchat AI only responds in this format:

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

[-] Xylight@lemm.ee 21 points 2 weeks ago
[-] Xylight@lemm.ee 2 points 2 weeks ago

Same happens for me on gboard.

[-] Xylight@lemm.ee 2 points 3 weeks ago

Photon has complete moderator capabilities, what's missing?

[-] Xylight@lemm.ee 2 points 4 weeks ago

Photon is available for any instance at https://phtn.app.

Alexandrite is available for any instance at https://alexandrite.app.

I don't like when instances will host photon for anything other than the default interface, as then it's just a more limited, outdated version of photon and another point of failure.

[-] Xylight@lemm.ee 2 points 4 weeks ago

I was asking about the dev console. I pushed an update that fixes this.

[-] Xylight@lemm.ee 1 points 4 weeks ago

What error do you get?

27
submitted 4 weeks 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
[-] Xylight@lemm.ee 1 points 4 weeks ago

I dont know if youtube has h264 support

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

Even as the dev I feel this about photon, i spend so much time messing with dark theme's colors just to end up preferring light mode anyway

208
submitted 1 month ago* (last edited 1 month 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!

39
submitted 2 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

view more: next ›

Xylight

joined 1 year ago