lemmy icon indicating copy to clipboard operation
lemmy copied to clipboard

Separate `description` and `sidebar` fields for communities

Open Sjmarf opened this issue 1 year ago • 3 comments

Requirements

  • [X] Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • [X] Did you check to see if this issue already exists?
  • [X] Is this only a feature request? Do not put multiple feature requests in one issue.
  • [X] Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
  • [X] Do you agree to follow the rules in our Code of Conduct?

Is your proposal related to a problem?

Currently, the instance sidebar is made up of two distinct Site fields - description and sidebar:

The shorter description field is used by instance-searching websites such as https://join-lemmy.org. But, unlike the instance sidebar, the community sidebar is made up of only one field. It would be nice if communities also had a two-field system like instances do. That way, a community search UI could render a short description about each result in a similar way to https://join-lemmy.org.

Describe the solution you'd like.

Add separate description and sidebar fields to Community

Describe alternatives you've considered.

It's currently possible to just render the first few lines of the full sidebar text, but this doesn't always produce desirable results due to the way community moderators choose to format the sidebar. Having a separate description field for a more concise description would be preferable imo.

Additional context

No response

Sjmarf avatar Oct 04 '24 14:10 Sjmarf

Communities have name, title, and sidebar . Title seems to already fit this need.

dessalines avatar Oct 15 '24 20:10 dessalines

@dessalines

There are a lot of cases where the title of a community may not be enough to clearly communicate its purpose. Here's some examples from Reddit (which implements this feature) where the "description" field is used effectively:

image image image

In Reddit's community search UI, it displays the short description for each result along with the subreddit title.

Sjmarf avatar Oct 15 '24 21:10 Sjmarf

Gotcha, that makes sense then.

dessalines avatar Oct 15 '24 21:10 dessalines