Isn’t it always the way that simple appearing things are always more complicated? There were a lot of edge cases due to the topic title not always being visible, and it depending on a “loaded” state.
It took a while, but I think I managed to make our application a lot smarter about showing topic titles when navigating to them from topic lists.
https://github.com/discourse/discourse/commit/6f230945c2fe05036ee9d4d4e129bdb6105f64b4
and
https://github.com/discourse/discourse/commit/d1614220022311501e926632343f695e865d6ef2