Filter out core UiCommands from legacy PatchSet view
Don't send any core commands to the legacy patch set view. These are currently handled in a different API and UI display code, most of which I am trying to rewrite and delete. Assume for now that there will be no new interesting core commands while we switch the view. Change-Id: If129a413d673ac1eb20981f0e25a0c9382e71ff9
This commit is contained in:
		| @@ -173,10 +173,10 @@ class PatchSetDetailFactory extends Handler<PatchSetDetail> { | ||||
|       } | ||||
|     } | ||||
|  | ||||
|     detail.setCommands(UiCommands.sorted(UiCommands.from( | ||||
|     detail.setCommands(UiCommands.sorted(UiCommands.plugins(UiCommands.from( | ||||
|       revisions, | ||||
|       new RevisionResource(new ChangeResource(control), patchSet), | ||||
|       EnumSet.of(UiCommand.Place.PATCHSET_ACTION_PANEL)))); | ||||
|       EnumSet.of(UiCommand.Place.PATCHSET_ACTION_PANEL))))); | ||||
|     return detail; | ||||
|   } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Shawn Pearce
					Shawn Pearce