Missing code view toggle next to Blame
Summary
Missing button to switch to code view next to Blame in toolbar
Steps to reproduce
- Navigate to file
- Once loaded only Blame button appears
What is the current bug behavior?
Missing "Code" button
What is the expected correct behavior?
Should be able to switch from code to blame for code files(vice versa).
In the scenario of a csv or Markdown there is the possibility of the data getting rendered so that button is in the middle as "preview".
Possible fixes
Toggle should always be there for Code view.
There is already a button group for Markdown files that have the code toggle. The only difference for files without a custom preview is that it would have 2 buttons instead of 3.
Note: For now we are going to have the button group as a mix of icons and text but we will look to revisit this in [MVC] Directory and single file pages improvements (&9913) to make more room in the toolbar
Edited by Michael Le