I’m seeing at least a few of my users’ cards appearing more than once… eg “andy1” and “blane” among others on this page:
update: Something funny is going on. I saw it in cognito on Chrome, but I don’t see the dupes logged in when using Safari. This is going to be hard to track down…
Hi Craig - thanks for the report. Looks like this is a problem with Discourse core - it happens even with the user cards component disabled.
The root of the problem is that all your users currently have ‘0’ values for the metrics, and our sorting was inconsistent. I’ve opened a PR to fix the issue, and will get it deployed to your site once it’s merged. Technical details are in the PR if you’re interested
“Followers” isn’t a concept that exists in Discourse core, so I guess you must be using Follow Plugin 👨. This is something that will need to be fixed in that plugin.
I could be wrong but believe the repetition of this card breaks its own Plugin Outlets, rendering them useless, but worse, they act unpredictably (or predictably bad?) if you have a dependent Theme Component or Plugin installed. I think it is essentially spamming the template with multiple, identically named plugin outlets?
I don’t think multiple copies of the same plugin outlet should necessarily be an issue. For example, there are plugin outlets on every single row of a topic list, and things work fine there.
I’m not entirely sure what this code is trying to achieve… but it looks like it’s looking up .card-content .metadata, and then appending itself? to every matching element
If you use a standard ember computed property, I think things will work much better.