Thanks for this @tomczoink. Great effort, it's a good bit of work you turned around quickly. I have commented inline in your code at points, but I have some additional feedback below:
- Why do you have two Git users i.e. @tomcamp333 and @tomczoink? It's a bit odd to see the commits with a mix of users.
- The screenshot of the dashboard has
[?] characters for the red line, is that a bug? Would have been nice to have that as an animated GIF as well :)
- This code in README is not valid (the plus symbols are invalid):
data = {"activeUsers" : + activeUsers,
"browserUsers": + browserUsers,
"iPhoneUsers" : + iPhoneUsers,
"androidUsers": + androidUsers
};
- Generally indentation in your code is a bit inconsistent. I am not sure if this is perhaps you are using tabs and the Github presentation is messing with that.
- There's no right answer, but I would have avoided having instantaneous data on the same channel as the log messages. The reason is that channels are (relatively) cheap, but allow data to be treated differently. For example, you could load the last 10 log messages from a dedicated channel easily and populate the log automatically when the console loads. However, but mixing stats data with log messages, that's not possible because it's impossible to know how many messages to retrieve to get the last 10 log messages.
Looking forward to hearing your thoughts on my comments.
Thanks for this @tomczoink. Great effort, it's a good bit of work you turned around quickly. I have commented inline in your code at points, but I have some additional feedback below:
[?]characters for the red line, is that a bug? Would have been nice to have that as an animated GIF as well :)Looking forward to hearing your thoughts on my comments.