Closed kav2k closed 11 years ago
Full current message class list, from my code:
// Notices
"N":{"S":"Hot Topic", "P":"Hot Topics", "pref":"followNotices", "UP":"hottopics", "A": "HT"},
"CA":{"S":"Contest Announcement", "P":"Contest Announcements", "pref":"followContest", "UP":"contests", "A": "CA"},
"B":{"S":"Bulletin", "P":"Bulletins", "pref":"followBulletins", "UP":"bulletins", "A": "B"},
// deviantWATCH
"D":{"S":"Deviation", "P":"Deviations", "pref":"followDeviations", "UP":"deviations", "A": "D"},
"WC":{"S":"Watched Critique", "P":"Watched Critiques", "pref":"followCritiques", "UP":"critiques", "A" : "WC"},
"J":{"S":"Journal", "P":"Journals", "pref":"followJournals", "UP":"journals", "A" : "J"},
"F":{"S":"Forum", "P":"Forums", "pref":"followForums", "UP":"forums", "A" : "F"},
"P":{"S":"Poll", "P":"Polls", "pref":"followPolls", "UP":"polls", "A" : "P"},
"WA":{"S":"Activity", "P":"Activies", "pref":"followActivities", "UP":"activities", "A" : "WA"},
// Feedback
"CN":{"S":"Critique Notice", "P":"Critique Notices", "pref":"followCritNotices", "UP":"critiquesreceived", "A" : "CN"},
"C":{"S":"Comment", "P":"Comments", "pref":"followComments", "UP":"comments", "feed":true, "A" : "C"},
"R":{"S":"Reply", "P":"Replies", "pref":"followReplies", "UP":"replies", "A" : "R"},
"A":{"S":"Activity Message", "P":"Activity Messages", "pref":"followActivity", "UP":"activity", "feed":true, "A": "A"},
"S":{"S":"Support Ticket", "P":"Support Tickets", "pref":"followTickets", "UP":"support", "A": "S"},
// Correspondence
"CO":{"S":"Correspondence Item", "P":"Correspondence Items", "pref":"followCorrespondence", "UP":"correspondence", "A": "CO"},
// Notes
"UN":{"S":"Note", "P":"Notes", "pref":"followNotes", "UP":"notes", "A": "N"}
And queries:
switch(type){
case "C" : return ",oq:fb_comments:" + start + ":" + max + ":f&";
case "R" : return ",oq:fb_replies:" + start + ":" + max + ":f&";
case "UN": return ",oq:notes_unread:" + start + ":" + max + ":f&";
case "N" : return ",oq:notices:" + start + ":" + max + ":f&";
case "CA": return ",oq:contests:" + start + ":" + max + ":f&";
case "A" : return ",oq:fb_activity:" + start + ":" + max + ":f&";
case "CN": return ",oq:fb_critiques:" + start + ":" + max + ":f&";
case "CO": return ",oq:correspondence:" + start + ":" + max + ":f&";
case "D" : return ",oq:devwatch:" + start + ":" + max + ":f:tg=deviations&";
case "J" : return ",oq:devwatch:" + start + ":" + max + ":f:tg=journals&";
case "WC": return ",oq:devwatch:" + start + ":" + max + ":f:tg=critiques&";
case "P" : return ",oq:devwatch:" + start + ":" + max + ":f:tg=polls&";
case "B" : return ",oq:bulletins:" + start + ":" + max + ":f&";
case "S" : return ",oq:zendesk:" + start + ":" + max + ":f&";
case "F" : return ",oq:devwatch:" + start + ":" + max + ":f:tg=forums&";
case "WA" : return ",oq:devwatch:" + start + ":" + max + ":f:tg=activities&";
}
P.S. I dropped admin messages since I couldn't get a confirmation on how they are used.
Thanks! I'll add the new ones in the next version ;)
As far as I can tell, the only one missing from deviantAnywhere is WA (Watched activities?). Can you please give me an example that will fall under this category ?
Unfortunately, my only message of this type expired. But I can describe it - a notification about a username change for a watched deviant.
Also, more types are missing from FF version.
http://www.deviantart.com/messages/#view=activities
The correct name for it is Activity::Activities
Yeah... The Firefox version is lagging far behind ... After version 1.3 for Chrome, I'll start bringing the FF add-on to the same level.
Thank you for clarifications ;)
One more thing: the abbreviation (WA), did you made it up or you've picked it up from the deviantArt's top bar ?
I have a feeling that deviantAnywhere picked it up with the old code and it classified it as an Activity Message (A).
I have to find someone that want to change it's username and follow him, just to test this out.
I invented it myself, actually. I didn't know you took those abbreviations from the toolbar. Anyway, they are pretty recent. They were introduced when name changes became available - a little over a year I guess.
Both versions have some message classes missing.