-
Notifications
You must be signed in to change notification settings - Fork 29
Harmonize posts and threads in combined view #1888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Could we also please move the images to a thumbnail format as well? Especially when its listed in the overview? |
I'm not sure about that. It wouldn't work well with a longer text block beside or below it. |
See also community feedback: https://fedia.io/m/mbinmeta@gehirneimer.de/t/3026365/-/comment/13104842 So as a user with the combined view, my feedback would be this:
Or this:
As a user this annoyed me a lot, since I'm just scrolling through some content and suddenly 80%-100% of my screen is filled by a single post. The Interstellar app does not have this issue. |
|
Also the test is failing.. :) |
Both Mastodon and PieFed solves this by making the card clickable. Be aware that when there is a link within the card text, that URL should also still work if you click on that. And you could argue to make that consistent when threads as well then, meaning both threads and posts will have a clickable content.. But again, just keep in mind that you can still have URLs within the text itself that has priority in terms of "mouse clicking" . So clicking on these links should still work, well just look how Mastodon solves it. |
23dc1f2 to
3322c33
Compare
# Conflicts: # assets/styles/components/_post.scss # templates/components/post.html.twig
|
Its running now at kbin.melroy.org |
You're right, the down-vote button should not be there in the first place. |
This is odd as both use the same code for the body preview ( |
it seems that it stops right after the first sentence / paragraph. It looks like that people are often creating a huge paragraph in a thread.. but in posts people use multiple smaller paragraphs.. Anyhow, for posts we should use different function maybe that should not short the text after the first paragraph? |
Should I create a special function case for posts in combined or would it be better to modify |
I personally believe we should treat a post differently, and do not stop at a new line, and also with a larger char limit etc. |
Done (except I reused the char-limit of threads so that both previews have a similar height). We now even have tests for this shortening. |
Great! I still notice its removing new lines / markup language though. Is that something we want..? I mean if fine with either removing the new lines or showing them. If you compare it with like a Mastodon feed, I could imagine people would like to see the same markup text in the overview as if they would click on it. |
While not impossible, it would be way harder to calculate the resulting string length while keeping all the HTML tags needed for formatting. I think for a preview the current approach is sufficient. Also perfect is the enemy of good; we can update the shortening function at a later time if needed. |





Posts on the Microblog page:
Posts on Combined page:
Current problems: