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.
- Loading branch information
Haruko Schmidt
committed
Jun 10, 2024
1 parent
855f468
commit 5737031
Showing
19 changed files
with
106 additions
and
52 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
Squello-Core.package/SPBLandingPage.class/class/RecentGitHubBoards..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 @@ | ||
accessing | ||
RecentGitHubBoards: anArray | ||
"an array of dictionarys, every dictionary has name, url, reponame of the githubboard that it repesents" | ||
|
||
^ RecentGitHubBoards := anArray. | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
Squello-Core.package/SPBLandingPage.class/class/RecentGitHubBoards.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,5 @@ | ||
accessing | ||
RecentGitHubBoards | ||
|
||
RecentGitHubBoards ifNil: [RecentGitHubBoards := Array new.]. | ||
^ RecentGitHubBoards |
6 changes: 6 additions & 0 deletions
6
Squello-Core.package/SPBLandingPage.class/class/RecentLocalBoards..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,6 @@ | ||
accessing | ||
RecentLocalBoards: anOrderedCollection | ||
|
||
^ RecentLocalBoards := anOrderedCollection. | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
Squello-Core.package/SPBLandingPage.class/class/RecentLocalBoards.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,5 @@ | ||
accessing | ||
RecentLocalBoards | ||
|
||
RecentLocalBoards ifNil: [RecentLocalBoards := OrderedCollection new. RecentLocalBoards addFirst: 'test']. | ||
^ RecentLocalBoards |
4 changes: 0 additions & 4 deletions
4
Squello-Core.package/SPBLandingPage.class/instance/RecentLocalBoards..st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
Squello-Core.package/SPBLandingPage.class/instance/RecentLocalBoards.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
3 changes: 0 additions & 3 deletions
3
Squello-Core.package/SPBLandingPage.class/instance/buildRecentGitHubBoardsButtonSpecWith..st
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...age/SPBLandingPage.class/instance/buildRecentGitHubBoardsButtonSpecWith.withBoardInfo..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,3 @@ | ||
currently not in use | ||
buildRecentGitHubBoardsButtonSpecWith: aBuilder withBoardInfo: aDictionary | ||
|
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 |
---|---|---|
|
@@ -3,13 +3,14 @@ buildRecentGitHubBoardsSpecWith: aBuilder | |
|
||
| spec | | ||
self usedBuilder: aBuilder. | ||
spec := aBuilder pluggableWindowSpec new | ||
spec := aBuilder pluggablePanelSpec new | ||
model: self; | ||
label: 'Recent Local Boards'; | ||
layout: #horizontal:; | ||
"label: 'Recent Local Boards';" | ||
|
||
"frame: ([email protected] corner: 1@1);" | ||
children: | ||
{self RecentGitHubBoards: [:each | self buildRecentGitHubBoardsButtonSpecWith: aBuilder] | ||
}; | ||
{"self class RecentGitHubBoards: [:recentGitHubBoard | self buildRecentGitHubBoardsButtonSpecWith: aBuilder withBoardInfo: recentGitHubBoard] | ||
"}; | ||
layout: #horizontal; | ||
yourself. | ||
^ aBuilder build: spec. |
3 changes: 0 additions & 3 deletions
3
Squello-Core.package/SPBLandingPage.class/instance/buildRecentLocalBoardsButtonSpecWith..st
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...e.package/SPBLandingPage.class/instance/buildRecentLocalBoardsButtonSpecWith.withName..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 | ||
buildRecentLocalBoardsButtonSpecWith: aBuilder withName: aName | ||
|
||
|
||
^ aBuilder pluggableButtonSpec new | ||
model: self; | ||
label: aName; | ||
yourself. | ||
|
11 changes: 11 additions & 0 deletions
11
Squello-Core.package/SPBLandingPage.class/instance/buildRecentLocalBoardsChildren.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,11 @@ | ||
toolbuilder | ||
buildRecentLocalBoardsChildren | ||
|
||
|children| | ||
children := ( self class RecentLocalBoards: [:NameOfRecentLocalBoard | self buildRecentLocalBoardsButtonSpecWith: self usedBuilder withName: NameOfRecentLocalBoard] )asOrderedCollection | ||
|
||
"pluggableButtonSpec new | ||
model: self; | ||
label: | ||
yourself." | ||
|
22 changes: 10 additions & 12 deletions
22
Squello-Core.package/SPBLandingPage.class/instance/buildRecentLocalBoardsSpecWith..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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
toolbuilder | ||
buildRecentLocalBoardsSpecWith: aBuilder | ||
|
||
| spec | | ||
self usedBuilder: aBuilder. | ||
spec := aBuilder pluggableWindowSpec new | ||
model: self; | ||
label: 'Recent Local Boards'; | ||
layout: #horizontal:; | ||
"frame: ([email protected] corner: 1@1);" | ||
children: | ||
{self RecentLocalBoards: [:each | self buildRecentLocalBoardsButtonSpecWith: aBuilder] | ||
}; | ||
yourself. | ||
^ aBuilder build: spec. | ||
^ aBuilder pluggableScrollPaneSpec new | ||
frame: (0@0 corner: 0.2@1); | ||
name: #RecentLocalBoards; | ||
model: self; | ||
"scrollBarThickness: 20;" | ||
vScrollBarPolicy: #never; | ||
children: #buildRecentLocalBoardsChildren; | ||
layout: #horizontal; | ||
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
19 changes: 19 additions & 0 deletions
19
...llo-Core.package/SPBLandingPage.class/instance/forlaterbuildRecentLocalBoardsSpecWith..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,19 @@ | ||
currently not in use | ||
forlaterbuildRecentLocalBoardsSpecWith: aBuilder | ||
|
||
^ aBuilder pluggablePanelSpec new | ||
model: self; | ||
"label: 'Recent Local Boards';" | ||
|
||
"frame: ([email protected] corner: 1@1);" | ||
children: | ||
{"self class RecentLocalBoards: [:NameOfRecentLocalBoard | self buildRecentLocalBoardsButtonSpecWith: aBuilder withName: NameOfRecentLocalBoard] | ||
" | ||
self buildRecentLocalBoardsButtonSpecWith: aBuilder withName: 'hi'. | ||
self buildRecentLocalBoardsButtonSpecWith: aBuilder withName: 'test' | ||
|
||
}; | ||
layout: #horizontal; | ||
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
22 changes: 13 additions & 9 deletions
22
Squello-Core.package/SPBLandingPage.class/methodProperties.json
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 |
---|---|---|
@@ -1,29 +1,33 @@ | ||
{ | ||
"class" : { | ||
"RecentGitHubBoards" : "Haru 6/9/2024 13:47", | ||
"RecentGitHubBoards:" : "Haru 6/9/2024 14:11", | ||
"RecentLocalBoards" : "Haru 6/9/2024 20:21", | ||
"RecentLocalBoards:" : "Haru 6/9/2024 13:42", | ||
"numberOfRecentGitHubBoards" : "Haru 6/8/2024 12:38", | ||
"numberOfRecentLocalBoards" : "Haru 6/8/2024 12:37", | ||
"open" : "Haru 6/1/2024 12:28" }, | ||
"instance" : { | ||
"RecentLocalBoards" : "Haru 6/8/2024 12:56", | ||
"RecentLocalBoards:" : "Haru 6/8/2024 12:56", | ||
"buildAthentificationSpecWith:" : "Haru 6/7/2024 12:15", | ||
"buildManageLocalBoardsSpecWith:" : "Haru 6/7/2024 12:15", | ||
"buildNewLocalBoardSpecWith:" : "Haru 6/7/2024 12:14", | ||
"buildOpenBoardSpecWith:" : "Haru 6/7/2024 12:14", | ||
"buildRecentBoardsSpecWith:" : "Haru 6/8/2024 13:39", | ||
"buildRecentGitHubBoardsButtonSpecWith:" : "Haru 6/8/2024 13:42", | ||
"buildRecentGitHubBoardsSpecWith:" : "Haru 6/8/2024 13:42", | ||
"buildRecentLocalBoardsButtonSpecWith:" : "Haru 6/7/2024 15:50", | ||
"buildRecentLocalBoardsSpecWith:" : "Haru 6/8/2024 12:53", | ||
"buildRecentBoardsSpecWith:" : "Haru 6/9/2024 19:55", | ||
"buildRecentGitHubBoardsButtonSpecWith:withBoardInfo:" : "Haru 6/9/2024 13:57", | ||
"buildRecentGitHubBoardsSpecWith:" : "Haru 6/9/2024 19:55", | ||
"buildRecentLocalBoardsButtonSpecWith:withName:" : "Haru 6/9/2024 20:21", | ||
"buildRecentLocalBoardsChildren" : "Haru 6/9/2024 20:18", | ||
"buildRecentLocalBoardsSpecWith:" : "Haru 6/9/2024 20:28", | ||
"buildResetUserAccountSpecWith:" : "Haru 6/7/2024 12:15", | ||
"buildSidebarSpecWith:" : "Haru 6/8/2024 13:37", | ||
"buildWith:" : "Haru 6/7/2024 15:07", | ||
"buildWith:" : "Haru 6/10/2024 11:02", | ||
"changeRecentGitHubBoards:" : "Haru 6/8/2024 12:46", | ||
"changeRecentLocalBoards:" : "Haru 6/8/2024 12:40", | ||
"forlaterbuildRecentLocalBoardsSpecWith:" : "Haru 6/9/2024 20:09", | ||
"initialize" : "Haru 6/7/2024 11:58", | ||
"lastSidebarPart" : "Haru 6/7/2024 11:57", | ||
"lastSidebarPart:" : "Haru 6/7/2024 11:57", | ||
"list" : "Haru 6/7/2024 11:55", | ||
"list" : "Haru 6/9/2024 14:12", | ||
"open" : "Haru 6/1/2024 12:22", | ||
"usedBuilder" : "Haru 6/1/2024 12:39", | ||
"usedBuilder:" : "Haru 6/1/2024 12:40" } } |
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