Page MenuHomePhabricator

Improve the location/discoverability of the revision link in the in-line diff container
Open, Needs TriagePublic

Description

When an in-line diff is open, the 'header' for each column is a link to the applicable revision. This can result in accidental clicks.

Screen Shot 2018-05-10 at 3.21.00 PM.png (611×1 px, 123 KB)


Proposed solution
  • Remove the link functionality from the headers.
  • Add an explicitly labeled link to the revision somewhere else in the diff container

Event Timeline

Vvjjkkii renamed this task from Improve the location/discoverability of the revision link in the in-line diff container to 85caaaaaaa.Jul 1 2018, 1:10 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 85caaaaaaa to Improve the location/discoverability of the revision link in the in-line diff container.Jul 2 2018, 4:19 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

As I mentioned here, I don't think this change is necessary. It only makes sense if there is more than one link that needs to be displayed, but since there is only a single link I'm not not sure why we'd make this change. To me it's really clear that it's a link by it's hover state and cursor change.

In my beginning work on this, I found the original link target very confusing and did accidentally click on it a few times. So, my experience was the opposite of yours.

Maybe @Prtksxna has some thoughts about it?

I can see how in its current form the target can be confusing. I see two main reasons for this:

  1. The hover state only changes the background color and the change isn't drastic so is easily missable.
  2. Since the button for the diff (the area we clicked to open the diff) and the revision target are touching each other its not clear if they're connected or separated. I clicked on it a bunch of times accidentally thinking that it'd close the diff.

Screenshot 2019-08-19 at 12.47.39 PM.png (344×1 px, 65 KB)

I don't want to suggest a solution right now though. Can we revisit this once the initial design changes are done? For the time being we can keep the behavior as it. Would that be ok?

...just came across this - first thought was "Oh hey that's me" in the screenshot above. I agree that the link should be moved, but concur with T194439#5420829 that, if the design is being changes separately, it may be better to wait and revisit this task afterwards.

@Prtksxna

I don't want to suggest a solution right now though. Can we revisit this once the initial design changes are done? For the time being we can keep the behavior as it. Would that be ok?

Which initial design changes are you referring to? I seem to be missing something.

@Prtksxna
Which initial design changes are you referring to? I seem to be missing something.

https://phabricator.wikimedia.org/T188435#4015634

Aklapper added a subscriber: aezell.

Removing inactive assignee