Growth/Focus on help desk/Live chat

rough notes on :

implementation

 * 1) custom content model extending JSON content model. This is done so we have a structured way of relating timestamps, username, message, message ID, and metadata (reactions, mentions, etc) for each chat message. This also means we can customize the UI for editing, diffing, etc.
 * 2) use a single page for chat logs, when someone posts a message we serialize the message and its metadata and add it as a new row.
 * 3) poll for updates via querying recent changes to see if there are any updates to the configuration-defined chat page. In the help panel, we keep track of which recent changes IDs we've seen, if there are new ones then we get the new content for the chat (all of it).
 * 4) hook into the help panel for the UI of the chat.

things we could add / improve

 * 1) performance: the polling method could be much improved (db queries, and data sent over the wire).
 * 2) engaging / fun: emoji in messages, emoji responses to messages / integrate Thanks on a per message basis?
 * 3) formatting: it's all plain text now, but probably implement some basic subset of wikitext/html for bold, italic and links
 * 4) mentions / notifications, possibly through Echo, possibly through some other mechanism: @ mention with (fast) username completion. what does @ mention do, though?
 * 5) human-to-human: see who's in the chat room ("who's online"), colorize usernames, show "so-and-so is typing"
 * 6) keep track of what you last read
 * 7) inline editing of your own messages; UX to show you when someone has edited their own message

questions / problems to solve

 * 1) help panel or not help panel: should the help panel be the main entry point for this chat? In some ways it makes sense, since we want the scope of the chat to be for help with editing, not talking about the weather. on the other hand, we're now cramming one more thing into a small window. perhaps there could be a tabbed interface for the help panel so links are in their own section, and search is in another, chat is in a third? or maybe chat should just be the only thing you see when you click the help panel button?
 * 2) how do non-newbies / mentors access the chat? doing so through the help panel is kind of awkward. it would be nice if there was a primary tool button and indicator for new messages, number of people with the chat window open, etc, and if that was accessible to newbies also
 * 3) plain wikitext or custom content model: maybe we don't need a custom content model?
 * 4) performance we need to auto-archive the configuration-defined chat page, max size is 2MB but we'd want it to be far less than that.
 * 5) moderation tools: we'd want to come up with a UI that makes sense for manually editing and diffing chat logs; maybe not for first cut but eventually it would be good to have.
 * 6) how to get people engaged with it when it's not open? we might need a different notifications tool other than Echo for @ mentions, or we need to modify Echo so it's real-time and can notify interested users about activity in the chat