generated from hpi-swa-teaching/SWT-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added chaning content panel for landing page
- Loading branch information
Showing
10 changed files
with
36 additions
and
53 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
Squello-Core.package/SPBLandingPage.class/instance/buildContentPanelSpecWith..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
toolbuilder | ||
buildContentPanelSpecWith: aBuilder | ||
|
||
self usedBuilder: aBuilder. | ||
^ aBuilder pluggablePanelSpec new | ||
model: self; | ||
layout: #vertical; | ||
children: #contentPanelChildren; | ||
yourself. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
Squello-Core.package/SPBLandingPage.class/instance/buildRecentBoardsSpecWith..st
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
Squello-Core.package/SPBLandingPage.class/instance/contentPanelChildren.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
toolbuilder | ||
contentPanelChildren | ||
|
||
self lastSidebarPart ifNil: [^ {}]. | ||
(self contentSpecDict includesKey: self lastSidebarPart) ifTrue: | ||
[^ (self contentSpecDict at: self lastSidebarPart) collect: [:each| each buildWith: self usedBuilder]]. | ||
^ {}. |
7 changes: 7 additions & 0 deletions
7
Squello-Core.package/SPBLandingPage.class/instance/contentSpecDict.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
toolbuilder | ||
contentSpecDict | ||
|
||
^ {'Recent Boards' -> { | ||
self buildRecentLocalBoardsSpecWith: self usedBuilder. | ||
self buildRecentGitHubBoardsSpecWith: self usedBuilder.}. | ||
} asDictionary. |
19 changes: 0 additions & 19 deletions
19
...llo-Core.package/SPBLandingPage.class/instance/forlaterbuildRecentLocalBoardsSpecWith..st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
Squello-Tests.package/SPBMockGithubBoardProvider.class/instance/queryBoardName.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
as yet unclassified | ||
queryBoardName | ||
|
||
^ 'TestBoard'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters