chat
chat copied to clipboard
List of People Who are Online/Active
As a person using the "chat" app I would like to see who is available/online so that I can converse with that person.
Acceptance Criteria
- [ ] when a user registers into the chat
emit joined
their name back to the server - [ ] when the server receives the
joined
message (with the username):- [ ] add the user to the list of available people
- [ ] broadcast that list (or just the new joiner) to everyone who is connected
- [ ] display the name of the joiner in the UI
@finnhodgkin / @ZooeyMiller is this enough criteria to go on?
This seems to sum up the criteria fine. when you say:
display the name of the joiner in the UI
is this in the form of a separate notification (like a snackbar or something) or just adding them to say a sidebar list of 'online users'?
@ZooeyMiller really good questions.
As discussed this morning, your (and @finnhodgkin's) idea of including join
events into the timeline is a good option for simplifying the UI.
it can get very noisy in a channel with 100's of people when the transcript has more join
events than actual messages, but for now it's good. 👍
We can easily iterate on it based on UX-testing feedback. ♻️