this post was submitted on 26 Jul 2023
11 points (100.0% liked)

Photon

2 readers
8 users here now

The community for the Photon Lemmy client.

https://photon.xylight.dev

founded 1 year ago
MODERATORS
11
Photon roadmap (lemmy.xylight.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Here's what I have planned for Photon:

  • more consistent UI
  • Moderation tools
  • Administration tools
  • Overhaul as an SPA
  • fix the horrible markdown rendering

What would you like to see on Photon?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (2 children)

I've been working on fixing spoilers but because they aren't part of the official markdown standard it's kinda hard. I'm trying to figure out how to add my own markdown elements in markdown-it.

How would I show all the different sort options without it looking bad? Should I do a drop-down for if you've selected "top"?

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Ah, I didn't realize spoiler tags were non- standard.

I agree, drop down from Top sounds like the best option. The same idea could also work for New: show a drop down menu to sort by either New Posts or New Comments.

Photon is quickly turning into my favorite way to browse Lemmy!

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

You're a far better programmer than I am, and I don't know the codebase well, but could you use some of the code from https://github.com/LemmyNet/lemmy-ui/blob/main/src/shared/markdown.ts and implement it into https://github.com/Xyphyn/photon/blob/main/src/lib/components/markdown/markdown.ts ? The licenses seem compatible, though I don't know how the mix of Svelte and TypeScript of Photon will affect things.

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

Since lemmy-ui and Photon both use markdown-it, this is certainly possible. I can implement all of the awaited markdown features now!

[–] [email protected] 1 points 1 year ago

Great! Thank you, and I'm glad I could help.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Spoiler support was added!

Examplewoooooo, this works as of v0.4.1

[–] [email protected] 1 points 1 year ago

Thank you! You are insanely fast. Photon is definitely my favorite frontend already, and it's constantly improving.