The curious case of the missing colour squares in Discourse's user activity

AI-generated summary

A discussion was initiated by ondrej regarding the missing color squares in Discourse’s user activity. JammyDodger also noticed the issue on published pages and provided a screenshot. The problem was later fixed by martin through a pull request, although it was noted that a perfect fix would be complicated due to the page’s limitations. martin also mentioned another fix was implemented through pull request 24261.

I was just looking though @JammyDodger 's posts fishing for an previous reply and I noticed that unlike in topics (2) in your activity (1) the square defining the category colour is missing.

1


2

image

(Funky topic title courtesy of Discourse AI :crazy_face:)

6 Likes

I think I spotted a missing one on published pages too:

3 Likes

I believe the ones on the activity page are now fixed :partying_face:

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

1 Like

I just merged a fix for this:

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

It’s not perfect, but it would be quite complicated to get the icons and colours working on this standalone page because it doesn’t have access to icons or category or tag data. At the least, it’s not completely broken like it was before.

3 Likes

I had one more fix for this here this week:

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

2 Likes