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!
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).
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!
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.
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.
Once bfcache is implemented, this will become easy.
See this issue.