From b94ef5a1f0b5ae39ccaf91568ea8d17b00e934cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Prei=C3=9Fner?= Date: Thu, 13 Jun 2024 14:51:43 +0200 Subject: [PATCH] tom hat uns geholfen --- ...uildDeleteAllLocalBoardsButtonSpecWith..st | 9 +++++++++ ...LocalBoardButtonSpecWith.withBoardName..st | 8 ++++++++ .../buildLocalBoardCommonActionChildren.st | 4 ++++ .../buildLocalBoardCommonActionsSpecWith..st | 10 ++++++++++ ...ldLocalBoardNameSpecWith.withBoardName..st | 8 ++++++++ .../buildLocalBoardPanelSpecWith.withName..st | 15 ++++++++++++++ .../instance/buildLocalBoardsListChildren.st | 6 ++++++ .../instance/buildLocalBoardsListSpecWith..st | 10 ++++++++++ .../buildManageLocalBoardPanelSpecWith..st | 8 ++++++++ .../buildNewLocalBoardButtonSpecWith..st | 10 ++++++++++ ...LocalBoardButtonSpecWith.withBoardName..st | 8 ++++++++ ...LocalBoardButtonSpecWith.withBoardName..st | 8 ++++++++ .../instance/deleteAllLocal.st | 4 ++++ .../instance/manageLocalBoardsPanel.st | 2 +- .../instance/openNewLocalBoard.st | 4 ++++ .../methodProperties.json | 20 ++++++++++++++++--- 16 files changed, 130 insertions(+), 4 deletions(-) create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildDeleteAllLocalBoardsButtonSpecWith..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildDeleteLocalBoardButtonSpecWith.withBoardName..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionChildren.st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionsSpecWith..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardNameSpecWith.withBoardName..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardPanelSpecWith.withName..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListChildren.st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListSpecWith..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildManageLocalBoardPanelSpecWith..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildNewLocalBoardButtonSpecWith..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildOpenLocalBoardButtonSpecWith.withBoardName..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/buildRenameLocalBoardButtonSpecWith.withBoardName..st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/deleteAllLocal.st create mode 100644 Squello-Core.package/SPBLandingPage.class/instance/openNewLocalBoard.st diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildDeleteAllLocalBoardsButtonSpecWith..st b/Squello-Core.package/SPBLandingPage.class/instance/buildDeleteAllLocalBoardsButtonSpecWith..st new file mode 100644 index 00000000..2ee392fe --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildDeleteAllLocalBoardsButtonSpecWith..st @@ -0,0 +1,9 @@ +toolbuilder-manage panel +buildDeleteAllLocalBoardsButtonSpecWith: aBuilder + + ^ aBuilder build: (aBuilder pluggableButtonSpec new + model: self; + action: #deleteAllLocal; + label: 'Delete All'; + yourself). + diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildDeleteLocalBoardButtonSpecWith.withBoardName..st b/Squello-Core.package/SPBLandingPage.class/instance/buildDeleteLocalBoardButtonSpecWith.withBoardName..st new file mode 100644 index 00000000..7c196c5a --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildDeleteLocalBoardButtonSpecWith.withBoardName..st @@ -0,0 +1,8 @@ +toolbuilder-manage panel +buildDeleteLocalBoardButtonSpecWith: aBuilder withBoardName: aString + + ^ "aBuilder build:" (aBuilder pluggableButtonSpec new + model: self; + label: 'Delete'; + yourself). + \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionChildren.st b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionChildren.st new file mode 100644 index 00000000..880906c0 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionChildren.st @@ -0,0 +1,4 @@ +toolbuilder-manage panel +buildLocalBoardCommonActionChildren + + ^ {self buildDeleteAllLocalBoardsButtonSpecWith: self usedBuilder. self buildNewLocalBoardButtonSpecWith: self usedBuilder} asOrderedCollection. \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionsSpecWith..st b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionsSpecWith..st new file mode 100644 index 00000000..ac11bcaa --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionsSpecWith..st @@ -0,0 +1,10 @@ +toolbuilder-manage panel +buildLocalBoardCommonActionsSpecWith: aBuilder + + ^ aBuilder pluggablePanelSpec new + model: self; + children: #buildLocalBoardCommonActionChildren; + layout: #horizontal; + verticalResizing: #shrinkWrap; + yourself. + \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardNameSpecWith.withBoardName..st b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardNameSpecWith.withBoardName..st new file mode 100644 index 00000000..15b86a58 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardNameSpecWith.withBoardName..st @@ -0,0 +1,8 @@ +toolbuilder-manage panel +buildLocalBoardNameSpecWith: aBuilder withBoardName: aString + + ^ "aBuilder build:" (aBuilder pluggableTextSpec new + model: self; + setText: aString; + yourself). + \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardPanelSpecWith.withName..st b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardPanelSpecWith.withName..st new file mode 100644 index 00000000..55b7d768 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardPanelSpecWith.withName..st @@ -0,0 +1,15 @@ +toolbuilder-manage panel +buildLocalBoardPanelSpecWith: aBuilder withName: aName + + ^ "aBuilder build:" (aBuilder pluggablePanelSpec new + model: self; + layout: #horizontal; + minimumHeight: 50px; + children: { + self buildLocalBoardNameSpecWith: aBuilder withBoardName: aName. + self buildOpenLocalBoardButtonSpecWith: aBuilder withBoardName: aName. + self buildRenameLocalBoardButtonSpecWith: aBuilder withBoardName: aName. + self buildDeleteLocalBoardButtonSpecWith: aBuilder withBoardName: aName. + }; + yourself). + \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListChildren.st b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListChildren.st new file mode 100644 index 00000000..015023d8 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListChildren.st @@ -0,0 +1,6 @@ +toolbuilder-manage panel +buildLocalBoardsListChildren + + ^ ( SPBBoardSaver defaultSaver boards keys collect: + [:aString | self buildLocalBoardPanelSpecWith: self usedBuilder withName: aString] ) asOrderedCollection. + \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListSpecWith..st b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListSpecWith..st new file mode 100644 index 00000000..e832c176 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListSpecWith..st @@ -0,0 +1,10 @@ +toolbuilder-manage panel +buildLocalBoardsListSpecWith: aBuilder + + ^ aBuilder pluggableScrollPaneSpec new + model: self; + vScrollBarPolicy: #always; + children: "#buildLocalBoardsListChildren;"(self buildLocalBoardsListChildren); + layout: #horizontal; + yourself. + \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildManageLocalBoardPanelSpecWith..st b/Squello-Core.package/SPBLandingPage.class/instance/buildManageLocalBoardPanelSpecWith..st new file mode 100644 index 00000000..57b4d8e0 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildManageLocalBoardPanelSpecWith..st @@ -0,0 +1,8 @@ +toolbuilder-manage panel +buildManageLocalBoardPanelSpecWith: aBuilder +"We just reuse this from the SquotBrowser, idk if this is good" + + ^ SquotGUIUtilities buildVerticalLayout: { + self buildLocalBoardsListSpecWith: aBuilder. + self buildLocalBoardCommonActionsSpecWith: aBuilder. + } with: aBuilder \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildNewLocalBoardButtonSpecWith..st b/Squello-Core.package/SPBLandingPage.class/instance/buildNewLocalBoardButtonSpecWith..st new file mode 100644 index 00000000..d9f05e61 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildNewLocalBoardButtonSpecWith..st @@ -0,0 +1,10 @@ +toolbuilder-manage panel +buildNewLocalBoardButtonSpecWith: aBuilder + + ^ aBuilder build: (aBuilder pluggableButtonSpec new + model: self; + verticalResizing: #shrinkWrap; + action: #openNewLocalBoard; + label: 'New Local'; + yourself). + diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildOpenLocalBoardButtonSpecWith.withBoardName..st b/Squello-Core.package/SPBLandingPage.class/instance/buildOpenLocalBoardButtonSpecWith.withBoardName..st new file mode 100644 index 00000000..ff21be1a --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildOpenLocalBoardButtonSpecWith.withBoardName..st @@ -0,0 +1,8 @@ +toolbuilder-manage panel +buildOpenLocalBoardButtonSpecWith: aBuilder withBoardName: aString + + ^ "aBuilder build:" (aBuilder pluggableButtonSpec new + model: self; + label: 'Open'; + yourself). + \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/buildRenameLocalBoardButtonSpecWith.withBoardName..st b/Squello-Core.package/SPBLandingPage.class/instance/buildRenameLocalBoardButtonSpecWith.withBoardName..st new file mode 100644 index 00000000..94af8e6d --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/buildRenameLocalBoardButtonSpecWith.withBoardName..st @@ -0,0 +1,8 @@ +toolbuilder-manage panel +buildRenameLocalBoardButtonSpecWith: aBuilder withBoardName: aString + + ^ "aBuilder build:" (aBuilder pluggableButtonSpec new + model: self; + label: 'Rename'; + yourself). + \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/deleteAllLocal.st b/Squello-Core.package/SPBLandingPage.class/instance/deleteAllLocal.st new file mode 100644 index 00000000..1f38ba93 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/deleteAllLocal.st @@ -0,0 +1,4 @@ +actions +deleteAllLocal + + Transcript showln: 'delete all'. \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/manageLocalBoardsPanel.st b/Squello-Core.package/SPBLandingPage.class/instance/manageLocalBoardsPanel.st index bfe92da6..0d28927e 100644 --- a/Squello-Core.package/SPBLandingPage.class/instance/manageLocalBoardsPanel.st +++ b/Squello-Core.package/SPBLandingPage.class/instance/manageLocalBoardsPanel.st @@ -1,4 +1,4 @@ content-panels manageLocalBoardsPanel - ^ {'Manage Local Boards'. {}}. \ No newline at end of file + ^ {'Manage Local Boards'. {#buildManageLocalBoardPanelSpecWith:}}. \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/instance/openNewLocalBoard.st b/Squello-Core.package/SPBLandingPage.class/instance/openNewLocalBoard.st new file mode 100644 index 00000000..1aaa1ca9 --- /dev/null +++ b/Squello-Core.package/SPBLandingPage.class/instance/openNewLocalBoard.st @@ -0,0 +1,4 @@ +actions +openNewLocalBoard + + Transcript showln: 'dbhajdk'. \ No newline at end of file diff --git a/Squello-Core.package/SPBLandingPage.class/methodProperties.json b/Squello-Core.package/SPBLandingPage.class/methodProperties.json index 1e768902..de8b1d7e 100644 --- a/Squello-Core.package/SPBLandingPage.class/methodProperties.json +++ b/Squello-Core.package/SPBLandingPage.class/methodProperties.json @@ -11,30 +11,44 @@ "open" : "Haru 6/1/2024 12:28" }, "instance" : { "buildAuthButtonSpecWith:" : "FP 6/13/2024 11:03", - "buildContentPanelSpecWith:" : "FP 6/11/2024 11:54", - "buildMainLayoutPanelSpecWith:" : "FP 6/11/2024 11:53", + "buildContentPanelSpecWith:" : "FP 6/13/2024 13:46", + "buildDeleteAllLocalBoardsButtonSpecWith:" : "FP 6/13/2024 13:49", + "buildDeleteLocalBoardButtonSpecWith:withBoardName:" : "FP 6/13/2024 14:33", + "buildLocalBoardCommonActionChildren" : "FP 6/13/2024 11:37", + "buildLocalBoardCommonActionsSpecWith:" : "FP 6/13/2024 13:45", + "buildLocalBoardNameSpecWith:withBoardName:" : "FP 6/13/2024 14:32", + "buildLocalBoardPanelSpecWith:withName:" : "FP 6/13/2024 14:28", + "buildLocalBoardsListChildren" : "FP 6/13/2024 11:43", + "buildLocalBoardsListSpecWith:" : "FP 6/13/2024 14:41", + "buildMainLayoutPanelSpecWith:" : "FP 6/13/2024 13:43", + "buildManageLocalBoardPanelSpecWith:" : "FP 6/13/2024 14:21", + "buildNewLocalBoardButtonSpecWith:" : "FP 6/13/2024 12:12", "buildOpenButtonSpecWith:" : "FP 6/13/2024 11:06", + "buildOpenLocalBoardButtonSpecWith:withBoardName:" : "FP 6/13/2024 14:33", "buildRecentGitHubBoardsButtonSpecWith:withBoardInfo:" : "FP 6/10/2024 16:27", "buildRecentGitHubBoardsChildren" : "FP 6/13/2024 10:57", "buildRecentGitHubBoardsSpecWith:" : "FP 6/10/2024 15:55", "buildRecentLocalBoardsButtonSpecWith:withName:" : "FP 6/13/2024 10:56", "buildRecentLocalBoardsChildren" : "FP 6/13/2024 10:56", "buildRecentLocalBoardsSpecWith:" : "FP 6/10/2024 14:20", + "buildRenameLocalBoardButtonSpecWith:withBoardName:" : "FP 6/13/2024 14:33", "buildSidebarSpecWith:" : "FP 6/10/2024 14:36", "buildWith:" : "FP 6/11/2024 13:43", "contentPanelChildren" : "FP 6/11/2024 12:13", "contentPanels" : "FP 6/13/2024 11:19", "contentSpecDict" : "FP 6/11/2024 12:29", + "deleteAllLocal" : "FP 6/13/2024 11:35", "initialize" : "Haru 6/7/2024 11:58", "lastSidebarPart" : "Haru 6/7/2024 11:57", "lastSidebarPart:" : "FP 6/11/2024 12:05", "list" : "FP 6/11/2024 12:23", "loginLogoutPanel" : "FP 6/13/2024 11:03", - "manageLocalBoardsPanel" : "FP 6/11/2024 12:25", + "manageLocalBoardsPanel" : "FP 6/13/2024 14:00", "open" : "Haru 6/1/2024 12:22", "openAuthPanel" : "FP 6/13/2024 11:02", "openBoard" : "FP 6/13/2024 11:06", "openBoardPanel" : "FP 6/13/2024 11:07", + "openNewLocalBoard" : "FP 6/13/2024 11:34", "recentBoardsPanel" : "FP 6/11/2024 12:24", "usedBuilder" : "Haru 6/1/2024 12:39", "usedBuilder:" : "Haru 6/1/2024 12:40" } }