[go: up one dir, main page]

Skip to content

Remove/Deactivate "Browse Files" history button for commits where the files didn't exist in earlier version

Problem to solve

When accessing a file's history, you can click "browse directory" to view it's earlier state. This works well until you go to a commit that doesn't contain that file. A 404 is thrown instead.

image

image

Further details

  • Users assume that GitLab is broken

Proposal

What does success look like, and how can we measure that?

Do something besides throw a 404. Some ideas:

  • Gray out the "browse directory" button, perhaps add a mouse-over that reads "This file did not exist in this commit".
  • Perhaps filter our those history entries from the list entirely?

Links / references