Xylight

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

What do the talking flowers think about the fire flower? Do they see it as you consuming their own kind? Is it considered not a sentient being?

 

I've finished switching Photon to the Mono design system.

(Mono is basically just Photon's design converted into a library following decent practices)

You can checkout the design system here.

With this comes a few updates:

  • No longer using the awful MultiSelect component for everything
    • Instead, we're using select menus now!
    • You can actually tell what each thing means.
  • Design tweaks
  • Much better codebase
    • Over 1,800 lines have been nuked
  • Change view style from the main page
  • Rename "Compact" view to "List"
  • Default view style is now "List"
  • View admins of instances and moderators of communities
  • You can also view the communities a user moderates!
[–] [email protected] 6 points 2 years ago (3 children)

Really? I didn't notice that.

[–] [email protected] 9 points 2 years ago (11 children)

I'll go with true.

 

I'm working on turning Photon's design into a UI library called Mono. You can see my progress here.

It's being made from scratch so that it's the highest quality UI library possible. It will also make it very simple to implement new features, and will make Photon's UI overall look better.

It's also technically usable currently, but you do have to do some setup for it to work that I haven't written in the docs yet.

[–] [email protected] 35 points 2 years ago (2 children)

Make your app use native components instead of making your own crappy theme for the 782th time

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

I've been wanting to make my applications easier to test. The issue is, I don't know what to test. Often my issues are so trivial I notice them immediately.

What are some examples of common things in, let's say a web server, that could be unit tested?

[–] [email protected] 2 points 2 years ago

Proton drive gives a lot less storage for free but is known to be more secure and private

 

You won't notice much on the cards design, except that body text is no longer in its own container, and it fades out.

The compact design was completely overhauled though, to look much better.

I used to only use cards but I exclusively use compact now.

[–] [email protected] 6 points 2 years ago

Glad we finally get something other than the "new" series. Looks fun

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

Should have been a gif

[–] [email protected] 16 points 2 years ago

A little play icon might be nice, and then download the video once you're actually on the page.

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

Notice

I'm not translating them right now, I'm preparing Photon for actual native speakers of languages to translate. I plan to make it as easy as possible for people to contribute. These likely butchered translations are just for me to test if it's working.

You can view progress here

[–] [email protected] 9 points 2 years ago

He caught a good woman.

 

cross-posted from: https://lemmy.xylight.dev/post/140249

1.0.8

  • The most annoying bug that has existed since the start of Photon was finally fixed.
    • When replying to a comment, the comment now immediately appears instead of requiring a refresh.

Here's all the updates since 1.0:

1.0.7

  • Change icon for featured post from InformationCircle to Megaphone
    • Change name for featured posts from Pin to Feature
    • Tweak feature specificity indicator for consistent size
  • Add color to comment badges

1.0.6

  • Photonify comment and user links
  • Use navigator.share when possible
  • Use original post and comment links instead
  • Add matrix user links

1.0.5

  • design: Tweak color
  • feat: Add environment variable to enable SSR
  • feat: server render comments if SSR is enabled

1.0.4

  • Change the way placeholders work
  • Add application question to admin config
  • Add spacing between applications
  • Add debug menu for users
  • Switch to comment URLs in inbox
  • Fix username size
  • Switch to comment URLs in saved menu
  • Use real post meta in saved menu

1.0.3

  • feat: add debug info option
  • feat: add option to switch between system UI and sans-serif
  • design: tweak dark mode colors
  • perf: misc performance improvements
  • misc: make crossposts collapsible

1.0.2

  • Automatically convert post URLs in posts and comments to Photon URLs

1.0.1

  • Fix profile switching issues
  • Show all communities when making posts
 

1.0.8

  • The most annoying bug that has existed since the start of Photon was finally fixed.
    • When replying to a comment, the comment now immediately appears instead of requiring a refresh.

Here's all the updates since 1.0:

1.0.7

  • Change icon for featured post from InformationCircle to Megaphone
    • Change name for featured posts from Pin to Feature
    • Tweak feature specificity indicator for consistent size
  • Add color to comment badges

1.0.6

  • Photonify comment and user links
  • Use navigator.share when possible
  • Use original post and comment links instead
  • Add matrix user links

1.0.5

  • design: Tweak color
  • feat: Add environment variable to enable SSR
  • feat: server render comments if SSR is enabled

1.0.4

  • Change the way placeholders work
  • Add application question to admin config
  • Add spacing between applications
  • Add debug menu for users
  • Switch to comment URLs in inbox
  • Fix username size
  • Switch to comment URLs in saved menu
  • Use real post meta in saved menu

1.0.3

  • feat: add debug info option
  • feat: add option to switch between system UI and sans-serif
  • design: tweak dark mode colors
  • perf: misc performance improvements
  • misc: make crossposts collapsible

1.0.2

  • Automatically convert post URLs in posts and comments to Photon URLs

1.0.1

  • Fix profile switching issues
  • Show all communities when making posts
 
 

cross-posted from: https://lemmy.xylight.dev/post/134835

  • On v1.0.2, a new feature was added. It's an addition to the old "resolve posts to home instance."
  • Post links will now automatically convert to Photon links, do you aren't taken out of Photon. If the post is on a different instance, you get the option to fetch the post on your home instance.

How to implement

(For devs)

To implement fetching posts on your home instance, call the /resolve_object endpoint, with q as the post's ap_id. It will return the post in the response.

74
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

https://phtn.app

Photon is the first client to have feature parity with lemmy-ui (as far as I know).

You got all the common stuff like:

  • Mod tools
  • Admin tools
  • Resolve external objects
  • Purge items
  • etc...

As additions, there is:

  • Multi account system
  • Community and modded community sidebar
    • You can also quickly switch accounts here!
  • Powerful mod tools
    • Quickly private message a user for why their submission is removed. Customizable template!
    • Easily manage your mod team. Don't hunt for one of their posts, just type their handle!
  • Resolve external posts to your home instance
  • Automatic posts drafts
 

cross-posted from: https://lemmy.ml/post/3794691

 

cross-posted from: https://lemmy.xylight.dev/post/127802

I think Photon is the first third party client to implement the modlog.

You can access it from the site about sidebar/window, like the normal lemmy-ui. Or just go to /modlog.

It has feature parity with the lemmy-ui modlog.

Crossposts were also added recently.

Also fixed the infamous profile page switching issue.

view more: ‹ prev next ›