사용자 목록이 일부만 표시되나요?

안녕하세요, 사용자 목록에 전체 사용자 중 아주 소수만 표시되고 있어요. 다른 사용자들은 어디에 있나요? 감사합니다.

https://mysite/u?cards=no&order=days_visited&period=all

2개의 좋아요

Looks like this can be repro’d here on meta with just the basic user list too https://meta.discourse.org/u

Seems to not be loading any extra pages when I hit the ‘bottom’. (iPhone/safari)

Let’s slip it over to bug for someone to have a look :eyes:

5개의 좋아요

Thanks for letting us know, I informed the team and prioritized! We will get this sorted in the upcoming weeks.

1개의 좋아요

I can reproduce this here on Meta, but weirdly not in my local setup. Error is here in the users controller:

It’s like it’s being called too early in some cases, will investigate.

1개의 좋아요

Still not really reproducing locally, but this PR should help with it, I will get @kelv to review because he moved this to an observer initially:

https://github.com/discourse/discourse/pull/33122

2개의 좋아요

Just on the off-chance you’ve not considered it, is this connected to having the User Card Directory theme component? I think that’s a thing meta and the OP have in common that you may not have on your test site?

3개의 좋아요

Thanks for that, I will give that a try. I did randomly get Meta not to error on this page today so I think there is some race condition, but yes could well be the component having an impact too.

3개의 좋아요

I sometimes had the impression it was related to the width. I had a repro where collapsing the sidebar fixed it. But I also had repros where, even though the sidebar was visible, loading more worked once or twice or didn’t break. Those happened with different timespans selected, which didn’t make sense to me. Why should it work once when I select “Month” but twice when I select “Quarter”? If you think it’s helpful, I can look for the screencasts I made last week.

1개의 좋아요

게시물이 새 주제로 분리되었습니다: 사용자 디렉터리에서 사용자 통계가 올바르지 않음

I can still reproduce the issue here on Meta.

2개의 좋아요

Hmm weird, thanks for digging into this a bit Moin, will try another fix, not sure why the LoadMore change didn’t solve it.

1개의 좋아요

방금 사용자 목록이 이제 내 환경에서는 정상적으로 작동하는 것 같다는 걸 알게 되었어요. :+1:

@patrickemin 님 것도 해결되었나요?

내일 전에 업데이트해서 알려드릴게요. 감사합니다.

1개의 좋아요

안녕하세요, 방금 Discourse를 업데이트했는데, 610명의 멤버 목록에서 약 40명만 표시됩니다.

1개의 좋아요

무한 스크롤이 모바일에서는 정상적으로 작동하지만, 데스크톱/Nest Hub 크기에서는 작동하지 않는다는 것을 확인했습니다.

확인해 본 결과, .load-more-sentinel div의 높이가 0이어서 IntersectionObserver가 트리거되지 않는 것 같습니다.

제가 적용한 매우 간단한 수정 방법은 센티널에 작은 높이(예: 1px)를 부여하는 것입니다.

.load-more-sentinel {
    height: 1px;
}

Meta에서도 이 방법으로 테스트해 보았으며, 문제가 해결되는 것으로 보입니다.

5개의 좋아요

감사합니다. 수정이 잘 작동하고 있어요. 정말 감사합니다!

이렇게 해결되어서 다행입니다. 기여해 주셔서 감사합니다 :slight_smile: 이 수정 사항을 병합하여 다른 Discourse 사용자들도 이 혜택을 누릴 수 있도록 했습니다. 이제 버그가 완전히 해결되었기를 바랍니다!

3개의 좋아요

저한테는 잘 작동합니다. 이전에 태블릿에서 매우 재현성 있게 재현할 수 있었습니다. :partying_face:

11번째 게시글을 새 주제로 분리해 주시겠어요? obviously, 해당 절차에 따라 진행하면 사용자 디렉터리에서 여전히 잘못된 숫자들이 보이므로 관련이 없습니다. 감사합니다

1개의 좋아요

천만에요. 제 github입니다. 앞으로 더 직접적으로 기여할 수 있길 바랍니다!

2개의 좋아요