discourse/app/assets/stylesheets/desktop
Martin Brennan 66179c60cd
FEATURE: Always show All, Topics, and Replies subtabs for unified new (#35292)
Currently, if a user is part of a group in
`experimental_new_new_view_groups`,
they will see tabs for All, Topics, and Replies underneath the New tab
in the
/new  topic list.

However, if one of the tabs has no topics (i.e. no more unread replies
or no more new topics), we hide the tabs entirely. This can be confusing
and inconsistent for members.

This commit changes the behavior so that the tabs are always shown.
Also, we change the text and route of the empty topic list CTA based on
the subtab
the user is on:

* Topics subtab, when there are new Replies:
  * Button text: Browse new replies
  * Button points to the Replies subtab
* Replies subtab, when there are new Topics:
  * Button text: Browse new topics
  * Button points to Topics subtab
* All subtab, or any subtab when there are no new topics of any kind:
  * Button text: Browse latest topics
  * Button points to /latest
2025-10-15 09:47:23 +10:00
..
components UX: Fix more-topics tabs interaction with --space (#34047) 2025-08-08 00:06:30 +02:00
_index.scss REFACTOR: merge mobile and desktop login CSS into common (#34793) 2025-10-06 13:14:38 -04:00
category-list.scss DEV: Compile 'common' CSS into own assets (#31416) 2025-05-01 10:44:49 +01:00
latest-topic-list.scss UX: Content border color (#33908) 2025-07-28 16:17:06 -05:00
topic-list.scss FEATURE: Always show All, Topics, and Replies subtabs for unified new (#35292) 2025-10-15 09:47:23 +10:00
topic-post.scss UX: Post action button simplifications (#34141) 2025-08-13 13:25:15 -05:00
topic.scss DEV: merge mobile topic.scss styles into common directory (#31712) 2025-03-10 11:31:15 -04:00