Sticky category selection

AI-generated summary

erlend_sh proposes a feature to make the category selector maintain its current selection when navigating between different view modes (Latest, New, Unread, Top). Currently, the system behaves inconsistently: selecting a category from the dropdown always redirects the user to the “Latest” view of that category, regardless of whether the user was previously viewing “Top” or another mode. This occurs even if the site’s default landing page is set to “Top.” The author argues that view modes should act as persistent filters rather than resetting to “Latest” upon category changes. The suggested improvement is to decouple category and view selections, ensuring that switching categories preserves the current view mode (e.g., staying on “Top”) and vice versa, thereby providing a more consistent browsing experience across different site configurations.

Should the category-selector stick to its current category selection when you move between “Latest” “New”, “Unread” and “Top”? I maintain that this would make for a more consistent browsing experience.

How it currently works is:

One might say this makes sense when “Latest” is the default view, so the Category selector is essentially a “Jump to…” selector, not a filter for whichever view you’re on. But this behaviour is unique to Latest. Even if your landing page is set to Top, switching categories will bring you back to the Latest of whichever category you switch to, instead of switching you to the designated landing page of that category.

The example above looks as follows with Top as the default landing page:

This seems to be hardcoded:

https://meta.discourse.org/c/{category}/ == https://meta.discourse.org/c/{category}/l/latest

I’m suggesting Latest/New/Unread/Top should act as filters

More permanence in the top menu selection would ensure more consistent behaviour across different site settings. If I’m browsing a Top list, be it for the entire site or a specific category, let me continue to browse Top content until I explicitly select a different view, i.e. Latest, New or Unread.

In other words:

  • Switching view modes (Latest, Top, Unread, New) should not affect current category selection.
  • Switching categories (feature, dev, meta etc.) should not affect current view mode.

Related:

4 „Gefällt mir“