Page MenuHomePhabricator

Allow clicking with ghost + highlighted bar
Closed, ResolvedPublic

Description

Motivation
If users want to select a revision by clicking, the current UI forces them to click on the slider line. This may be quite slow, as the right spot to click has to be found first. Furthermore, when users search for a revision by passing over the bars and reading the tooltips, they sometimes drift away from the clickable area, which is annoying when you found your revision, want to click, and can't (anymore).

These issues would be solved, if the area above the slider (i.e. the bars) were clickable itself.

Task
Make the area above/below the slider line clickable, where it is clear what will happen. This means: Everything below the yellow slider is clickable for yellow, everything above the blue slider is clickable for the blue revision. All other areas are still not clickable.

To indicate the user what will be happening, highlight the half of the column where the pointer is situated in the color of the knob that would go there. Also, add a "ghost" knob to the slider, as shown in the mock:

Revslider_highlight_click_area.png (700×2 px, 173 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 371493 had a related patch set uploaded (by WMDE-Fisch; owner: WMDE-Fisch):
[mediawiki/extensions/RevisionSlider@master] Reintroduce hover and bar clicking

https://gerrit.wikimedia.org/r/371493

Change 371493 merged by jenkins-bot:
[mediawiki/extensions/RevisionSlider@master] Reintroduce hover and bar clicking

https://gerrit.wikimedia.org/r/371493

@Lea_WMDE @Bmueller @JStrodt_WMDE

So I finished this patch on the Wikimaina, and @Andrew-WMDE just reviewed and merged it ^^'.

I can show it to @Jan_Dittrich for approval here. But are we then free to let it be deployed automatically next week? Or should we have a announcement somewhere?

Change 373063 had a related patch set uploaded (by WMDE-Fisch; owner: Addshore):
[mediawiki/extensions/RevisionSlider@master] Reintroduce improved hover and bar clicking

https://gerrit.wikimedia.org/r/373063

Change 373063 merged by jenkins-bot:
[mediawiki/extensions/RevisionSlider@master] Reintroduce improved hover and bar clicking

https://gerrit.wikimedia.org/r/373063