Selecting "View File" to view source under commits page cannot be edited

Issue #14094 open
Edwin Ho created an issue

When selecting "View File" from the commits, it will redirect to the source file however, the option was disabled due to the following message below.

Screen Shot 2017-04-06 at 2.51.03 PM.png

Screen Shot 2017-04-06 at 2.49.08 PM.png

Workaround: Manually view the file by reselecting the branch and commits SHA on the current source page.

Comments (4)

  1. Abhin Chhabra Account Deactivated

    I've read the support ticket content. I agree that there's a usability issue here. The UI is correct is stating that a file cannot be edited if it's not from the head of the branch. The dropdown that was used in the support ticket to go to the "latest commit" seems to be one source of the confusion: the dropdown shows all the commits where a change to that particular file was made, so choosing the first item in that list may not take you to the head of the branch.

    I think this is a usability issue because the the disabled edit button could have had an easy alternate action that would allow the user to edit the file in the head of the main branch.

  2. Log in to comment