This task is about introducing functionality for "expanding" and "collapsing" the topics on a talk page to help people more easily and quickly recognize talk pages as containing conversations and get a sense for the level of activity happening within these conversations.
In effect, this task will introduce a "Summary" view for talk pages on desktop.
Requirements
Meta
- These changes should be applied to desktop only as this functionality already exists on mobile.
- People should be able to decide for themselves whether talk page conversations (read: sections) are in their "expanded" or "collapsed" state by default. This preference should apply to all pages where discussions are happening.
- #TODO: determine what heuristic determines "...all pages wheres discussions are happening."
- By default, when people arrive on a talk page, the conversations/topics should be shown in their "collapsed" state
Collapsed state
When a conversation is in its collapsed state, people should be able to:
- See the title container (read: the title of the topic, the time when the last comment was posted, the total number of comments posted in the topic, the total number of unique people who have posted a comment in the topic)
- Elect to be notified when new comments are posted to the topic
- Copy the URL of the topic
- Change to/open the topic's "Expanded state" (see below).
Expanded state
When a conversations is in its expanded state, people should be able to see and do everything offered in the "Collapsed state" with the addition of being able to:
- See all of the content/comments contained with the given topic, as well as the affordances for responding to specific comments
- Change to/open the topic's "Collapsed state" (see above).
Open questions
- Is it necessary to introduce a way for people to change the state of all topics on a given talk page from their "collapsed" and "expanded" state and vice versa?
References
- @Esanders wrote a proof of concept implementation for section collapsing on talk pages on desktop in https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/647717/6
- @Klein raised this idea on mediawiki.org here
- @MichaelMaggs raised this on en.wiki here
- User:Lollipoplollipoplollipop raised this on mediawiki.org here
- @Beland raised this on mediawiki.org here.