-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hinzufügen von TCCUserMessage und TCUUserMessage (#525)
* introduce TCCUserMessage and TCUUserMessage Co-authored-by: Jacob Schaefer <js.jacobschaefer@gmail.com> * fix lint Co-authored-by: Jacob Schaefer <js.jacobschaefer@gmail.com> * more precise class comments Co-authored-by: Jacob Schaefer <js.jacobschaefer@gmail.com>
- Loading branch information
1 parent
d956cc5
commit 6cb3c19
Showing
87 changed files
with
151 additions
and
111 deletions.
There are no files selected for viewing
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
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
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
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
39 changes: 10 additions & 29 deletions
39
packages/TelegramClient-Core.package/TCCMessage.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,32 +1,13 @@ | ||
{ | ||
"class" : { | ||
"maxReplySnippetSize" : "rgw 5/12/2022 16:05", | ||
"newFromMessageEvent:in:with:" : "rgw 6/2/2022 09:01", | ||
"newMessageWith:" : "pk 8/5/2021 16:53", | ||
"timeStampToDateAndTime:" : "JB 5/16/2021 09:42" }, | ||
"newMessageWith:" : "aka 7/14/2022 16:43" }, | ||
"instance" : { | ||
"asReplySnippet" : "rgw 5/12/2022 16:05", | ||
"asSnippet" : "tom.richter 6/28/2021 15:05", | ||
"asText" : "TR 6/20/2021 10:13", | ||
"chat" : "pk 5/7/2021 12:06", | ||
"chat:" : "pk 8/4/2021 11:40", | ||
"chatId" : "pk 8/5/2021 17:06", | ||
"core" : "pk 6/8/2021 09:24", | ||
"core:" : "pk 6/8/2021 09:25", | ||
"date" : "RK 5/7/2021 10:02", | ||
"date:" : "pk 8/4/2021 11:40", | ||
"id" : "js 8/1/2020 18:20", | ||
"id:" : "pk 8/4/2021 11:41", | ||
"isOutgoing" : "js 8/2/2020 22:00", | ||
"isOutgoing:" : "pk 8/4/2021 11:42", | ||
"isReply" : "rgw 5/12/2022 15:40", | ||
"replyText" : "LR 6/5/2022 11:12", | ||
"replyToMessageId" : "rgw 5/12/2022 13:43", | ||
"replyToMessageId:" : "rgw 5/12/2022 13:43", | ||
"senderName" : "JS 6/11/2022 09:50", | ||
"senderType" : "tom.richter 7/25/2021 10:42", | ||
"senderType:" : "pk 8/4/2021 11:42", | ||
"senderUser" : "JS 6/11/2022 09:49", | ||
"shouldNotify" : "per 6/16/2021 17:35", | ||
"userId" : "tom.richter 7/25/2021 11:17", | ||
"userId:" : "pk 8/4/2021 11:42" } } | ||
"chat" : "aka 7/14/2022 16:41", | ||
"chat:" : "aka 7/14/2022 16:41", | ||
"chatId" : "aka 7/14/2022 16:41", | ||
"core" : "aka 7/14/2022 16:41", | ||
"core:" : "aka 7/14/2022 16:41", | ||
"date" : "aka 7/14/2022 16:40", | ||
"date:" : "aka 7/14/2022 16:40", | ||
"id" : "aka 7/14/2022 16:40", | ||
"id:" : "aka 7/14/2022 16: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
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
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
1 change: 1 addition & 0 deletions
1
packages/TelegramClient-Core.package/TCCUserMessage.class/README.md
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 @@ | ||
super-dataclass for messages that can be created by users |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 22 additions & 0 deletions
22
packages/TelegramClient-Core.package/TCCUserMessage.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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"class" : { | ||
"maxReplySnippetSize" : "rgw 5/12/2022 16:05", | ||
"newFromMessageEvent:in:with:" : "rgw 6/2/2022 09:01", | ||
"timeStampToDateAndTime:" : "JB 5/16/2021 09:42" }, | ||
"instance" : { | ||
"asReplySnippet" : "rgw 5/12/2022 16:05", | ||
"asSnippet" : "tom.richter 6/28/2021 15:05", | ||
"asText" : "TR 6/20/2021 10:13", | ||
"isOutgoing" : "js 8/2/2020 22:00", | ||
"isOutgoing:" : "pk 8/4/2021 11:42", | ||
"isReply" : "rgw 5/12/2022 15:40", | ||
"replyText" : "LR 6/5/2022 11:12", | ||
"replyToMessageId" : "rgw 5/12/2022 13:43", | ||
"replyToMessageId:" : "rgw 5/12/2022 13:43", | ||
"senderName" : "JS 6/11/2022 09:50", | ||
"senderType" : "tom.richter 7/25/2021 10:42", | ||
"senderType:" : "pk 8/4/2021 11:42", | ||
"senderUser" : "JS 6/11/2022 09:49", | ||
"shouldNotify" : "per 6/16/2021 17:35", | ||
"userId" : "tom.richter 7/25/2021 11:17", | ||
"userId:" : "pk 8/4/2021 11:42" } } |
17 changes: 17 additions & 0 deletions
17
packages/TelegramClient-Core.package/TCCUserMessage.class/properties.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"category" : "TelegramClient-Core", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "js 7/18/2022 07:50", | ||
"instvars" : [ | ||
"isOutgoing", | ||
"senderType", | ||
"userId", | ||
"replyToMessageId" ], | ||
"name" : "TCCUserMessage", | ||
"pools" : [ | ||
], | ||
"super" : "TCCMessage", | ||
"type" : "normal" } |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
class with basic building instructions for the different message types | ||
abstract class for all types of messages that can be shown in a chat |
3 changes: 1 addition & 2 deletions
3
packages/TelegramClient-UI.package/TCUMessage.class/instance/messageModel..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,5 +1,4 @@ | ||
accessing | ||
messageModel: aCoreMessage | ||
|
||
messageModel := aCoreMessage. | ||
messageModel when: #answeredMessageReceived send: #answeredMessageReceived to: self | ||
messageModel := aCoreMessage |
35 changes: 5 additions & 30 deletions
35
packages/TelegramClient-UI.package/TCUMessage.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,33 +1,8 @@ | ||
{ | ||
"class" : { | ||
"defaultBottomMargin" : "JB 5/30/2021 11:27", | ||
"defaultHeight" : "JB 5/29/2021 20:44", | ||
"defaultLayoutInset" : "LR 6/11/2022 11:40", | ||
"defaultMargins" : "JB 6/11/2021 18:36", | ||
"defaultPhotoSize" : "JS 6/11/2022 09:55", | ||
"defaultTextMorph" : "rgw 6/16/2022 15:47", | ||
"defaultWidth" : "r.s 7/31/2020 14:19", | ||
"newFrom:" : "tom.richter 6/28/2021 15:08" }, | ||
"defaultBottomMargin" : "aka 7/14/2022 16:20", | ||
"defaultMargins" : "aka 7/14/2022 16:20", | ||
"newFrom:" : "aka 7/14/2022 16:22" }, | ||
"instance" : { | ||
"addContent" : "TR 6/20/2021 11:12", | ||
"addDate" : "js 7/4/2022 15:24", | ||
"addReplySnippet" : "LR 6/15/2022 11:21", | ||
"addSender" : "js 7/4/2022 15:24", | ||
"addText" : "RK 6/23/2021 11:46", | ||
"answeredMessageReceived" : "rgw 6/2/2022 10:29", | ||
"date" : "TR 6/20/2021 10:59", | ||
"handlesMouseDown:" : "rgw 7/9/2022 10:06", | ||
"initialize" : "LR 6/11/2022 13:01", | ||
"initializeDefaults" : "JS 6/11/2022 11:00", | ||
"initializeSubmorphs" : "rgw 6/2/2022 10:26", | ||
"isOutgoing" : "TR 6/20/2021 11:37", | ||
"messageColor" : "JB 5/29/2021 21:06", | ||
"messageDateText" : "JB 5/17/2021 10:04", | ||
"messageModel" : "TR 6/20/2021 11:00", | ||
"messageModel:" : "JS 5/26/2022 16:40", | ||
"mouseDown:" : "rgw 7/9/2022 10:08", | ||
"secondaryColor" : "rgw 5/12/2022 15:54", | ||
"shrinkToContent" : "LR 6/11/2022 12:38", | ||
"text" : "RK 6/29/2021 11:18", | ||
"triggerRequestScroll" : "LR 6/5/2022 12:45", | ||
"updateReplySnippet" : "rgw 6/2/2022 10:29" } } | ||
"messageModel" : "aka 7/14/2022 17:22", | ||
"messageModel:" : "aka 7/14/2022 16:18" } } |
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
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
1 change: 1 addition & 0 deletions
1
packages/TelegramClient-UI.package/TCUUserMessage.class/README.md
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 @@ | ||
class with basic building instructions for the different message that are created by a user |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions
5
packages/TelegramClient-UI.package/TCUUserMessage.class/instance/messageModel..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 | ||
messageModel: aCoreMessage | ||
|
||
super messageModel: aCoreMessage. | ||
messageModel when: #answeredMessageReceived send: #answeredMessageReceived to: self |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
29 changes: 29 additions & 0 deletions
29
packages/TelegramClient-UI.package/TCUUserMessage.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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"class" : { | ||
"defaultHeight" : "JB 5/29/2021 20:44", | ||
"defaultLayoutInset" : "LR 6/11/2022 11:40", | ||
"defaultPhotoSize" : "JS 6/11/2022 09:55", | ||
"defaultTextMorph" : "rgw 6/16/2022 15:47", | ||
"defaultWidth" : "r.s 7/31/2020 14:19" }, | ||
"instance" : { | ||
"addContent" : "TR 6/20/2021 11:12", | ||
"addDate" : "js 7/4/2022 15:24", | ||
"addReplySnippet" : "LR 6/15/2022 11:21", | ||
"addSender" : "js 7/4/2022 15:24", | ||
"addText" : "RK 6/23/2021 11:46", | ||
"answeredMessageReceived" : "rgw 6/2/2022 10:29", | ||
"date" : "TR 6/20/2021 10:59", | ||
"handlesMouseDown:" : "rgw 7/9/2022 10:06", | ||
"initialize" : "LR 6/11/2022 13:01", | ||
"initializeDefaults" : "JS 6/11/2022 11:00", | ||
"initializeSubmorphs" : "rgw 6/2/2022 10:26", | ||
"isOutgoing" : "TR 6/20/2021 11:37", | ||
"messageColor" : "JB 5/29/2021 21:06", | ||
"messageDateText" : "JB 5/17/2021 10:04", | ||
"messageModel:" : "aka 7/14/2022 16:18", | ||
"mouseDown:" : "rgw 7/9/2022 10:08", | ||
"secondaryColor" : "rgw 5/12/2022 15:54", | ||
"shrinkToContent" : "LR 6/11/2022 12:38", | ||
"text" : "RK 6/29/2021 11:18", | ||
"triggerRequestScroll" : "LR 6/5/2022 12:45", | ||
"updateReplySnippet" : "rgw 6/2/2022 10:29" } } |
14 changes: 14 additions & 0 deletions
14
packages/TelegramClient-UI.package/TCUUserMessage.class/properties.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"category" : "TelegramClient-UI", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "js 7/18/2022 07:51", | ||
"instvars" : [ | ||
], | ||
"name" : "TCUUserMessage", | ||
"pools" : [ | ||
], | ||
"super" : "TCUMessage", | ||
"type" : "normal" } |
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
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
Oops, something went wrong.