push
github
1000 of 2102 new or added lines in 33 files covered. (47.57%)
28 existing lines in 2 files now uncovered.18579 of 25339 relevant lines covered (73.32%)
0.73 hits per line
| 1 |
Class {
|
|
| 2 |
#name : #GLHSpUserCapsule, |
|
| 3 |
#superclass : #SpPresenterWithModel, |
|
| 4 |
#instVars : [
|
|
| 5 |
'userName' |
|
| 6 |
], |
|
| 7 |
#category : #'GitLabHealth-Model-Visualization' |
|
| 8 |
} |
|
| 9 |
|
|
| 10 |
{ #category : #layout }
|
|
|
NEW
|
GLHSpUserCapsule >> defaultLayout [ |
× |
|
NEW
|
|
× |
|
NEW
|
^ SpBoxLayout newLeftToRight |
× |
|
NEW
|
add: userName; |
× |
|
NEW
|
yourself |
× |
|
NEW
|
] |
× |
| 17 |
|
|
| 18 |
{ #category : #initialization }
|
|
|
NEW
|
GLHSpUserCapsule >> initializePresenters [ |
× |
|
NEW
|
|
× |
|
NEW
|
super initializePresenters. |
× |
|
NEW
|
userName := self newLabel. |
× |
|
NEW
|
] |
× |
| 24 |
|
|
| 25 |
{ #category : #initialization }
|
|
|
NEW
|
GLHSpUserCapsule >> modelChanged [ |
× |
|
NEW
|
|
× |
|
NEW
|
self model ifNotNil: [ userName label: self model name ] |
× |
|
NEW
|
] |
× |