-
Notifications
You must be signed in to change notification settings - Fork 1
New Message Creation Poasting
Damon Getsman edited this page Mar 14, 2015
·
5 revisions
Methods and properties used in the creation and writing of new poasts, por dios.
This is going to be a bit rough, I'm currently creating this by ripping errata that is cluttering up dmbase.js. So don't expect it to be pretty right away.
-
sprompt- save message prompt text
-
dispNewMsgHdr()- self explanatory -
dispSaveMsgPrompt()- one again fairly self-evident -
addMsg()- primary method for text entry for a message into the active message base via ddoc interface; NOTE: This method is a bit of a monolith and should be broken up (see 2 below; has been) -
getTextBlob()- gets and returns the blob of text with maximum lines that the user adds; has the standard DOC interface save prompt -
getMsgBody()- handles saving the text returned fromgetTextBlob()when used in message base context; this maybe should be renamed -
mWrite()- writes the appropriate header and body data to the database y el fin; NOTE: This method has become a massive monolith and should be chopped into pieces mercilessly -
yell()- my first opportunity to work with the mail subsystem; took a little bit to get it figured out, but this is working now and will be an excellent prototype for the Mail> room/subsystem