Page MenuHomePhabricator

[2 HOUR SPIKE] Investigate previewing talk page topics in a side panel within article context
Closed, ResolvedPublic

Description

Background
We learned from user testing, as well as research performed by the Editing team that it would be helpful for users to see talk page content in context of an article.

Visual

Custom experience 3.png (1×720 px, 246 KB)

The Task

  • Investigate if it would be possible from an architectural standpoint for a user to click any of the talk page entry points and a side panel appears similar to TOC but with Talk page topics that a user can click and read.
  • However if a user wants to add, edit or contribute to a talk page they will need to review talk pages in a separate view (as it is currently):
    • If users tap a topic, they get to the talk page subject (as it is now)
    • The view should also contain a link to create a new topic on the talk page (which takes users to the existing new topic view.

Draft Mockup

  • @schoenbaechler please add Mockup inspiration here

Event Timeline

JTannerWMF renamed this task from [SPIKE] Investigate previewing talk page topics in a side panel within article context to [2 HOUR SPIKE] Investigate previewing talk page topics in a side panel within article context .Dec 13 2021, 5:38 PM
JTannerWMF updated the task description. (Show Details)

We can include part of the layout of the activity_talk_topics.xml in ToCHandler which is the class of handing table of content and handling the logic in the handler, and to reuse the code of loading topics, we will need to separate out the logic of loading topic to one utility class or make the function public.

For supporting gestures to swipe to enter the talk page screen, I am not seeing an easy way to implement it, but I'll keep my eyes on it.

Thanks @cooltey

For supporting gestures to swipe to enter the talk page screen, I am not seeing an easy way to implement it, but I'll keep my eyes on it.

I think it’d also be tricky since the table of contents is currently occupying the swipe left gesture. So we’d need to think about a way to handle it or prioritize either one or the other.

Re: accessing topics, I think it’d be great if the individual topics in the side panel work as links, e.g. when you’d tap Physical characteristics in the screenshot, it’d take you directly to this specific subject/conversation. As Jazmin mentioned in the meeting yesterday, we won’t need any actions related to creating/replying in the side panel, it should serve as a quick way to have a glimpse at the discussions without loosing reading context.

@JTannerWMF: Would it be helpful if I’d create a “proper” design for this? I could add it to my list of things to do this week (after doing the sort/filter designs).

Thanks for thinking this out, I'll leave the question of if a design is necessary to @cooltey to understand if it would help him think through this a bit more.

I would prioritize a design for this under sort/search and Edit history

Thanks @JTannerWMF

@schoenbaechler It would be helpful if we can have a specific button that can open the side panel manually. (instead of relying on swipe-to-left gesture.)

I think it would be great if we integrate this feature with the entry bubble icon here: T297630

@cooltey

It would be helpful if we can have a specific button that can open the side panel manually. (instead of relying on swipe-to-left gesture.)

Sure will put it on the list after sort/search and edit history, per Jazmin’s earlier comment.

I think it would be great if we integrate this feature with the entry bubble icon here: T297630

Yes, the button next to the article title is the trigger, as well as the one in the overflow menu (or toolbar) and the entry point in the footer. The gesture would have been an optional addition (but is not needed at the moment).

Sounds good to me! @schoenbaechler. The investigation is done, move to Ready for PM signoff.

Thanks so much for looking into this @cooltey once @schoenbaechler has some designs we will move the implementation task to Ready for dev