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](/uploads/e23a275b64207299b78717030bb8cf28/image.png) ![image](/uploads/24a9ae22bc8f9fa2b258d999efe86a06/image.png) ### 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
issue