Page MenuHomePhabricator

[ToC] table of contents on Talk pages
Closed, ResolvedPublic

Description

Description

We are moving the table of contents to the side of the article text, and making it sticky (i.e. it stays in place as your scroll down the page). Currently our plan is to only do this for pages in the main namespace. Assuming people frequently go from article pages talk pages, it might make sense to consider the transition between article and talk, in particular thinking about the visual balance/layout of the page as major elements shift around.

NOTE: this is a similar task as T294950, but it's about talk pages instead of edit mode

Questions to answer

Do we want to show the table of contents on Talk pages?

If yes:

  • what are the technical, design, and product considerations we need to think through?

If no:

  • what do we prefer?
    • that space is empty
      • re-center page
      • don't re-recenter page
    • that space is occupied by some other element
    • that space is used to display the page full-width

Reference images

optionGIFnotes
article > talk, with toc
article-to-talk-w-toc.gif (761×1 px, 200 KB)
article > talk, without toc
article-to-talk-no-toc.gif (761×1 px, 196 KB)
article > talk, without toc, wide screen
article-to-talk-no-toc-large-screen.gif (797×1 px, 250 KB)
I think it makes less of a difference at larger widths because the content is centered, so the gap left by the toc feels less noticeable

Event Timeline

this decision requires collaboration with @ppelberg, @iamjessklein and @KieranMcCann. We will be engaging them directly via meetings and will update this task with relevant notes.

ovasileva triaged this task as Medium priority.Nov 2 2021, 2:37 PM
alexhollender_WMF renamed this task from [ToC] table of contents on Talk pages and Edit mode to [ToC] table of contents on Talk pages.Nov 3 2021, 4:33 PM
alexhollender_WMF updated the task description. (Show Details)

Page Frame features@2x.png (2×3 px, 365 KB)

As we've been developing out the Talk Pages designs, here is what we are thinking for the second usability improvement release which is specifically dedicated to page frame features.

We have made a few tweaks to the design:

  • Title: changed to say "Discussions"
  • Metadata: the current design incorporates two items of metadata: number of people in the conversation and number of comments in the conversation.

@Esanders @ppelberg can you confirm that this is feasible and/or if you have any additional feedback on this iteration of the design?

Note that talk pages might contain other heading levels, or h2's without comments. We should consider how the "ToC" should look in theses cases.

We have made a few tweaks to the design:

  • Title: changed to say "Discussions"
  • Metadata: the current design incorporates two items of metadata: number of people in the conversation and number of comments in the conversation.

@Esanders @ppelberg can you confirm that this is feasible and/or if you have any additional feedback on this iteration of the design?

This looks good, @iamjessklein; no additional feedback from me at this time.

Based on the comment Ed shared in T294784#7775820, and the conversation we had as a team during today's 15 March standup, there seem to be two open questions we'll need to answer before moving forward with implementation:

  • 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?
NOTE: we will address the two questions above in T303634.

As we've been developing out the Talk Pages designs, here is what we are thinking for the second usability improvement release which is specifically dedicated to page frame features.

Also Jess, a quick clarification about the sequencing you mentioned above...

The Page Frame Features (T269963) will be the third Usability Improvement we make. First is Topic Containers (T269950) and second is Clear Affordances (T293522).