lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

show number of posts in community search results

Open naught101 opened this issue 6 months ago • 4 comments

Requirements

  • [x] This is a feature request and not a bug report. Otherwise, please create a new bug report instead.
  • [x] Please check to see if this request (or a similar one) already exists.
  • [x] It's a single feature. Please don't request multiple features in one issue.

Describe the feature you'd like

In the search results when searching for communities, the community name is shown, the instance, and the number of users. It would be excellent if it also showed the number of posts.

It would be fine if that was an approximate number. It could also be useful to show the number of posts in the last week.

naught101 avatar May 08 '25 00:05 naught101

This isn't available in the back end, and unfortunately it'd be a significant performance cost for postgres, so we probably won't add it.

dessalines avatar May 08 '25 15:05 dessalines

This is available in community aggregates already, which is even part of the API response. It just needs to be displayed in Lemmy-UI. Another useful metric to display might be MAU.

Nothing4You avatar May 08 '25 16:05 Nothing4You

Oh, for some reason I thought they were asking about the total number of search results, IE a paging thing.

dessalines avatar May 08 '25 16:05 dessalines

@Nothing4You oh yeah, MAU would be super useful. Both together would be a really good indication of how alive a community is

naught101 avatar May 09 '25 22:05 naught101