Category backgrounds in topics?
-
So...the category background appears to be there for the category page (e.g., The Lounge), but not in topics?
I've been mostly away for a few days, but the last update appears to have been nearly 10 days ago and I don't remember them going away then.
-
WOMM<qwertyuiop
-
We've talked about this before.
It's mainly on mobile as far as I remember.
This is mine:
https://what.thedailywtf.com/t/lounge-background-in-threads-on-mobile/48700
-
Interesting, possibly found a repro.
If I go to a Lounge topic from the "all categories" Latest list, the background shows up.
If I go to the Lounge topic list, with the Lounge background showing, and view the same topic, the background is gone once the topic loads. Switching to another Lounge topic from the suggested list from there, the background shows back up.
What it appears is, for whatever reason, going from the category topic list to a topic loses the category class on the <body> tag, but from anywhere else adds or keeps it.
-
What it appears is, for whatever reason, going from the category topic list to a topic loses the category class on the <body> tag, but from anywhere else adds or keeps it.
Only Discourse could have this many race conditions in a single-threaded program.
-
If I go to the Lounge topic list, with the Lounge background showing, and view the same topic, the background is gone once the topic loads.
Ah, yep, that's it.