This task involves the work with adapting the evolved version of the table of contents that the Web Team is working on (T249579) to help:
- Junior Contributors recognize talk pages as places to communicate with other volunteers by reinforcing the notion that talk pages contain discussions
- Senior Contributors discover discussion to join, navigate to a discussion they participated in previously, and/or get a general sense for the issues people are discussing related to "this" topic [i]
=== Stories
- As a Junior Contributor who is new to viewing and using talk pages on the desktop site, I want to be able to intuitively recognize these pages as containing discussions between volunteers, so that I consider using them to meet my own volunteering needs (e.g. asking for input about a potential change, seeking help from another volunteer about the steps required to make a change I have in mind, etc.)
- As a Senior Contributor who is viewing a talk page with many discussions, I want to be able to quickly see the range of topics being discussed on a given page and the level of activity within each, so that I can decide where to participate/focus my attention
=== Ideas
//This section contains the kinds of customizations the Editing Team is considering making to fulfill the `===Stories` above...//
- Changing the "title" that appears within the ToC from `Contents` //to// `Discussions`, `Topics`, or something like it
- Adding metadata, like the number of people participating in the discussion and the number of comments that have posted in the discussion, to each of the topics/discussions that appear within the ToC
=== Requirements
**User Experience**
1) Each `==H2==` present on a page where the discussion-page-specific version of the new ToC is enabled should be presented within said ToC accompanied by the following pieces of information:
-- A) The number of unique people who have published a comment in the `==H2==`
-- B) The number of distinct comments that have been published within the `==H2==`
- The information named in 1A) and 1B) needs to match the information presented within the Topic Container that will be shown for each corresponding `==H2==` shown in the ToC
**Meta**
- The logic that determines the pages on which the discussion-page-specific version of the new ToC this ticket is describing will be defined in T303493 and its sub-tickets.
- The information named in 1A) and 1B) needs to be updated each time people post a new comment or new topic using the Reply or New Topic Tools.
=== Mockups
//The design shown below will be finalized in T299814.//
{F35005807}
=== Open questions
- [ ] 1. How should sections/discussions that do NOT contain comments appear within the "new" ToC?
- [ ] 2. How should sections/discussions that contain sub-sections appear within the "new" ToC?
---
i. //This language was inspired by the comment @Sdkb shared in T299246#7709966.//