diff --git a/Iceberg-TipUI/IceTipCommentPanel.class.st b/Iceberg-TipUI/IceTipCommentPanel.class.st index 49adb26e1c..359590df87 100644 --- a/Iceberg-TipUI/IceTipCommentPanel.class.st +++ b/Iceberg-TipUI/IceTipCommentPanel.class.st @@ -112,7 +112,7 @@ IceTipCommentPanel >> initializePresenters [ enabled: false ]. commentText := self newText - placeholder: 'A comment for your commit'; + text: 'Branch: ', repositoryModel branchName, ', Fix #' yourself. fixesHelpString := 'Enter the number of the issue that you fixed. Github will close it when it will be committed or merged in the default branch'. diff --git a/Iceberg-TipUI/IceTipDiffPanel.class.st b/Iceberg-TipUI/IceTipDiffPanel.class.st index 6230eb5f95..7eb01e09be 100644 --- a/Iceberg-TipUI/IceTipDiffPanel.class.st +++ b/Iceberg-TipUI/IceTipDiffPanel.class.st @@ -8,9 +8,8 @@ also #elements answer should be a collection of elements that also understand el " Class { #name : 'IceTipDiffPanel', - #superclass : 'IceTipPresenter', + #superclass : 'IceTipBrowser', #instVars : [ - 'model', 'diffPanel', 'iceNodesTree' ], @@ -19,6 +18,20 @@ Class { #tag : 'View-Branch' } +{ #category : 'commands' } +IceTipDiffPanel class >> buildGeneralCommandGroupWith: presenter for: aCommandGroup [ + + "Nothing to add" +] + +{ #category : 'commands' } +IceTipDiffPanel class >> buildSelectionCommandGroupWith: presenter for: aCommandGroup [ + { + IceTipBrowseCommand. + IceTipInspectCommand } do: [ :each | + aCommandGroup register: (each forSpecContext: presenter)] +] + { #category : 'instance creation' } IceTipDiffPanel class >> onDiff: aDiff [ @@ -204,6 +217,12 @@ IceTipDiffPanel >> leftLabel: aString [ diffPanel leftLabel: aString. ] +{ #category : 'accessing - ui' } +IceTipDiffPanel >> mainList [ + +^iceNodesTree +] + { #category : 'accessing' } IceTipDiffPanel >> model [