diamondburned / slemmy Goto Github PK
View Code? Open in Web Editor NEWLemmy client in Svelte
Home Page: https://slemmy.libdb.so
License: GNU Affero General Public License v3.0
Lemmy client in Svelte
Home Page: https://slemmy.libdb.so
License: GNU Affero General Public License v3.0
Right now, sorting settings are globally stored, meaning switching from one profile to another doesn't change the sorting settings.
Ideally, sorting settings should be different across instances.
Switching to a post and then back to the list will cause the post page to get stuck.
Unsure how to do this. Should the user hold the item? Should there be an X button? Maybe hide the X behind a mode and tuck it into a hamburger menu?
It would be cool if we can show a short 3-liner that previews the post right in the main screen like what the official frontend does.
This should eventually be configurable. We just need to design a settings page, which shouldn't be hard at all.
We already have the thumbnail downloaded, so we can show that while the actual image is being downloaded.
Since Lemmy is gradually moving from WS to HTTP, we should have a wrapper library that automatically detects if we can use its HTTP API.
Since we already have an API that effectively turns the WS into a request-response API, this should be trivial.
The following needs to be done:
request(op, data) -> response
)Now that HTTP CORS is officially in 0.18!. 1rc10 and newer, there's no point in having a preference for connection method anymore.
In the future, all servers will work over HTTP, so detecting it automatically is acceptable.
Would you accept a PR that adds support for forum threads with linearly ordered comments as an alternative display mode for boards (communities) that opt into it?
Basically like LemmyBB, but in a modern style closer to Discourse/NodeBB rather than phpBB.
Certain modes of discussion are better served by a linear flow, e.g. troubleshooting or feature ideation. There is however no reason why such discussion boards shouldn't co-exist with nested discussion boards on a singular instance & interface.
Examples:
https://users.rust-lang.org/t/pattern-to-use-when-avoiding-arc-or-similar-smart-pointers/95927/
https://users.rust-lang.org/t/cargo-release-took-8h-while-debug-finishes-in-25s/96015/
https://internals.rust-lang.org/t/idea-implied-enum-types/18349
https://internals.rust-lang.org/t/variadic-generics-design-sketch/18974/
As opposed to original instance. Maybe hold the button to pop up a menu?
Seems like it keeps thinking we need to fetch more posts because "they all fit on the screen!" when in reality there's nothing to fit.
Will need to add a give-up condition, something like "if page == 2 && posts.length == 0".
Hi,
I input instance, username and password, but TOTP was greyed out.
Then I thought maybe I have to submit once before it would ask for TOTP, but I got the missing TOTP token error and the input remained greyed out.
What did I miss ?
Thanks
Slemmy doesn't check if the post is supposed to have a comment or not. If no GetComments
events are received after sending a GetComments
(server bug), then Slemmy will assume that the server is still working on the response and never hide the loading circle.
Adding a simple check should work most of the time (though won't work all of the time when using a filter).
The WS API doesn't have CORS issues according to this comment. It'll let us skip LemmyNet/lemmy#3109.
We should limit the number of visible posts to a certain amount like 50 to prevent the browser from choking when we're scrolling a lot.
When the user scrolls up, we should add the posts back slowly.
Using CSS hacks for this isn't a good idea. The user should still be able to right-click the image to download it.
Slemmy should change all URLs within a post of the same instance to go to /p/:id
by default. It would even be nicer if we could somehow ask the instance for a post from a difference instance.
I have problems connecting to the programming.dev instance:
It's weird, since the instance works fine with the Mlem app!
Once every 1-2s is good enough. Ideally don't fetch at all if we know there's no more posts left (length is 0).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.