Update the "View Options" menu for recent filetree changes
Summary: Ref T13516. Minor improvements here: - Show key commands in the "View Options" dropdown. - Organize it slightly better. - Improve disabled item behaviors a little bit. - Add a "Browse Directory" action. - Rename "...in Diffusion" to "...in Repository". - Make "d", "D", and "h" use the same targeting rules as "\". - When you hide a file with the "h" menu item, select it. Test Plan: Poked at the menu a lot, ran into less questionable behavior. Maniphest Tasks: T13516 Differential Revision: https://secure.phabricator.com/D21160
This commit is contained in:
@@ -34,6 +34,8 @@ JX.install('DiffChangeset', {
|
||||
|
||||
this._editorURI = data.editorURI;
|
||||
this._editorConfigureURI = data.editorConfigureURI;
|
||||
this._showPathURI = data.showPathURI;
|
||||
this._showDirectoryURI = data.showDirectoryURI;
|
||||
|
||||
this._pathIconIcon = data.pathIconIcon;
|
||||
this._pathIconColor = data.pathIconColor;
|
||||
@@ -76,6 +78,9 @@ JX.install('DiffChangeset', {
|
||||
|
||||
_editorURI: null,
|
||||
_editorConfigureURI: null,
|
||||
_showPathURI: null,
|
||||
_showDirectoryURI: null,
|
||||
|
||||
_pathView: null,
|
||||
|
||||
_pathIconIcon: null,
|
||||
@@ -92,6 +97,14 @@ JX.install('DiffChangeset', {
|
||||
return this._editorConfigureURI;
|
||||
},
|
||||
|
||||
getShowPathURI: function() {
|
||||
return this._showPathURI;
|
||||
},
|
||||
|
||||
getShowDirectoryURI: function() {
|
||||
return this._showDirectoryURI;
|
||||
},
|
||||
|
||||
getLeftChangesetID: function() {
|
||||
return this._leftID;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user