Right now, the community card model displays the information in a very
narrow column with a lot of extra whitespace on the side and a weird
left border. Likewise, user pages also include a left border if the
StickyCard is placed at the top.
This removes the left border completely, and allows the StickyCard to be
wider in order to allow for more information to be displayed.
* feat: add ability to hide deleted or removed posts
Add hidePosts.{deleted,removed} settings to control whether or not to
display posts that have been marked as deleted or removed. By default,
these are enabled (ie. hidden) to correspond to Lemmy-UI behavior.
Currently, we only hide these posts for the front page and community
pages.
* feat: show removed posts by default
---------
Co-authored-by: Xyphyn <james@xylight.dev>
If a community name is long and uses multiple lines, the avatar will
shrink, leading to awkward alignment.
This adds a non-flexible container around the avatar to prevent this.
Add an expandSidebar setting to remember if the sidebar is expanded or
collapsed. This allows the user to refresh or open a post in a new tab
and keep the same sidebar state (rather than it always being expanded).
One possible quirk is that if a user has it collapsed in one tab, but
expanded in another, it will remember which ever state was set last
(most recently). However, changing the state in one tab will not impact
another (until a refresh occurs).
Fix#68
This adds a comment link action to each comment action menu so that
users can link directly to a comment. It uses the existing single
thread view mechanism to display the single command (and its children).
* misc: set different disabled backgrounds for light and dark mode
* misc: use dark theme instead of weird override
---------
Co-authored-by: Xyphyn <james@xylight.dev>
As we build the map of nodes, keep track of the minimum depth level.
Afterwards, nodes at the minimum depth level go into the tree as the
roots.
We no longer need to check if the tree belongs to a parent comment or
not.
Fixes#36 more.
Need to set type_ to 'All' when calling getComments(). Otherwise,
trying sort the comments on a post by "Top" or "New" will refresh
without any comments.
Right now, listing and searching 'All' communities makes it difficult to
find the appropriate community to post to, particularly if it has a
common name such as technology, news, or linux.
Downside of this is that you can only post to communities you subscribe
to... but this was what we did before 9c9a3dc.
Right now, if a post does not have a post.thumbnail_url and is just a
link to another website, the link is not displayed... so the user cannot
go to the actual article.
This copies the link code from the Post object and provides a link if
there is a post.url but not a post.thumbnail_url.
Add a new UI setting for showing compact posts:
- Show a small thumbnail to the right of the metadata and title if a
thumbnail is available or if the post is an image
- Do not show normal thumbnail or text bodies.