Horizon: High Context Topic Cards

What’s new in Horizon?

We’re happy to announce the next iteration for the Horizon theme: high-context topic cards.

These cards surface key signals at a glance, pulling in data from familiar favourites:

We have also rearranged the layout, refined spacing and typography, and expanded the last-reply preview; aiming for a balanced experience.

Desktop

Mobile

One thing you might notice on mobile: the category and tag section can overflow and become horizontally scrollable.
#itsafeaturenotabug

How do I enable this?

The forum admin can find a new setting on the theme page. The default remains simple, but those who want to give it a whirl can switch.

Despite our in-house testing and our assumption that all should behave well, we are labelling it as experimental for the time being. It should work as expected, but we might iterate further on the design and work out some kinks.

What’s next?

We are planning to make the choice between the two modes available per user, rather than as a single global forum setting. That’s on the roadmap, just not quite ready yet.

We’re also looking into making the excerpts appear automatically.

For now, we invite you to try it out for a while, on your own forum or here on Meta.


  1. Enable with bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’ ↩︎

13 Likes

Can I as an admin enforce the option as well? Because tags are part of the forum experience and without it some users would miss out on extra context about topics. I really like the Horizon theme now with enriched topic details :tada:

The part about “Excerpts”, which can be enabled with: Enable with bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’ that doesn’t seem to work for me.

/var/www/discourse# bin/rails r ‘SiteSetting.always_include_topic_excerpts = true’                                                      
fatal: detected dubious ownership in repository at '/var/www/discourse'                                                                                                   
To add an exception for this directory, call:                                                                                                                             
                                                                                                                                                                          
        git config --global --add safe.directory /var/www/discourse                                                                                                       
/var/www/discourse/config/initializers/000-pg_connection_patch.rb:21:in `rescue in new_client': We could not find your database: discourse. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
                                                                                                                                                                          
To resolve this error:                                                                                                                                                    
                                                                                                                                                                          
- Did you not create the database, or did you delete it? To create the database, run:                                                                                                                                                                                                                                                               
                                                                                                                                                                          
    bin/rails db:create                                                                                                                                                   
                                                                                                                                                                          
- Has the database name changed? Verify that config/database.yml contains the correct database name.                                             

I don’t want to mess too much with this. I guess I’ll just leave it as is. But still leaving the error here in case my setup is broken or something in Discourse can be fixed.

1 Like