The discussion revolves around the Custom Topic Sort Order Button theme component, which adds a sorting button next to the ‘Create Topic’ button, enabling users to change topic list order, especially useful on mobile. The component, developed by Don, allows customization of sorting options via icons, labels, actions, and order. Users Moin and Lilly provided feedback, with Moin contributing additional sorting options like op_likes and posters, which were merged into the repo Don confirmed. Lilly noted the dropdown doesn’t close after selection, which is intentional, and the button appears on the categories page without functionality—this was addressed. eisammy reported a UI bug on mobile where the modal shifts upon selection, indicating a potential issue with DOM loading.
This theme component adds a new button next to the Create Topic button, allowing you to change the topic list order. One of the main goals was to make topic ordering easily accessible on mobile devices as well and themes where the topic list header section is hidden.
One thing I noted is that I sort of expect the drop down to disappear after I’ve clicked one of the selections. I have to click outside it after the view changes to make it go away. But maybe that is by design - I’m not sure lol.
I did not add these to the default configuration as I think these are less common. But when you add them, you can now also order by likes on the first post, number of posters, category ID, and by number of votes when the topic voting plugin is used.
I created an icon for likes on OP so you can distinguish between likes and likes on the first post even when labels are hidden on mobile.