This is a straightforward chat application built using node.js. A chat room is admittedly a very common application for developers to build when learning a server-side language, but in addition to implementing the usual "main room" where users can chat publicly, I added private chat functionality. I also focused on the chat experience, implementing jQuery UI features, including sliding effects when opening private chat tabs, and glowing tabs when a new private chat is sent, in order to provide feedback to users when they successfully perform actions within the interface.
Below, Skye chats with everyone in the Main Room (the orange “Main Room” tab indicates who she’s talking to). She also carries on private conversations with Angie and Alice, and the alternating pink/red glow of Angie’s tab indicates that there’s an unread message from her. Skye can switch between conversations by clicking the tabs in the chat area, or by clicking a username in the list.
Skye wants to start a private chat with Jackie, so she clicks Jackie’s name in the "Users Present" list. Jackie’s name turns orange in the list, and an orange “Jackie” tab slides open below the message area. When Skye sends the message, a “Skye” tab opens on Jackie’s computer and displays the message, and Skye’s name turns orange in the user list.
After a bit of a struggle to get the application running on a server, I invited a few friends to chat. Most people are familiar with chat interfaces, and this chat application adheres quite closely to the standards that have arisen over time. A few minor issues surfaced:
Additionally, after reading Don Norman's The Design of Everyday Things, I realized that the "Users Present" list, and the mechanism to initiate private chat was poorly designed. As Norman notes, "Whenever you see hand-lettered signs pasted on doors, switches, or products, trying to explain how to work them, what to do and what not to do, you are also looking at poor design. (pg. 14)" Similarly, I shouldn't need to explain to users that they can click on names in the list to start a private chat, I should instead provide signifiers that tell the user "what actions are possible and how they should be done." Names in the list should be made to appear clickable—one way would be to style them as hyperlinks—so that the possible interaction with the interface is perceivable to the user.
View the Chat GitHub repo here.