-
Notifications
You must be signed in to change notification settings - Fork 0
/
chat.txt
32 lines (27 loc) · 1.29 KB
/
chat.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
1. When a user expresses interest in a worker and worker accepts this, allow chat initiation (both can start it?)
2. Assign the users an unused chat room number, if a live chat (?)
3. Chat is realtime, but will also save messages. It would have to, just in case both are not on at the same time (db entries for messages?)
4. Standard IM features. Sending messages, receiving, display username beside message
5. Show whether the other user is typing or not.
6. Display chat window in a separate webpage or a popup window?
7. Unassign the room number so the number can be reused (integer overflow is probably a thing, though probably won't be experienced in this demo)
Needs:
Live Chat - DONE
Route of access (Link to chat with relevant other user) - DONE
Room assignment - DONE
User is typing indication - DONE
Handle disconnection via x button - DONE
Persistent chat memory (db table) - DONE
CREATE TABLE message (
message_id SERIAL PRIMARY KEY,
room VARCHAR(40),
msg TEXT,
username VARCHAR(20),
time TIMESTAMP WITH TIME ZONE
);
Display chat memory on launch - DONE
Notification pushing to keep users up to date about new contact - DONE
Only push notification once to non sending user when that user is not online.
Style! - DONE
General appearance tweaks
Display chat partner in header