Topic cards must be clicked on the title to navigate into the topic for New & Unread Topics or user activity topics

Priority/Severity:Medium

Platform: Any platform with Horizon theme

Description: On some pages including New & Unread Topics or user activity topics, topic navigation fails when clicking on blank areas of topic cards. Users must click on the title to view topics.

Reproducible steps:

  1. Open Welcome to our demo! - discourse - Discourse Demo and click on the blank areas of any topic below New & Unread Topics.
  2. Open Profile - samsaffron - Discourse Demo and click on the blank areas of the first topic.
  3. Go to the home page of https://try.discourse.org/ and click on the blank areas of some topic.

In 1 & 2, navigation does not happen unless the title text is clicked. In 3, clicking on anywhere within the topic card navigates to the topic.

Analysis:

In discourse/themes/horizon/javascripts/discourse/initializers/topic-list-columns.gjs at main · discourse/discourse · GitHub , some currentRouteNames are not included in the check and correctly handled, including topic.fromParams, topic.fromParamsNear and userActivity.topics. I’m not quite sure if they should be part of isHighContextRoute.