Skip to content

Commit

Permalink
don't build notes in squello that were created on github
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Cram committed Aug 3, 2022
1 parent 3a7beea commit c45599d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
creation
fetchAndBuildSingleCard: aNumber

self boardProvider createSingleCard: aNumber into: self.
self boardProvider createSingleCard: aNumber into: self
self alignCards.
2 changes: 1 addition & 1 deletion Squello-Core.package/SPBColumn.class/methodProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"defaultWidth" : "LW 7/14/2022 11:18",
"deleteCard:" : "jh 7/9/2022 18:05",
"fetchAndBuildCards" : "mcr 8/3/2022 13:59",
"fetchAndBuildSingleCard:" : "mcr 8/3/2022 14:49",
"fetchAndBuildSingleCard:" : "mcr 8/3/2022 15:59",
"hash" : "LW 7/14/2022 11:12",
"hideIndicator" : "NTK 7/30/2022 12:15",
"id" : "tkv 5/21/2022 00:59",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ createSingleCard: aNumber into: anSPBColumn
| cardJson |
cardJson := self api querySingleCard: aNumber.

"at the moment we can just display issues and pull requests.
If a a note is added on github (than it has no content_url) it it won't be build"
(cardJson at: 'content_url') ifNil: [^ self].

^ SPBCard buildNewFromRemote: cardJson into: anSPBColumn.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"createCardsFromColumn:" : "mcr 8/3/2022 15:41",
"createColumn:" : "jh 7/31/2022 13:54",
"createNewCard:into:" : "mcr 8/3/2022 13:59",
"createSingleCard:into:" : "mcr 8/3/2022 14:54",
"createSingleCard:into:" : "mcr 8/3/2022 16:01",
"deleteAssignee:fromCard:" : "LW 7/30/2022 15:42",
"deleteLabel:fromCard:" : "lo 7/13/2022 19:44",
"getProjects:" : "jh 7/31/2022 14:13",
Expand Down

0 comments on commit c45599d

Please sign in to comment.