Summary | Adds a sortable created date column to the topic list | |
Preview | https://discourse.theme-creator.io/theme/Alteras/created-topic-sort | |
Repository | GitHub - Alteras1/discourse-created-topic-sort: Discourse theme component adds topic sorting by created date | |
Install Guide | How to install a theme or theme component | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
This adds a sortable created date column to the topic list. Also adds an optional “Created” tab to the navigation bar.
On desktop view, a whole column is added. On mobile, the created date is only added inline with the activity date when the “Created” sort is selected (see screenshots below).
Before using this component, it may be good to evaluate your community’s need for knowing a created date. There’s already a built in way for auto flagging newly created topics within a certain time period (customizable by users in Preferences > Tracking > Topics).
Settings
Enable Sort by Created Date Nav Bar Item
Adds a “Sort by Created Date” nav bar item to the navigation menu. Default: true
Enable Column on Created Date Filter Only
Prevents the created date column from being displayed outside of the Create Date filter. Requires the “Enable Sort by Created Date Nav Bar Item” to be true. Default: false
Screenshots
Sorting
Mobile view
Compatibility & Notes
With mobile, the sort functionality is already heavily limited, so created date would only function as an informational. The additional field only appears if the created date is different from the bumped date.
Compatibility with the Topic List Thumbnails is limited. In list style, it will function normally. In blog style, the created date is pulled to the bottom right. In grid style and masonry style, the created date is only visible when the “Created” filter is selected, and will replace the activity date. In minimal style, the created date is hidden.