Duplicate related topics tab appears sometimes

I currently have no steps to reproduce it. But I noticed at least 3 times that the related topics tab was shown twice.


5 Likes

Yikes … @CvX any chance this is related to topic list refactoring?

Reproducing this kind of stuff is hard, but some things to try is navigating from 1 topic to another topic directly, cause in that case we do not tear down the entire control.

2 Likes

I don’t think it’s related to topic list modernization - the new path isn’t enabled on meta and most of the stuff that touches the old implementation hasn’t been merged yet.

It could be anything, any uncaught fatal js error can result in a double-render. But it’s likely anything that extends topic-more-content area, like d-ai’s component that is rendered in that outlet. Or a bug in more-topics component.

I don’t see anything immediately incorrect in either one, but there are some code smells so I’ll do a cleanup pass on them. Maybe something will come out. :bug:

2 Likes

I am not sure whether it helps, but I haven’t noticed it again. So all 3 times I noticed it happened while I was TL4 and category moderator. This could of course be because I have spent more time here, but my feeling is that it is more likely related to the extended permissions (review queue and unlisted topics come to my mind first)
Unfortunately, I only have a screenshot in one case that actually shows more than what I have posted here. There I can see that the Feature topic where the duplicated related tab showed was a spam topic, which I had probably just flagged. Additionally I can see one pending post to review in the sidebar, which has to be a different topic because I wasn’t a category moderator for Feature.

3 Likes