Page MenuHomePhabricator

Resolve the spacebar's conflicting meanings
Open, Needs TriagePublic

Description

This task is about identifying and implementing a way to help people avoid unintentionally unsubscribing from a topic they have just subscribed to.

via @Sunpriat: https://w.wiki/3HDj.

User story

As someone who prefers interacting with a talk page using their keyboard, I would like to be able to Subscribe/Unsubscribe from a talk page conversation and scroll the talk page itself using keys that feel familiar so that I can experience this new functionality without having to "trade off" my ability to navigate talk pages.

Behavior

  1. Visit a talk page on a wiki where manual topic subscriptions are enabled (e.g. https://patchdemo.wmflabs.org/wikis/77cda30f9d/wiki/Talk:Main_Page)
  2. Using the button on your keyboard, navigate to the Subscribe affordance
  3. Press spacebar
  4. Notice the Subscribe affordance has changed to an Unsubscribe affordance
  5. Press space to scroll the page

Current

  1. ❗️Notice you have been "unsubscribed" from the topic you had wanted to remain subscribed to

Desired

  1. ✅ TBD

Approaches

Considerations

Done

  • Desired behavior is defined
  • Desired behavior is implemented

Event Timeline

The linked to demo is using a old version of the patch. The latest one already addresses this: https://patchdemo.wmflabs.org/wikis/c647283588/wiki/Talk:Main_Page

Esanders renamed this task from Resolve the spacebar's conflicting meanings to Allow subscribe/unsubscribe links to be "clicked" with the spacebar.Jun 1 2021, 1:45 PM

The linked to demo is using a old version of the patch. The latest one already addresses this: https://patchdemo.wmflabs.org/wikis/c647283588/wiki/Talk:Main_Page

Understood.

I'm going to move this to Design Review for @iamjessklein to look at as part of the holistic review of the feature she will be doing.

matmarex subscribed.

The linked to demo is using a old version of the patch. The latest one already addresses this: https://patchdemo.wmflabs.org/wikis/c647283588/wiki/Talk:Main_Page

This is not actually resolved in the latest version, either. We only made the Space key (and the Enter key) activate the subscribe/unsubscribe buttons, which did not work in some earlier demos. But we did not implement the part where Space is only supposed to activate the button once, and then revert to scrolling the page.

I feel like that could be confusing, though. It makes sense if you're mostly using the mouse to interact and only scrolling with Space, but I think it would be unexpected if you're mostly using the keyboard to interact with the page.

Sunpriat brought up the watch star as an example that works like that, but it's actually a bit different – you can never activate it by pressing Space, only by pressing Enter. Perhaps that's what we should do for the subscribe/unsubscribe buttons, if we want to let the Space key scroll the page?

The linked to demo is using a old version of the patch. The latest one already addresses this: https://patchdemo.wmflabs.org/wikis/c647283588/wiki/Talk:Main_Page

This is not actually resolved in the latest version, either. We only made the Space key (and the Enter key) activate the subscribe/unsubscribe buttons, which did not work in some earlier demos. But we did not implement the part where Space is only supposed to activate the button once, and then revert to scrolling the page.

I feel like that could be confusing, though. It makes sense if you're mostly using the mouse to interact and only scrolling with Space, but I think it would be unexpected if you're mostly using the keyboard to interact with the page.

Sunpriat brought up the watch star as an example that works like that, but it's actually a bit different – you can never activate it by pressing Space, only by pressing Enter. Perhaps that's what we should do for the subscribe/unsubscribe buttons, if we want to let the Space key scroll the page?

I'm glad you teased out this nuance, @matmarex.

What you shared above leads me to think the optimal way of handling the interactions between the [ subscribe ] affordance, the spacebar, and scrolling the page is not yet clear. It also leads me to think that said "optimal" way will reveal itself once more people have had a chance to interact with the feautre.

As such, I'd like for us to revisit this task prior to offering topic subscriptions as an opt-out feature.

matmarex renamed this task from Allow subscribe/unsubscribe links to be "clicked" with the spacebar to Resolve the spacebar's conflicting meanings.Jun 7 2021, 6:18 PM