this post was submitted on 04 Sep 2023
3 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
 

I don't know if this has been asked for before, but i would prefer to keep scrolling, instead of having to tap for the next page. I'm sure having to click 'next' is useful when you want to portion out a scroll addiction, but if people are divided between scrolling or not, maybe it could be an option in the settings?

And it would be nice if i could choose how much to narrow the side bars, so i can decide how much room to give the middle column where the posts are listed. Just like you can in for instance a file explorer.

I really like Photon a lot by the way!

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

In regards to endless scrolling, it is currently difficult to implement right now

The only issue with this is that Sveltekit's client router doesn't preserve the app state when clicking the back button, meaning you'll lose your scroll position. I'm unsure how I'll fix this without changing the way data is fetched and how the layout works, but I do plan to overhaul the app to be like an SPA soon.

So, it is a known feature request, but not a priority ATM.

In regards to resizing the side bars, you can currently resize the left/community bar. In the bottom right corner, there should be a triangle that you can drag to resize the sidebar (within certain limits). The size will be remembered for the current session, but if you refresh, it will be lost (remembering this setting is another feature request being considered).

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

Thank you for explaining this. If i recall correctly, Alexandrite does provide scrolling, but that might have been built differently, i take it?

As for the resizing, i completely overlooked the triangle, so that was very helpful!

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

Alexandrite opens posts in a sheet. I really don't want to do it this way, as it will make the initial bundle size explode, and make the codebase a mess.

I will consider it though. SvelteKit makes using pages as components pretty easy.

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

I'd make it so you can resize from anywhere on the sidebar but there's no easy way to do that without JS. Resizing elements is actually a CSS-native feature, surprisingly.