Skip to content
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

Ongoing problem - not all local communities appearing in post creation drop down box. #756

Closed
Kap2022 opened this issue Aug 19, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@Kap2022
Copy link

Kap2022 commented Aug 19, 2022

#633

This problem continues to cause me a lot of grief.

I thought when I reported it last time - you asked me to produce some sort of log file and told me how to produce it limiting it to a recent period so the file was not huge.

I cannot find that instruction again, so I was wondering if you could tell me how to do it.

I have some time this weekend and would really like to get you some very specific examples to look at.

I cannot reproduce the problem every time, but there are certain cases where I can reproduce it 10% to 20% of the time.

Thanks for your help

@Kap2022 Kap2022 added the bug Something isn't working label Aug 19, 2022
@dessalines
Copy link
Member

Its probably because of the result limit: the search isn't specific enough and your community is pages back.

@Kap2022
Copy link
Author

Kap2022 commented Aug 19, 2022

I type in the exact name of the community.

@Kap2022
Copy link
Author

Kap2022 commented Aug 20, 2022

United Kingdom - list of communities
United Kingdom Drop Down

Here is a screenshot list of communities showing there is a United Kingdom community.

There is also a screenshot of me trying to crosspost to the United Kingdom community and it does not appear in the drop down box.

It is not that it never appears - it only appears sometimes.

@Kap2022
Copy link
Author

Kap2022 commented Aug 25, 2022

Here are a few more examples I have collected over the past few days. The communities exist. Sometimes they appear in the dropdown boxes, other times they do not.

Screenshot_20220825-093446

Screenshot_20220824-144622

Screenshot_20220824-144325

Screenshot_20220823-184830

Screenshot_20220823-093528

Screenshot_20220822-095012

Screenshot_20220824-144325

Screenshot_20220823-093508

@dessalines
Copy link
Member

I'm like 90% sure this is due to you hitting the search rate limit: https://github.com/LemmyNet/lemmy/blob/main/config/defaults.hjson#L39

We should probably increase that default because its wayy too low.

@Kap2022
Copy link
Author

Kap2022 commented Aug 30, 2022

If you increase the default search rate limit with the next upgrade, I will let you know if it fixes the issue.

Thanks for your help on this.

@Nutomic
Copy link
Member

Nutomic commented Aug 30, 2022

Im also noticing similar problems on lemmy.ml, for example !trans@lemmygrad.ml doesnt seem to show up in community selection at all. Same problem in the "block community" section under /settings. In case of some communities, the problem can be fixed by typing one letter more, or deleting one letter, but not always. Really doubt that this is related to the rate limit, because then there wouldnt be anything shown in the dropdown.

@dessalines
Copy link
Member

The community search seems to be searching the name, title, or description, which is probably fine. The issue there is probably just the smaller # of search results returned.

The search rate limit is also an issue tho, even with a debounce, you're likely to hit 6 searches very quickly.

@Nutomic
Copy link
Member

Nutomic commented Sep 3, 2022

I think it should prioritize the name (and maybe title) over everything else. If i search for trans, a community with that exact name should always be shown first.

@Kap2022
Copy link
Author

Kap2022 commented Sep 3, 2022

Users see the "Display Name" most frequently and will probably use that to search.

The Display Name can be very (or just a little) different from the "Name"

An example of a small difference is I made a typo on the "Name" for a community. I was able to edit the Display Name but not the Name - so there will always be a difference.

Bigger differences could be due the limitations placed on a Name versus a Display Name or a community evolves over time, so the Display Name is refined to more accurately reflect what is happening in the community.

I very much appreciate the time you are putting into sorting out this problem for me.

@dessalines
Copy link
Member

Unfortunately I can't prioritize fields and sort them in that way, I either search for name and title, or don't search for one of them.

I think I will remove the description search, that should help limit the results from getting too many hits. And I'll also increase the number of results returned in the UI.

@Kap2022
Copy link
Author

Kap2022 commented Sep 16, 2022

This problem is resolved with the upgrade to 16.7

Thanks for fixing it for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants